Browse Source

QGCApplication.cc: add GimbalController and register to qml

Co-authored-by: davidsastresas <davidsastresas@gmail.com>
Co-authored-by: Julian Oes <julian@oes.ch>
QGC4.4
davidsastresas 12 months ago committed by Julian Oes
parent
commit
0e4435f71d
No known key found for this signature in database
GPG Key ID: F0ED380FEA56DE41
  1. 2
      src/QGCApplication.cc

2
src/QGCApplication.cc

@ -105,6 +105,7 @@
#include "RemoteIDManager.h" #include "RemoteIDManager.h"
#include "CustomAction.h" #include "CustomAction.h"
#include "CustomActionManager.h" #include "CustomActionManager.h"
#include "GimbalController.h"
#if defined(QGC_ENABLE_PAIRING) #if defined(QGC_ENABLE_PAIRING)
#include "PairingManager.h" #include "PairingManager.h"
@ -467,6 +468,7 @@ void QGCApplication::_initCommon()
qmlRegisterUncreatableType<VehicleLinkManager> (kQGCVehicle, 1, 0, "VehicleLinkManager", kRefOnly); qmlRegisterUncreatableType<VehicleLinkManager> (kQGCVehicle, 1, 0, "VehicleLinkManager", kRefOnly);
qmlRegisterUncreatableType<Autotune> (kQGCVehicle, 1, 0, "Autotune", kRefOnly); qmlRegisterUncreatableType<Autotune> (kQGCVehicle, 1, 0, "Autotune", kRefOnly);
qmlRegisterUncreatableType<RemoteIDManager> (kQGCVehicle, 1, 0, "RemoteIDManager", kRefOnly); qmlRegisterUncreatableType<RemoteIDManager> (kQGCVehicle, 1, 0, "RemoteIDManager", kRefOnly);
qmlRegisterUncreatableType<GimbalController> (kQGCVehicle, 1, 0, "GimbalController", kRefOnly);
qmlRegisterUncreatableType<MissionController> (kQGCControllers, 1, 0, "MissionController", kRefOnly); qmlRegisterUncreatableType<MissionController> (kQGCControllers, 1, 0, "MissionController", kRefOnly);
qmlRegisterUncreatableType<GeoFenceController> (kQGCControllers, 1, 0, "GeoFenceController", kRefOnly); qmlRegisterUncreatableType<GeoFenceController> (kQGCControllers, 1, 0, "GeoFenceController", kRefOnly);

Loading…
Cancel
Save