diff --git a/subsurface-mobile-helper.cpp b/subsurface-mobile-helper.cpp index 2d72d538e..9bff8b680 100644 --- a/subsurface-mobile-helper.cpp +++ b/subsurface-mobile-helper.cpp @@ -25,6 +25,8 @@ #include "core/connectionlistmodel.h" #include "qt-models/diveimportedmodel.h" #include "qt-models/messagehandlermodel.h" +#include "map-widget/qmlmapwidgethelper.h" +#include "qt-models/maplocationmodel.h" #include "mobile-widgets/qml/kirigami/src/kirigamiplugin.h" @@ -57,6 +59,10 @@ void run_ui() qmlRegisterType("org.subsurfacedivelog.mobile", 1, 0, "DCDownloadThread"); qmlRegisterType("org.subsurfacedivelog.mobile", 1, 0, "DCImportModel"); + qmlRegisterType("org.subsurfacedivelog.mobile", 1, 0, "MapWidgetHelper"); + qmlRegisterType("org.subsurfacedivelog.mobile", 1, 0, "MapLocationModel"); + qmlRegisterType("org.subsurfacedivelog.mobile", 1, 0, "MapLocation"); + QQmlApplicationEngine engine; KirigamiPlugin::getInstance().registerTypes(); #if defined(__APPLE__) && !defined(Q_OS_IOS)