I'm trying to work around a bug in Qt/Android https://bugreports.qt.io/browse/QTBUG-73119 I have a file in my qrc which is the audio to play I wish to do a work-around that doesn't have me duplicating assets for QML and Android. I looked at the java, but it doesn't appear obvious how I can pass a file in qrc file to a MediaPlayer?