Files
qt-creator/share/qtcreator/templates/qmlapp/qml/app/main.qml
Kai Koehne 33d66233b5 QmlWizards: Use 'QtQuick 1.0' namespace
Use the 'QtQuick 1.0' namespace introduced in 4.7.1. This makes them in
line with the examples/demos we ship in the SDK, but breaks for 4.7.0
(e.g. N900).

Task-number: QTCREATORBUG-3243
2010-12-07 11:27:30 +01:00

17 lines
248 B
QML

import QtQuick 1.0
Rectangle {
width: 360
height: 360
Text {
text: "Hello World"
anchors.centerIn: parent
}
MouseArea {
anchors.fill: parent
onClicked: {
Qt.quit();
}
}
}