woboq/qmetaobject-rs

Support for "required" properties

Opened this issue · 0 comments

From Qt docs:

The presence of the REQUIRED attribute indicates that the property should be set by a user of the class. This is not enforced by moc, and is mostly useful for classes exposed to QML. In QML, classes with REQUIRED properties cannot be instantiated unless all REQUIRED properties have been set.