I have some audio mp3 files in my assets folder. I initially played them using a simple Audio QML item with the path:
This worked fine, but for various reasons I decided to the move loading/playing of audio files into C++ land, using a combination of QMediaPlayer (to play the files) and QMediaPlaylist (to store all the paths to files).
The QMediaPlaylist (C++) accepts a QUrl as a path to an audio file:
It locates it and plays the file fine on Windows.
However, it cannot locate the file on Android deployments. Does anyone have any ideas what might be wrong/a quick solution? (please forgive the lack of example code)