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>
This commit is contained in:
jan Iversen 2019-11-24 08:57:24 +01:00 committed by Dirk Hohndel
parent 4372487e40
commit 7eda75d7ab

11
mobile-widgets/qml/qmldir Normal file
View file

@ -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