import QtQuick 2.15 import QtQuick.Window 2.15 Window { width: 640 height: 480 visible: true title: qsTr("Hello World") Rectangle { color: "blue" width: parent.width / 10 height: parent.height / 10 } }