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, Ulf _______________________________________________ Development mailing list [email protected] https://lists.qt-project.org/listinfo/development
