[Qt-qml] Working with larger projects.
Juha Turunen
turunen at iki.fi
Fri Jul 16 15:58:12 CEST 2010
On Fri, Jul 16, 2010 at 4:32 PM, Jason H <scorp1us at yahoo.com> wrote:
>
> My immediate task is:
> I have 2 QML files and qmproject file. I added a 3rd "main.qml". I want to
> have
> the main load the two other QML files and switch between them. (Each file
> defines a "page") However, I would actually like the main to be dynamic
> that is,
> it creates and destroys the pages as it needs them, as there will be many
> and i
> don't want all that in memory all the time. Everything comes from local
> storage
> so loading shouldn't be an issue.
>
There's some good info here:
http://doc.qt.nokia.com/4.7-snapshot/qdeclarativedynamicobjects.html
The "Component" element is your friend.
Juha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt.nokia.com/pipermail/qt-qml/attachments/20100716/7121b038/attachment.html
More information about the Qt-qml
mailing list