> we recommend that you not make your C++ layer use knowledge of the > internals of > the QML files, so that you have more flexibility in rewriting the UI. > > Thank you. Very wise counsel. I will need to re-think my design.
If you keep the interface of your QML just the set of properties in the root item, you can provide a narrower API, keeping the freedom to modify the QML: Item { id: root property string title: "Unknown" ... Text { text: root.title } ... } (or use property aliases to provide bi-directional access) -- Warwick _______________________________________________ Qt-qml mailing list Qt-qml@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-qml