[Qt-interest] QML compilation ?

Stephen Collyer scollyer at netspinner.co.uk
Mon Jul 19 12:16:09 CEST 2010


On 19 July 2010 10:56, Sean Harmer <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.

-- 
Stephen Collyer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100719/3f34d793/attachment.html 


More information about the Qt-interest-old mailing list