solved : I cleaned "build-Desktop_Qt_5_0_0_MSVC2010_32bit_SDK-Debug" and rebuilding my project .

But I hear no sound

Qt Code:
  1. void MainWindow::on_pushButton_clicked()
  2. {
  3. QSound sound(":/Music/exelent.wav");
  4. sound.setLoops(1);
  5. sound.play();
  6. }
To copy to clipboard, switch view to plain text mode