Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QT 6.30 migrations broke some things. #46

Open
makingglitches opened this issue Aug 12, 2022 · 0 comments
Open

QT 6.30 migrations broke some things. #46

makingglitches opened this issue Aug 12, 2022 · 0 comments

Comments

@makingglitches
Copy link

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,
Kevin

Kevin Zhang
Software Engineer,
The Qt Company

Qt Support FAQs - https://wiki.qt.io/KnowledgeBase:SupportFAQ
[https://wiki.qt.io/KnowledgeBase:SupportFAQ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant