Details
-
Type:
Bug
-
Status: Reported
-
Priority:
P2: Important
-
Resolution: Unresolved
-
Affects Version/s: 6.3.0 Beta2
-
Fix Version/s: None
-
Component/s: Qt Script
-
Labels:None
-
Environment:Kubuntu Linux 21.10
-
Platform/s:
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
-