The Qt resource system is a platform-independent mechanism for storing binary files in the application's executable. This is useful if your application always needs a certain set of files (icons, translation files, etc.) and you don't want to run the risk of losing the files.
so a music file for a whole opera concert is not a suitable candidate for being stored in the qrc file as it ends up into your executable.
Given that said, you could get the file from the resource and save it somewhere to disk so the external tool can access it.QFile::copy(":/sounds/ocean.mp3", "/tmp/ocean.mp3");
you can even use QTemporaryFile to avoid worrying about file naming and deletion.