[Qt-qml] 'internal' semantic in qmldir

Leonardo Cunha leo.cunha at nokia.com
Wed Sep 8 10:42:33 CEST 2010


hi,

> -----Original Message-----
> From: qt-qml-bounces at trolltech.com [mailto:qt-qml-
> bounces at trolltech.com] On Behalf Of Cunha Leo (Nokia-MS-Qt/Oslo)
>  
> 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?

this was actually my fault, the 'internal' types don't have a version number
:-)
  
> 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?

also replying to myself: the reason why the 'internal' notation is needed is
because you have to 
list all your remote qml files in qmldir.

br,
// leo




More information about the Qt-qml mailing list