diff --git a/CMakeLists.txt b/CMakeLists.txt index 0f8e68053..2c5981202 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -348,10 +348,10 @@ if(SUBSURFACE_MOBILE) set(MOBILE_SRC qt-mobile/qmlmanager.cpp qt-mobile/qmlprofile.cpp + qt-mobile/gpslocation.cpp qt-models/divelistmodel.cpp subsurface-mobile-main.cpp subsurface-mobile-helper.cpp - gpslocation.cpp ) add_definitions(-DSUBSURFACE_MOBILE) qt5_add_resources(MOBILE_RESOURCES qt-mobile/qml/mobile-resources.qrc) diff --git a/gpslocation.cpp b/qt-mobile/gpslocation.cpp similarity index 96% rename from gpslocation.cpp rename to qt-mobile/gpslocation.cpp index da4734897..3f47396c1 100644 --- a/gpslocation.cpp +++ b/qt-mobile/gpslocation.cpp @@ -1,4 +1,4 @@ -#include "gpslocation.h" +#include "qt-mobile/gpslocation.h" #include diff --git a/gpslocation.h b/qt-mobile/gpslocation.h similarity index 100% rename from gpslocation.h rename to qt-mobile/gpslocation.h diff --git a/subsurface-mobile-helper.cpp b/subsurface-mobile-helper.cpp index 0643ae9e0..cbffc7b1d 100644 --- a/subsurface-mobile-helper.cpp +++ b/subsurface-mobile-helper.cpp @@ -18,7 +18,7 @@ #include "qt-mobile/qmlmanager.h" #include "qt-models/divelistmodel.h" #include "qt-mobile/qmlprofile.h" -#include "gpslocation.h" +#include "qt-mobile/gpslocation.h" GpsLocation *locationProvider; QObject *qqWindowObject = NULL;