Skip to content
Snippets Groups Projects
Commit 2f291f28 authored by Gus Grubba's avatar Gus Grubba
Browse files

Allow pseudo mobile builds (Native QML on Desktop)

parent 8033f575
No related branches found
No related tags found
No related merge requests found
...@@ -233,7 +233,9 @@ QT += \ ...@@ -233,7 +233,9 @@ QT += \
multimedia multimedia
} }
!MobileBuild { AndroidBuild || iOSBuild {
# Android and iOS don't unclude these
} else {
QT += \ QT += \
printsupport \ printsupport \
serialport \ serialport \
......
...@@ -613,11 +613,13 @@ void LinkManager::_updateAutoConnectLinks(void) ...@@ -613,11 +613,13 @@ void LinkManager::_updateAutoConnectLinks(void)
} }
// Check for RTK GPS connection gone // Check for RTK GPS connection gone
#if !defined(__mobile__)
if (!_autoConnectRTKPort.isEmpty() && !currentPorts.contains(_autoConnectRTKPort)) { if (!_autoConnectRTKPort.isEmpty() && !currentPorts.contains(_autoConnectRTKPort)) {
qCDebug(LinkManagerLog) << "RTK GPS disconnected" << _autoConnectRTKPort; qCDebug(LinkManagerLog) << "RTK GPS disconnected" << _autoConnectRTKPort;
_toolbox->gpsManager()->disconnectGPS(); _toolbox->gpsManager()->disconnectGPS();
_autoConnectRTKPort.clear(); _autoConnectRTKPort.clear();
} }
#endif
#endif #endif
#endif // NO_SERIAL_LINK #endif // NO_SERIAL_LINK
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment