Open ChALkeR opened 8 years ago
Not sure if that should be a separate element or a modifier of qmlpropdef
.
A separate element will require another patch in QmlWeb to be supported. A modifier perhaps could work without patches on QmlWeb side (without actually enforcing the «readonly» rule), but I am not sure how a modifier should look like here.
The readonly property
is important to stay compatible with Qt QML. I would implement it using a modifier for qmlpropdef
. I don't think a separate element is necessary.
See http://doc.qt.io/qt-5/qtqml-syntax-objectattributes.html#read-only-properties
The testcase is failing atm.