Hi,

Looking at the latest release 5.2.1 the Audio in QRC has been fixed:
https://bugreports.qt-project.org/browse/QTBUG-31422

I have not tested yet, I was in the process of managing the issue in my application and is is not that easy. I hope the QRC way is working fine.

Bruno.


Le 05/02/2014 21:52, Alan Ezust a écrit :
I have the same question.
Interesting that assets:/ is used in both android and blackberry 10...
It would be nice if we could get assets:/ to work on the desktop platforms also, perhaps by packaging the assets into an accompanying .zip file so it doesn't cause memory bloat on the executable.


On Tue, Feb 4, 2014 at 2:40 PM, Bruno Coudoin <[email protected] <mailto:[email protected]>> wrote:

    Le 04/02/2014 08:51, [email protected]
    <mailto:[email protected]> a écrit :
    > Hi,
    > put your file in android/assets directory and from qml:
    >
    >   MediaPlayer {
    >          id: playMusic
    >          source: "assets:/example.mp3"
    >      }
    >

    Thanks, it works, next question, what is the proper way to manage
    a list
    of sounds in a platform independent way at the .pro level.


_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to