[Development] Qt 6.2 QQmlMetaType incompatibility

Ulf Hermann ulf.hermann at qt.io
Wed Oct 6 18:20:59 CEST 2021

> But how to tell the engine to make use of it when executing a property 
> assignment ?

You mark the type with Q_GADGET and QML_ANONYMOUS. Then moc and 
qmltyperegistrar should pick it up automatically ... Provided you 
actually use qmltyperegistrar, of course. If not, I recommend converting 
to static type registration soon.

best regards,

More information about the Development mailing list