Skip to content

QT 6.30 migrations broke some things. #46

@makingglitches

Description

@makingglitches

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 <[email protected] [[email protected]]>
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]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions