Details
-
Suggestion
-
Resolution: Unresolved
-
P2: Important
-
None
Description
Code
// Test.qml import QtQuick Item { property int value: 42 }
qmltc output
// test.h (Generated by qmltc) class Test : public QQuickItem { Q_OBJECT QML_ELEMENT Q_PROPERTY(int value WRITE setValue READ value BINDABLE bindableValue) // ... };
Suggestion
We want qmltc to generate this by default:
Q_PROPERTY(int value WRITE setValue READ value BINDABLE bindableValue FINAL)
Attachments
Issue Links
- relates to
-
QTBUG-108739 Most properties in QtQuick are not FINAL and can be shadowed
-
- Closed
-
-
QTBUG-98320 Clean up overriding of Q_PROPERTY and Q_INVOKABLE
-
- Reported
-