From 7eda75d7abb0c0b42e8d71bcfcb4bc09c22ce300 Mon Sep 17 00:00:00 2001 From: jan Iversen Date: Sun, 24 Nov 2019 08:57:24 +0100 Subject: 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 --- mobile-widgets/qml/qmldir | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 mobile-widgets/qml/qmldir (limited to 'mobile-widgets/qml') 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 -- cgit v1.2.3-70-g09d2