[Qt-interest] QML compilation ?
Andre Somers
andre at familiesomers.nl
Mon Jul 19 12:31:46 CEST 2010
Op 19-7-2010 12:16, Stephen Collyer schreef:
>
> On 19 July 2010 10:56, Sean Harmer <sean.harmer at maps-technology.com
> <mailto:sean.harmer at maps-technology.com>> wrote:
>
>
> My first thought is to add it to your application's resource file
> and compile
> it into your app like any other resource. You can then access the
> qml string
> via the usual method e.g. QFile myQmlFIle( ":/path/to/my/qml/file" ).
>
>
> Can QUrl access a resource file though ? I expect so, but I've
> never tried it, and the docs don't seem to mention it explicitly.
>
Yes, they can.
André
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100719/e304e6d5/attachment.html
More information about the Qt-interest-old
mailing list