Hello
At first i have tried to use the Qt resources feature (*.qrc) directly in the SDL_mixer funktion Mix_LoadMus() like this:
Qt Code:
Mix_LoadMUS(":/sounds/resources/beep.ogg");To copy to clipboard, switch view to plain text mode
Unfortunately that doesn't work.
Somebody told me to load the resource into a QFile --> "QFile myFile (":/sounds/resources/beep.ogg") and stream the content to Mix_LoadMUS().
Can anybody tell me how to do this streaming?
regards
doitux
Bookmarks