[Qt-qml] Packaging and deploying QML in a modular application

Alex alexlordax+qt at gmail.com
Fri Jan 7 05:42:18 CET 2011


I had a chance to do a bit of experimentation tonight and answered
most of my own questions regarding resources.  Answers are enclosed
below for posterity.

Any further insight on packaging would still be very much appreciated.

>
> The resource system comes to mind, but I have some concerns:
>
> 1. Is it even possible to create a 500MB .qrc file?

This appears to work with the -binary option.  I doubt that it would
work quite as well without -binary due to C++ compiler limitations.

> 2. Is it possible to load that .qrc file into my container application
> at runtime?

Duh.  I just discovered QResource.

> 3. Is it possible to add a QML import path as a resource path (e.g.,
> ":/common")?

Seems to work...

Alex


More information about the Qt-qml mailing list