QT 6.30 migrations broke some things.
Opened this issue · 0 comments
See email from QT support regarding issue in file.
Also the error being caused.
/home/john/qtcam/src/audioinput.h:8: error: QtMultimedia/QAudioDeviceInfo: No such file or directory
In file included from ../qtcam/src/audioinput.cpp:47:
../qtcam/src/audioinput.h:8:10: fatal error: QtMultimedia/QAudioDeviceInfo: No such file or directory
8 | #include <QtMultimedia/QAudioDeviceInfo>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Qt Support
6:17 PM (3 hours ago)
to me
Hi
From what I can tell the uses for QAudioDeviceInfo were split up between QMediaDevices, QAudioDevice, QMediaFormat, and maybe some others.
There is a blog post detailing the overall changes to Qt Multimedia going into QT6 here:
https://www.qt.io/blog/qt-multimedia-in-qt-6
I would look through this post along with the Qt6 documentation for Qt Multimedia classes.
What is the update then ?
On Fri, Aug 5, 2022 at 12:25 PM Qt Support <support@qt.io [support@qt.io]>
wrote:Hi
Thank you for contacting Qt Account Support.
According to documentation, the QAudioDeviceInfo class was deprecated
going into Qt6.
You can see here https://doc.qt.io/qt-5/qaudiodeviceinfo.html
[https://doc.qt.io/qt-5/qaudiodeviceinfo.html] that the dropdown to the
left only has 5.15 LTS as an option, the absence of Qt6 versions means
it is no longer included.Regards,
KevinKevin Zhang
Software Engineer,
The Qt CompanyQt Support FAQs - https://wiki.qt.io/KnowledgeBase:SupportFAQ
[https://wiki.qt.io/KnowledgeBase:SupportFAQ]