summaryrefslogtreecommitdiffstats
path: root/app/qml/Main.qml
diff options
context:
space:
mode:
Diffstat (limited to 'app/qml/Main.qml')
-rw-r--r--app/qml/Main.qml28
1 files changed, 28 insertions, 0 deletions
diff --git a/app/qml/Main.qml b/app/qml/Main.qml
new file mode 100644
index 0000000..a2861e5
--- /dev/null
+++ b/app/qml/Main.qml
@@ -0,0 +1,28 @@
+import QtGraphicalEffects 1.0
+import QtLocation 5.9
+import QtPositioning 5.0
+import QtQuick 2.0
+import QtQuick.Controls 2.2
+import QtQuick.Layouts 1.0
+
+import com.mapbox.cheap_ruler 1.0
+import "qrc:/qml"
+
+ApplicationWindow {
+ id: window
+
+ title: "QT MapboxGL Turn By Turn Navigation Demo"
+ height: 768
+ width: 1024
+ visible: true
+
+ Item {
+ anchors.centerIn: parent
+ width: parent.width
+ height: parent.height
+
+ MapWindow {
+ anchors.fill: parent
+ }
+ }
+}