Commit 795c689b authored by Beat Küng's avatar Beat Küng

rtk gps: exclude for mobile build

parent e3c97d2e
......@@ -63,6 +63,7 @@ void QGroundControlQmlGlobal::setToolbox(QGCToolbox* toolbox)
_firmwarePluginManager = toolbox->firmwarePluginManager();
_settingsManager = toolbox->settingsManager();
#ifndef __mobile__
GPSManager *gpsManager = toolbox->gpsManager();
if (gpsManager) {
connect(gpsManager, &GPSManager::onConnect, this, &QGroundControlQmlGlobal::_onGPSConnect);
......@@ -70,6 +71,7 @@ void QGroundControlQmlGlobal::setToolbox(QGCToolbox* toolbox)
connect(gpsManager, &GPSManager::surveyInStatus, this, &QGroundControlQmlGlobal::_GPSSurveyInStatus);
connect(gpsManager, &GPSManager::satelliteUpdate, this, &QGroundControlQmlGlobal::_GPSNumSatellites);
}
#endif /* __mobile__ */
}
void QGroundControlQmlGlobal::saveGlobalSetting (const QString& key, const QString& value)
......
......@@ -22,7 +22,9 @@
#include "SimulatedPosition.h"
#include "QGCLoggingCategory.h"
#include "AppSettings.h"
#ifndef __mobile__
#include "GPS/GPSManager.h"
#endif /* __mobile__ */
#include "GPSRTKFactGroup.h"
#ifdef QT_DEBUG
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment