mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-27 20:58:47 +00:00
mobile: add yet another import path to find Kirigami QML module
This needs some careful testing across the different OSs we are trying to support. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
1f9fa8b462
commit
d9d3588d55
1 changed files with 2 additions and 2 deletions
|
@ -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());
|
||||
|
|
Loading…
Reference in a new issue