summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar jan Iversen <jan@casacondor.com>2019-11-24 08:57:24 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-11-26 09:44:13 -0800
commit7eda75d7abb0c0b42e8d71bcfcb4bc09c22ce300 (patch)
treefdbbd47c56be6b2db4b009ad2d70d578542bc33b
parent4372487e4089511bf1540cab0f264280c84752ca (diff)
downloadsubsurface-7eda75d7abb0c0b42e8d71bcfcb4bc09c22ce300.tar.gz
mobile-widgets/qml: add qmldir to include map-widget
qml demands all qml files to be in 1 directory, but allows a "qmldir" file to reference qml files in other directories. Add qmldir to reference map-widget. Signed-off-by: Jan Iversen <jan@casacondor.com>
-rw-r--r--mobile-widgets/qml/qmldir11
1 files changed, 11 insertions, 0 deletions
diff --git a/mobile-widgets/qml/qmldir b/mobile-widgets/qml/qmldir
new file mode 100644
index 000000000..e795c1afb
--- /dev/null
+++ b/mobile-widgets/qml/qmldir
@@ -0,0 +1,11 @@
+# This file is NOT needed for building production versions!
+#
+# However when not using resources (qrc:) but files (file:)
+# QQmlApplicationEngine demands that all qml files (except imports)
+# are in the same directory.
+# MapWidget qml is logically stored with the MapWidget, therefore
+# the source tree contains several qml directories.
+# this file "unites" all qml directories
+MapWidget ../../map-widget/qml/MapWidget.qml
+MapWidgetContextMenu ../../map-widget/qml/MapWidgetContextMenu.qml
+MapWidgetError ../../map-widget/qml/MapWidgetError.qml