0

After installing qt 6.4.1 from the online installer, I compiled old code, and the message boxes were not playing any sound. I saw that QMessageBox plays its sound via QAccessibleEvent so I tried this

QAccessibleEvent event(this, QAccessible::Alert);
QAccessible::updateAccessibility(&event);

But no sound is played! I tried QSoundEffect and didn't work at first but it turned to be a bug in qt 6.4.1 and renaming "mfplat.dll" to "mfplat.dll.dll" next to the application solved it but the message box and accessibility sound are not played yet. Is this a problem or qt removed playing alert sound with accessibility?

dev65
  • 1,440
  • 10
  • 25

0 Answers0