Cannot anchor to an item that isn't a parent or sibling.

メッセージ
Cannot anchor to an item that isn't a parent or sibling.
翻訳
親や兄弟ではない項目には固定できません。
原因
  • アンカー先が直接の親または兄弟でないため。
anchors.right: parent.parent.right
対処
  • アンカー先を直接の親または兄弟に変更する。
  • アンカーを使わない方法 (width / height / ...) に変更する。
width: parent.parent.width - x