QMessageBox is silent in Qt 6.4.1
-
I downloaded Qt 6.4.1 x64 msvc with the online installer and tested on Windows 11 and Windows 10 and the sound accompanying to QMessageBox doesn't get played, it's silent !
The same code compiled with qt 5.12 x64 static runtime msvc built from source code plays the sound on both Windows 10 and 11
I tried to play sound with QSoundEffect and it didn't play and the problem turned to be a bug in qt that was searching for "mfplat.dll.dll" instead of "mfplat.dll" so I copied that file next to the application and renamed it and QSoundEffect worked but the message box is still silent !
-
I downloaded Qt 6.4.1 x64 msvc with the online installer and tested on Windows 11 and Windows 10 and the sound accompanying to QMessageBox doesn't get played, it's silent !
The same code compiled with qt 5.12 x64 static runtime msvc built from source code plays the sound on both Windows 10 and 11
I tried to play sound with QSoundEffect and it didn't play and the problem turned to be a bug in qt that was searching for "mfplat.dll.dll" instead of "mfplat.dll" so I copied that file next to the application and renamed it and QSoundEffect worked but the message box is still silent !
@Yosof Well it took over a year, but I also noticed this recently and tracked it down:
https://codereview.qt-project.org/c/qt/qtbase/+/519633
Keep an eye out for the fix in 6.5.4, 6.6.2, and 6.7.0.