Embedded QML?
-
Is this possible to embed a QML with all dependencies in a file in Qt like resources or something?
-
Yes it should be possible.
-
Have you ever tried that? how it would be possible if you import another qml file in your document?
-
No I have not tried it. But in one of the QML Webinars conducted by Nokia - it was confirmed that one can bundle QML files as resources in Qt C++ Application.
-
Yes, it is possible to put qml files into Qt resource file.
-
It is possible and I have tried and it works.
-
Hi,
Using QML with resource files is described more fully in the documentation "here":http://doc.qt.nokia.com/4.7-snapshot/qtbinding.html#managing-resource-files-with-the-qt-resource-system
Regards,
Michael -
Thanks Michael! It was so useful :)