IOS SOUND IMAGE

From Qt Wiki
Revision as of 16:01, 14 January 2015 by Maintenance script (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

IOS sound and image

For to play sound file on IOS platform you can’t store in qrc file but you must put it in the bundle together the qml files.
Here https://github.com/niqt/iosqt [github.com] you can find my example that plays sound on IOS.
The most important part is this (in .pro file), where puts the qml and audio in the bundle:

obviously you have to include the plugin:

thus in main.qml:

Good fun