Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Problem with qsound :(
i have my code like this
QObject::connect(&SilentHill2, SIGNAL(clicked()), &ss2sound, SLOT (QSound::play()));
but sound doesn't play :( is it the format what is wrong with this iv spent all trying to figure this out
What Os are you on? What gives
Did you try an absolute path to your wav file?
Does it work without the connect?
the sound file doesn't work even if i do ss2sound.play();
i can't seem to get isavailable to work
and my operating system is windows 7 :)
my file format is wav
and iv tried abosulte path
Can you play your wav file at all using a mediaplayer?
yes :) media player classic
Have a look at" this thread":http://developer.qt.nokia.com/forums/viewthread/4468.
Seems that qsound is deprecated and you should use phonon or qtmultimedia instead.
iv used phonon before ill go try and work with that :D