c++qtmultimediaqt6

Qt6.2 and Multimedia Module


As Qt6.2 released, it seems that the multimedia module will come back and today i download qt6.2 but "qt += multimedia" still doesn't work. How can i use the multimedia module or have an alternative to play a sound effect in c++?

p.s. i'm using qt6.1 before.


Solution

  • Well, as far as I know, QMultimedia and QMultimediaWidgets are not present in the Qt 6.1 release. If you look att the following list, there are all the removed modules. (https://doc-snapshots.qt.io/qt6-dev/whatsnew60.html#removed-modules-in-qt-6-0)

    Also, if you look at the Qt 6.2 available modules, they don't appear neither: https://doc-snapshots.qt.io/qt6-dev/qtmodules.html

    Qt claims that those modules may be included in a future release (i hope this happens), but for the moment you'll need to stick with Qt5.

    (Sorry for my english)

    EDIT:

    Starting from Qt6.2, the QMultimedia module is available again (but QMultimediaWidgets still not present)