Skip to content

Instantly share code, notes, and snippets.

@unixwz
Created February 15, 2016 16:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save unixwz/7199bd1f31c829886ada to your computer and use it in GitHub Desktop.
Save unixwz/7199bd1f31c829886ada to your computer and use it in GitHub Desktop.
import QtQuick 2.3
import QtQuick.Window 2.2
import QtPositioning 5.3
Window {
visible: true
MouseArea {
anchors.fill: parent
onClicked: {
Qt.quit();
}
}
Text {
text: qsTr("Hello World")
anchors.centerIn: parent
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment