Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.6.1
-
None
-
-
80d937e9e (dev), 5b113ad16 (6.7), 3880a8902 (6.6), 6a47edf72 (tqtc/lts-6.5)
Description
Running qmllint over a QML file (attached) that has a state change like this
Rectangle {
id: redRect
...
}
State {
when: root.shouldRedRectFillWidth
PropertyChanges {
redRect.Layout.fillWidth: true
}
}
it complains
Layout must be attached to Item elements [Quick.attached-property-type]
redRect.Layout.fillWidth: true
But the code works just fine, and it is attached to redRect that is an Item
Attachments
Issue Links
- relates to
-
QTBUG-113695 qmllint: property-changes-parsed suggests can code that don't understand
- Closed
- resulted in
-
QTBUG-122545 Expand QQmlSA API to notify on group and attached property bindings
- Reported
For Gerrit Dashboard: QTBUG-120526 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
528385,4 | QQmlSA: add hasCustomParser() getter | dev | qt/qtdeclarative | Status: ABANDONED | -1 | 0 |
528386,4 | WIP: PassManagerPrivate: resolve id's in grouped & attached properties | dev | qt/qtdeclarative | Status: ABANDONED | -2 | 0 |
541403,2 | qmllint: Restrict attached property validators to simple cases | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
541645,2 | qmllint: Restrict attached property validators to simple cases | 6.7 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
541788,2 | qmllint: Restrict attached property validators to simple cases | 6.6 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
541930,3 | qmllint: Restrict attached property validators to simple cases | tqtc/lts-6.5 | qt/tqtc-qtdeclarative | Status: MERGED | +2 | 0 |