1import QtQuick 2.0 2 3Rectangle { 4 width: 360 5 height: 360 6 Text { 7 anchors.centerIn: parent 8 text: "Hello World" 9 } 10 MouseArea { 11 anchors.fill: parent 12 onClicked: { 13 Qt.quit(); 14 } 15 } 16} 17 18