Unverified Commit 6a75949d authored by Gus Grubba's avatar Gus Grubba Committed by GitHub

Merge pull request #5868 from mavlink/pseudoMobile

Allow pseudo mobile builds (Native QML on Desktop)
parents 8033f575 2f291f28
......@@ -233,10 +233,12 @@ QT += \
multimedia
}
!MobileBuild {
QT += \
printsupport \
serialport \
AndroidBuild || iOSBuild {
# Android and iOS don't unclude these
} else {
QT += \
printsupport \
serialport \
}
contains(DEFINES, QGC_ENABLE_BLUETOOTH) {
......
......@@ -613,11 +613,13 @@ void LinkManager::_updateAutoConnectLinks(void)
}
// Check for RTK GPS connection gone
#if !defined(__mobile__)
if (!_autoConnectRTKPort.isEmpty() && !currentPorts.contains(_autoConnectRTKPort)) {
qCDebug(LinkManagerLog) << "RTK GPS disconnected" << _autoConnectRTKPort;
_toolbox->gpsManager()->disconnectGPS();
_autoConnectRTKPort.clear();
}
#endif
#endif
#endif // NO_SERIAL_LINK
......
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