forked from qt-creator/qt-creator
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
17 lines
248 B
QML
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();
|
|
}
|
|
}
|
|
}
|