Warning: main2.qml:78:21: Cannot assign to non-existent default property anchors { ^^^^^^^ Warning: main2.qml:67:21: Cannot assign to non-existent default property anchors { ^^^^^^^ Warning: main2.qml:80:32: Cannot assign binding of type QQuickAnchorLine to QQmlScriptString right: main.right ^^^^^^^^^^ Warning: main2.qml:80:42: Could not compile binding for right: cannot convert from QQuickAnchorLine of QQuickItem::right with type QQuickAnchorLine to QQmlScriptString of QQmlScriptString horizontalCenter: undefined } } } ] } } ^ Warning: main2.qml:70:43: Cannot assign binding of type QQuickAnchorLine to QQmlScriptString horizontalCenter: main.horizontalCenter ^^^^^^^^^^^^^^^^^^^^^ Warning: main2.qml:70:64: Could not compile binding for horizontalCenter: cannot convert from QQuickAnchorLine of QQuickItem::horizontalCenter with type QQuickAnchorLine to QQmlScriptString of QQmlScriptString } } }, State { name: "rightState" AnchorChanges { target: mover anchors { left: undefined right: main.right horizontalCenter: undefined } } } ] } } ^ Warning: main2.qml:58:35: Cannot assign binding of type QQuickAnchorLine to QQmlScriptString anchors.left: main.left ^^^^^^^^^ Warning: main2.qml:58:44: Could not compile binding for left: cannot convert from QQuickAnchorLine of QQuickItem::left with type QQuickAnchorLine to QQmlScriptString of QQmlScriptString anchors.right: undefined anchors.horizontalCenter: undefined } }, State { name: "middleState" AnchorChanges { target: mover anchors { left: undefined right: undefined horizontalCenter: main.horizontalCenter } } }, State { name: "rightState" AnchorChanges { target: mover anchors { left: undefined right: main.right horizontalCenter: undefined } } } ] } } ^