Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.3.0 Beta2
-
None
-
Kubuntu Linux 21.10
Description
Seen here with State > AnchorChanges > anchors:
qmllint --compiler warning main2.qml
main2.qml (attached):
State { name: "leftState" AnchorChanges { target: mover anchors.left: main.left anchors.right: undefined anchors.horizontalCenter: undefined } }, State { name: "middleState" AnchorChanges { target: mover anchors { // <- Line 67 left: undefined right: undefined horizontalCenter: main.horizontalCenter } } },
main2.log (attached):
Warning: main2.qml:67:21: Cannot assign to non-existent default property anchors { ^^^^^^^
This issue was found along with the following bug, but I expect the problem has a different source:
Attachments
Issue Links
- relates to
-
QTBUG-101364 qmllint --compiler spurious error: QML State AnchorChanges: with type QQuickAnchorLine to QQmlScriptString of QQmlScriptString
- Reported