[Development] Qt 6.2 QQmlMetaType incompatibility

Ulf Hermann ulf.hermann at qt.io
Thu Oct 7 08:46:30 CEST 2021


Hi,

>> What part of the docs do you mean here?
> https://doc.qt.io/qt-6/qqmlengine.html#QML_ANONYMOUS
> 
> "Declares the enclosing type to be available, but anonymous in QML.
> The type cannot be created or used as property type, but when passed
> from C++, it is recognized."
> 
> Thought that "property type" is supposed to be the type of a property
> being exposed to QML ?

It means that you cannot declare a property of such type in QML, but you 
can still use a property of such type if it's declared in C++. I'll 
clarify the docs.

best regards,
Ulf


More information about the Development mailing list