[Qt-qml] 'internal' semantic in qmldir

Leonardo Cunha leo.cunha at nokia.com
Tue Sep 7 09:48:51 CEST 2010


hi,

I have a qml plugin and if I add 'internal' to some type, this type becomes
unavailable to the other qml files inside the same plugin. Is this
intentional or a bug?

I can workaround this by just removing the 'internal' files from within the
respective qmldir file, as they are in the same plugin, all qml files will
be able to use each other.

This brings me to my second question: What is the difference between marking
the qml file as 'internal' or just removing it from the qmldir file? I
understand from the docs that the 'internal' is needed for files that are
loaded remotely, anything else?

br,
// leo
--
Leonardo Cunha
Software Engineer
Nokia, Qt






More information about the Qt-qml mailing list