Qt5 QSoundEffect Not Working
In Qt5 the QtSoundEffect class does not play any sound, nor does it give any error messages. This occurs on both Windows 7 and Mac. It also does not matter if you try to use SoundEffect through C++ or QML, you don't get sound in either case. The sounds I am testing with are wav files and are NOT in a resource file.
Has anyone else encounter this issue and find a work around?
I have the same problem. The only "solution" I found was actually using QMediaPlayer (which brings a lot of mayhem for a simple thing).
Hey, I just found this link and it worked for me (I'm using QSound tough) http://stackoverflow.com/questions/14165608/qt5-qsound-does-not-play-all-wave-files