diff options
Diffstat (limited to 'subsurface-helper.cpp')
-rw-r--r-- | subsurface-helper.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/subsurface-helper.cpp b/subsurface-helper.cpp index d2eb6e01e..fbf173792 100644 --- a/subsurface-helper.cpp +++ b/subsurface-helper.cpp @@ -105,9 +105,9 @@ void run_ui() if (importPath.contains("MacOS")) engine.addImportPath(importPath.replace("MacOS", "Frameworks")); } - engine.addImportPath("qrc://"); - qDebug() << "QML import path" << engine.importPathList(); #endif // __APPLE__ not Q_OS_IOS + // this is frustrating, but we appear to need different import paths on different OSs + engine.addImportPath(":"); engine.addImportPath("qrc://imports"); QSortFilterProxyModel *gpsSortModel = new QSortFilterProxyModel(nullptr); gpsSortModel->setSourceModel(GpsListModel::instance()); |