From 06934e6adbb4d600006ba485f45c26bc0b743244 Mon Sep 17 00:00:00 2001 From: Don Gagne Date: Sun, 11 Oct 2015 21:24:45 -0700 Subject: [PATCH] Move widget controllers out of Mobile build --- src/QGCApplication.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/QGCApplication.cc b/src/QGCApplication.cc index 65c4d95d6..4230ee0f1 100644 --- a/src/QGCApplication.cc +++ b/src/QGCApplication.cc @@ -334,9 +334,7 @@ void QGCApplication::_initCommon(void) qmlRegisterUncreatableType ("QGroundControl", 1, 0, "QGCQGeoCoordinate", "Reference only"); qmlRegisterUncreatableType ("QGroundControl", 1, 0, "CoordinateVector", "Reference only"); - qmlRegisterType ("QGroundControl.Controllers", 1, 0, "ViewWidgetController"); qmlRegisterType ("QGroundControl.Controllers", 1, 0, "ParameterEditorController"); - qmlRegisterType ("QGroundControl.Controllers", 1, 0, "CustomCommandWidgetController"); qmlRegisterType ("QGroundControl.Controllers", 1, 0, "FlightModesComponentController"); qmlRegisterType ("QGroundControl.Controllers", 1, 0, "AirframeComponentController"); qmlRegisterType ("QGroundControl.Controllers", 1, 0, "SensorsComponentController"); @@ -345,6 +343,8 @@ void QGCApplication::_initCommon(void) qmlRegisterType ("QGroundControl.Controllers", 1, 0, "ScreenToolsController"); #ifndef __mobile__ + qmlRegisterType ("QGroundControl.Controllers", 1, 0, "ViewWidgetController"); + qmlRegisterType ("QGroundControl.Controllers", 1, 0, "CustomCommandWidgetController"); qmlRegisterType ("QGroundControl.Controllers", 1, 0, "FirmwareUpgradeController"); qmlRegisterType ("QGroundControl.Controllers", 1, 0, "JoystickConfigController"); #endif -- 2.22.0