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