Skip to content

Commit

Permalink
Try to go for a cleaner qml import scanner method
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvn committed Oct 21, 2024
1 parent 2a94473 commit da7064c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
6 changes: 6 additions & 0 deletions src/qml/Dummy.qml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
// This file is used to add extra imports for the qml import scanner to add additional modules
import QtQuick3D
import QtWebSockets

Item {
}
2 changes: 0 additions & 2 deletions src/qml/qgismobileapp.qml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,8 @@ import QtQuick.Controls
import QtQuick.Controls.Material
import QtQuick.Effects
import QtQuick.Window
import QtQuick3D.Particles3D // Not used here but added so QML registers its dependencies for plugins to use
import QtQml
import QtSensors
import QtWebSockets // Not used here but added so QML registers its dependencies for plugins to use
import org.qgis
import org.qfield
import Theme
Expand Down
1 change: 1 addition & 0 deletions src/qml/qml.qrc
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
<file>CoordinateLocator.qml</file>
<file>DashBoard.qml</file>
<file>DigitizingToolbar.qml</file>
<file>Dummy.qml</file>
<file>ElevationProfile.qml</file>
<file>FeatureForm.qml</file>
<file>FeatureListForm.qml</file>
Expand Down

0 comments on commit da7064c

Please sign in to comment.