On Fri, Jul 16, 2010 at 4:32 PM, Jason H <[email protected]> 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
_______________________________________________
Qt-qml mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-qml

Reply via email to