Commit 2f291f28 authored by Gus Grubba's avatar Gus Grubba

Allow pseudo mobile builds (Native QML on Desktop)

parent 8033f575
......@@ -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