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 <bruno.coud...@gcompris.net>wrote:

> Le 04/02/2014 08:51, nic...@nicoladefilippo.it 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
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to