I am trying to use QSound. When I call isAvailable(), it returns to true. However, when I do newWav->play();, it plays the default Windows "error" bell. Here is my code:

Qt Code:
  1. newWav = new QSound(":/sounds/newGame.wav",this);
  2. qDebug() << newWav->isAvailable();
  3. newWav->play();
To copy to clipboard, switch view to plain text mode