Qt6.4 compiled app asserts "QtMultimedia is not currently supported on this platform or compiler." and crashes; Qt6.3.2 runs fine
-
I have a Qt6 project that I have been working on for about a month:
https://github.com/NightVsKnight/QtNdiMonitorCaptureThis project uses Qt 6.3.2 and both compiles and runs on my local development machine and compiles in the repo's GitHub Actions.
On a 2nd machine (physically identical twin to first, both are also running identical Windows 10 Pro 21H1 19043.2006) I download the GitHub Action artifact and it also runs.This morning I downloaded and updated to Qt6.4 on both machines and flipped my projects to use
Desktop Qt 6.4 MSVC2019 64bit
kits.On Machine1 my project builds and runs fine.
On Machine2 my project builds fine, but when I run I get an assert pop up that says
QtMultimedia is not currently supported on this platform or compiler.
line 22:
If I ignore the app will crash.
If I flip Machine2 back to Qt 6.3.2 the app runs fine and there is no assert.The assert is from this line:
https://github.com/qt/qtmultimedia/blob/6.4/src/multimedia/platform/qplatformmediaintegration.cpp#L22Since Qt 6.4.0 was released today, I think this might be an unexpected bug in the code, but perhaps I am just doing something wrong.
I searched https://bugreports.qt.io and see several MINGW related bugs, but none for MSVC2019.The two PCs do have slightly different app installs, biggest of which may be Machine1 has VS2022, but they are quite similar and literally hardware identical and nearly software identical overall.
Pv
-
https://www.qt.io/blog/qt-6.4-released
Qt Multimedia
We have added an FFMPEG-based multimedia backend, which provides consistent audio and video functionality on all platforms. For video playback we have improved the color space handling and HDR support, and applications can inject subtitles to QVideoFrames.
============================================
If a new backend is introduced, more tests may be needed. Maybe do not upgrade too fast. -
https://www.qt.io/blog/qt-6.4-released
Qt Multimedia
We have added an FFMPEG-based multimedia backend, which provides consistent audio and video functionality on all platforms. For video playback we have improved the color space handling and HDR support, and applications can inject subtitles to QVideoFrames.
============================================
If a new backend is introduced, more tests may be needed. Maybe do not upgrade too fast.@JoeCFD said in Qt6.4 compiled app asserts "QtMultimedia is not currently supported on this platform or compiler." and crashes; Qt6.3.2 runs fine:
If a new backend is introduced, more tests may be needed. Maybe do not upgrade too fast.
Understood; this is a result of my testing. I presume Qt would have also at least smoke tested this.
-
FYI this is likely https://bugreports.qt.io/browse/QTBUG-105984
-
FYI this is likely https://bugreports.qt.io/browse/QTBUG-105984