Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qgroundcontrol
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
795c689b
Commit
795c689b
authored
Jun 20, 2017
by
Beat Küng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rtk gps: exclude for mobile build
parent
e3c97d2e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
QGroundControlQmlGlobal.cc
src/QmlControls/QGroundControlQmlGlobal.cc
+2
-0
QGroundControlQmlGlobal.h
src/QmlControls/QGroundControlQmlGlobal.h
+2
-0
No files found.
src/QmlControls/QGroundControlQmlGlobal.cc
View file @
795c689b
...
@@ -63,6 +63,7 @@ void QGroundControlQmlGlobal::setToolbox(QGCToolbox* toolbox)
...
@@ -63,6 +63,7 @@ void QGroundControlQmlGlobal::setToolbox(QGCToolbox* toolbox)
_firmwarePluginManager
=
toolbox
->
firmwarePluginManager
();
_firmwarePluginManager
=
toolbox
->
firmwarePluginManager
();
_settingsManager
=
toolbox
->
settingsManager
();
_settingsManager
=
toolbox
->
settingsManager
();
#ifndef __mobile__
GPSManager
*
gpsManager
=
toolbox
->
gpsManager
();
GPSManager
*
gpsManager
=
toolbox
->
gpsManager
();
if
(
gpsManager
)
{
if
(
gpsManager
)
{
connect
(
gpsManager
,
&
GPSManager
::
onConnect
,
this
,
&
QGroundControlQmlGlobal
::
_onGPSConnect
);
connect
(
gpsManager
,
&
GPSManager
::
onConnect
,
this
,
&
QGroundControlQmlGlobal
::
_onGPSConnect
);
...
@@ -70,6 +71,7 @@ void QGroundControlQmlGlobal::setToolbox(QGCToolbox* toolbox)
...
@@ -70,6 +71,7 @@ void QGroundControlQmlGlobal::setToolbox(QGCToolbox* toolbox)
connect
(
gpsManager
,
&
GPSManager
::
surveyInStatus
,
this
,
&
QGroundControlQmlGlobal
::
_GPSSurveyInStatus
);
connect
(
gpsManager
,
&
GPSManager
::
surveyInStatus
,
this
,
&
QGroundControlQmlGlobal
::
_GPSSurveyInStatus
);
connect
(
gpsManager
,
&
GPSManager
::
satelliteUpdate
,
this
,
&
QGroundControlQmlGlobal
::
_GPSNumSatellites
);
connect
(
gpsManager
,
&
GPSManager
::
satelliteUpdate
,
this
,
&
QGroundControlQmlGlobal
::
_GPSNumSatellites
);
}
}
#endif
/* __mobile__ */
}
}
void
QGroundControlQmlGlobal
::
saveGlobalSetting
(
const
QString
&
key
,
const
QString
&
value
)
void
QGroundControlQmlGlobal
::
saveGlobalSetting
(
const
QString
&
key
,
const
QString
&
value
)
...
...
src/QmlControls/QGroundControlQmlGlobal.h
View file @
795c689b
...
@@ -22,7 +22,9 @@
...
@@ -22,7 +22,9 @@
#include "SimulatedPosition.h"
#include "SimulatedPosition.h"
#include "QGCLoggingCategory.h"
#include "QGCLoggingCategory.h"
#include "AppSettings.h"
#include "AppSettings.h"
#ifndef __mobile__
#include "GPS/GPSManager.h"
#include "GPS/GPSManager.h"
#endif
/* __mobile__ */
#include "GPSRTKFactGroup.h"
#include "GPSRTKFactGroup.h"
#ifdef QT_DEBUG
#ifdef QT_DEBUG
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment