diff options
Diffstat (limited to 'share/qtcreator/templates/qtquick/qtquick_2_2/qml/app/main.qml')
-rw-r--r-- | share/qtcreator/templates/qtquick/qtquick_2_2/qml/app/main.qml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/share/qtcreator/templates/qtquick/qtquick_2_2/qml/app/main.qml b/share/qtcreator/templates/qtquick/qtquick_2_2/qml/app/main.qml new file mode 100644 index 0000000000..7f67d2c235 --- /dev/null +++ b/share/qtcreator/templates/qtquick/qtquick_2_2/qml/app/main.qml @@ -0,0 +1,16 @@ +import QtQuick 2.2 + +Rectangle { + width: 360 + height: 360 + Text { + text: qsTr("Hello World") + anchors.centerIn: parent + } + MouseArea { + anchors.fill: parent + onClicked: { + Qt.quit(); + } + } +} |