diff options
author | 2016-05-04 14:07:36 -0700 | |
---|---|---|
committer | 2016-05-04 14:42:07 -0700 | |
commit | 329a632ed973b7f40c005c811d5cb9dc174dd87b (patch) | |
tree | 5662c9803158052d9cfcea3a59ae11438d9a946c /packaging/ios/Subsurface-mobile/main.qml | |
parent | 8408cbe3a4545d61e3c6bacb092879e18f1171a2 (diff) | |
download | subsurface-329a632ed973b7f40c005c811d5cb9dc174dd87b.tar.gz |
iOS build: dummy qml file to pull in the right dependencies
The iOS build process is rather stupid - it scans all .qml files
in the root directory of the project to determine which QML dependencies
are required.
This is why we had the weird leftover fake QML project in our sources.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'packaging/ios/Subsurface-mobile/main.qml')
-rw-r--r-- | packaging/ios/Subsurface-mobile/main.qml | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/packaging/ios/Subsurface-mobile/main.qml b/packaging/ios/Subsurface-mobile/main.qml deleted file mode 100644 index 26b1a7998..000000000 --- a/packaging/ios/Subsurface-mobile/main.qml +++ /dev/null @@ -1,40 +0,0 @@ -import QtQuick 2.6 -import QtQuick.Controls 1.5 -import QtQuick.Dialogs 1.2 - -ApplicationWindow { - visible: true - width: 640 - height: 480 - title: qsTr("Hello World") - - menuBar: MenuBar { - Menu { - title: qsTr("File") - MenuItem { - text: qsTr("&Open") - onTriggered: console.log("Open action triggered"); - } - MenuItem { - text: qsTr("Exit") - onTriggered: Qt.quit(); - } - } - } - - MainForm { - anchors.fill: parent - button1.onClicked: messageDialog.show(qsTr("Button 1 pressed")) - button2.onClicked: messageDialog.show(qsTr("Button 2 pressed")) - } - - MessageDialog { - id: messageDialog - title: qsTr("May I have your attention, please?") - - function show(caption) { - messageDialog.text = caption; - messageDialog.open(); - } - } -} |