qrc: use "MapWidget.qml" as a QRC alias

Apparently, if it's required to import a QML component inside any QML
file from resource, the compoment QRC alias has to have the same name
as the component - e.g. add QRC alias MapWidgetContextMenu.qml allows
creating a MapWidgetContextMenu compoment inside MapWidget.qml.

Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
This commit is contained in:
Lubomir I. Ivanov 2017-07-20 16:50:16 +03:00 committed by Dirk Hohndel
parent b0cf820bef
commit b7c4a7fbfc
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
<RCC>
<qresource prefix="/">
<file alias="mapwidget-qml">mobile-widgets/qml/MapWidget.qml</file>
<file alias="MapWidget.qml">mobile-widgets/qml/MapWidget.qml</file>
<file alias="mapwidget-marker">mobile-widgets/qml/icons/mapwidget-marker.png</file>
<file alias="mapwidget-marker-selected">mobile-widgets/qml/icons/mapwidget-marker-selected.png</file>
<file alias="mapwidget-toggle-satellite">mobile-widgets/qml/icons/mapwidget-toggle-satellite.png</file>