Hi,

I tried to play mp3 in my application its playing successfully in my simulator. I have added my mp3 in my resource folder. but in the device its not finding the path to play .

So kindly help in this what i need to change in my code.

Qt Code:
  1. player = new QMediaPlayer;
  2.  
  3. player->setMedia(QUrl::fromLocalFile("./IQRAV1/song/GN.mp3"));
  4. player->setVolume(100);
  5.  
  6. player->play();
To copy to clipboard, switch view to plain text mode 


Thanks and Regards,
Arpita