Reasons to make Q_PROPERTY's BINDABLE for QML types defined from C++?
Unsolved
General and Desktop
-
Is there any advantages to declare Q_PROPERTY's of an QML type defined from C++ as BINDABLE in new code with with Qt 6.2+ (if binding mechanics itself not need at C++ side)?
Bindable properties introduced in Qt 6.0 with lazy mechanics, which should improve binding performance for QML, but later it was observed that many existing properties in Qt not compatible with lazy evaluation and in Qt 6.1/6.2 bindable properties are no longer lazy evaluated. So no possible performance gain from lazy evaluation, but maybe there is any other reasons to declare properties of QML type via Q_OBJECT_BINDABLE_PROPERTY/BINDABLE?