[Development] QML Audio on Android
Bruno Coudoin
bruno.coudoin at gcompris.net
Wed Feb 5 21:58:28 CET 2014
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
> <bruno.coudoin at gcompris.net <mailto:bruno.coudoin at gcompris.net>> wrote:
>
> Le 04/02/2014 08:51, nicola at nicoladefilippo.it
> <mailto:nicola at 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.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20140205/4c0703e9/attachment.html>
More information about the Development
mailing list