Warning at:
QMediaPlayer *player = new QMediaPlayer();
Warning message (message doesn't appear normally, my code redirects warnings to message boxes):

Works perfectly on Windows 10/11.
On Windows 7 doesn't crash the application, but when you try to play the sound, only part of it is played, and you can't do it a second time.
Warning at:
QMediaPlayer *player = new QMediaPlayer();Warning message (message doesn't appear normally, my code redirects warnings to message boxes):

Works perfectly on Windows 10/11.
On Windows 7 doesn't crash the application, but when you try to play the sound, only part of it is played, and you can't do it a second time.