Skip to content

Commit

Permalink
fix qml loading
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterPetrik committed Aug 20, 2019
1 parent b47dea0 commit 5e84979
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 21 deletions.
2 changes: 1 addition & 1 deletion src/quickgui/plugin/CMakeLists.txt
Expand Up @@ -29,7 +29,7 @@ SET(QGIS_QUICK_PLUGIN_RESOURCES
)

IF (IOS)
SET(QGIS_QUICK_PLUGIN_RESOURCES ${QGIS_QUICK_PLUGIN_RESOURCES} ios/qmldir qgsquick.qrc )
SET(QGIS_QUICK_PLUGIN_RESOURCES ${QGIS_QUICK_PLUGIN_RESOURCES} ios/qmldir ios/qgsquick.qrc )
ELSE (IOS)
SET(QGIS_QUICK_PLUGIN_RESOURCES ${QGIS_QUICK_PLUGIN_RESOURCES} qmldir)
ENDIF (IOS)
Expand Down
20 changes: 20 additions & 0 deletions src/quickgui/plugin/ios/qgsquick.qrc
@@ -0,0 +1,20 @@
<RCC>
<qresource prefix="/QgsQuick">
<file>qmldir</file>
<file>qgsquickeditorwidgetcombobox.qml</file>
<file>qgsquickcheckbox.qml</file>
<file>qgsquickdatetime.qml</file>
<file>qgsquickexternalresource.qml</file>
<file>qgsquicktextedit.qml</file>
<file>qgsquickrange.qml</file>
<file>qgsquickvaluemap.qml</file>
<file>qgsquickvaluerelation.qml</file>
<file>qgsquickfeatureform.qml</file>
<file>qgsquickfeatureformstyling.qml</file>
<file>qgsquickmapcanvas.qml</file>
<file>qgsquickmessagelog.qml</file>
<file>qgsquickphotopanel.qml</file>
<file>qgsquickpositionmarker.qml</file>
<file>qgsquickscalebar.qml</file>
</qresource>
</RCC>
4 changes: 4 additions & 0 deletions src/quickgui/plugin/ios/qmldir
Expand Up @@ -12,6 +12,10 @@

module QgsQuick

# suppose to be used only internaly in QgsQuick plugin
EditorWidgetComboBox 0.1 qgsquickeditorwidgetcombobox.qml
IconTextItem 0.1 qgsquickicontextitem.qml

MapCanvas 0.1 qgsquickmapcanvas.qml
FeatureForm 0.1 qgsquickfeatureform.qml
FeatureFormStyling 0.1 qgsquickfeatureformstyling.qml
Expand Down
20 changes: 0 additions & 20 deletions src/quickgui/plugin/qgsquick.qrc

This file was deleted.

0 comments on commit 5e84979

Please sign in to comment.