Browse Source

RadioComponentController fix for Custom builds

Signed-off-by: numan.uyar <numan.uyar@titra.com.tr>
QGC4.4
numan.uyar 4 years ago committed by Don Gagne
parent
commit
40f0c65ce2
  1. 1
      src/FirmwarePlugin/PX4/PX4FirmwarePlugin.cc
  2. 2
      src/QGCApplication.cc

1
src/FirmwarePlugin/PX4/PX4FirmwarePlugin.cc

@ -58,7 +58,6 @@ PX4FirmwarePlugin::PX4FirmwarePlugin()
qmlRegisterType<AirframeComponentController> ("QGroundControl.Controllers", 1, 0, "AirframeComponentController"); qmlRegisterType<AirframeComponentController> ("QGroundControl.Controllers", 1, 0, "AirframeComponentController");
qmlRegisterType<SensorsComponentController> ("QGroundControl.Controllers", 1, 0, "SensorsComponentController"); qmlRegisterType<SensorsComponentController> ("QGroundControl.Controllers", 1, 0, "SensorsComponentController");
qmlRegisterType<PowerComponentController> ("QGroundControl.Controllers", 1, 0, "PowerComponentController"); qmlRegisterType<PowerComponentController> ("QGroundControl.Controllers", 1, 0, "PowerComponentController");
qmlRegisterType<RadioComponentController> ("QGroundControl.Controllers", 1, 0, "RadioComponentController");
struct Modes2Name { struct Modes2Name {
uint8_t main_mode; uint8_t main_mode;

2
src/QGCApplication.cc

@ -52,6 +52,7 @@
#include "QGCLoggingCategory.h" #include "QGCLoggingCategory.h"
#include "ParameterEditorController.h" #include "ParameterEditorController.h"
#include "ESP8266ComponentController.h" #include "ESP8266ComponentController.h"
#include "RadioComponentController.h"
#include "ScreenToolsController.h" #include "ScreenToolsController.h"
#include "QGCFileDialogController.h" #include "QGCFileDialogController.h"
#include "RCChannelMonitorController.h" #include "RCChannelMonitorController.h"
@ -569,6 +570,7 @@ void QGCApplication::_initCommon()
qmlRegisterType<ParameterEditorController> (kQGCControllers, 1, 0, "ParameterEditorController"); qmlRegisterType<ParameterEditorController> (kQGCControllers, 1, 0, "ParameterEditorController");
qmlRegisterType<ESP8266ComponentController> (kQGCControllers, 1, 0, "ESP8266ComponentController"); qmlRegisterType<ESP8266ComponentController> (kQGCControllers, 1, 0, "ESP8266ComponentController");
qmlRegisterType<RadioComponentController> (kQGCControllers, 1, 0, "RadioComponentController");
qmlRegisterType<ScreenToolsController> (kQGCControllers, 1, 0, "ScreenToolsController"); qmlRegisterType<ScreenToolsController> (kQGCControllers, 1, 0, "ScreenToolsController");
qmlRegisterType<PlanMasterController> (kQGCControllers, 1, 0, "PlanMasterController"); qmlRegisterType<PlanMasterController> (kQGCControllers, 1, 0, "PlanMasterController");
qmlRegisterType<QGCFileDialogController> (kQGCControllers, 1, 0, "QGCFileDialogController"); qmlRegisterType<QGCFileDialogController> (kQGCControllers, 1, 0, "QGCFileDialogController");

Loading…
Cancel
Save