-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.10.0 Beta3
-
ee77c14ec (6.10), 46925f589 (dev), 63f3c4eab (tqtc/lts-6.8)
Code
import QtQuick import Qt.labs.synchronizer Window { id: window width: 640 height: 480 visible: true property int refValue: 0 component TestObject: QtObject { required property int value } TestObject { value: 0 // OK: Required property is set. } TestObject { // "Missing required property" warning is expected here, // because this produces a runtime error. } TestObject { // "Missing required property" warning is NOT expected here, // because this does NOT produce a runtime error. Synchronizer on value { property alias source: window.refValue } } }
Outcomes
For Gerrit Dashboard: QTBUG-139632 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
678691,3 | qmllint: Consider "on-bindings" for required properties | dev | qt/qtdeclarative | Status: MERGED | +2 | +1 |
678792,2 | qmllint: Consider "on-bindings" for required properties | 6.10 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
678857,3 | qmllint: Consider "on-bindings" for required properties | tqtc/lts-6.8 | qt/tqtc-qtdeclarative | Status: MERGED | +2 | 0 |