Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

Playing QML Audio or Multimedia from qrc not working on Android

$
0
0
Hi, I was trying to play a sound file with the QML Audio or MultiMedia components from qrc, but it doesn’t work on Android. Running the same code on Windows works. Based on this bug report [bugreports.qt-project.org], playing audio files from resources should work since Qt 5.2.1. I tried both with Qt 5.2.1 and the latest Qt 5.3 RC but only get this onError output: ErrorCode: 5 ErrorString: (Unknown error/Insufficient resources) and this error pops up in the console too: E/MediaPlayer(17306): Error (1,-2147483648) I tested on a Sony Ericsson Xperia and Huawei Ascend, both the same errors. Anyone experiencing the same issues or has a fix for this? Cheers, Chris

Viewing all articles
Browse latest Browse all 4972

Trending Articles