From 0e4435f71d8fcf2d7dd1f0c90950847564084d55 Mon Sep 17 00:00:00 2001 From: davidsastresas Date: Sat, 9 Mar 2024 13:24:43 +0100 Subject: [PATCH] QGCApplication.cc: add GimbalController and register to qml Co-authored-by: davidsastresas Co-authored-by: Julian Oes --- src/QGCApplication.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/QGCApplication.cc b/src/QGCApplication.cc index a2a3a14..7992ed0 100644 --- a/src/QGCApplication.cc +++ b/src/QGCApplication.cc @@ -105,6 +105,7 @@ #include "RemoteIDManager.h" #include "CustomAction.h" #include "CustomActionManager.h" +#include "GimbalController.h" #if defined(QGC_ENABLE_PAIRING) #include "PairingManager.h" @@ -467,6 +468,7 @@ void QGCApplication::_initCommon() qmlRegisterUncreatableType (kQGCVehicle, 1, 0, "VehicleLinkManager", kRefOnly); qmlRegisterUncreatableType (kQGCVehicle, 1, 0, "Autotune", kRefOnly); qmlRegisterUncreatableType (kQGCVehicle, 1, 0, "RemoteIDManager", kRefOnly); + qmlRegisterUncreatableType (kQGCVehicle, 1, 0, "GimbalController", kRefOnly); qmlRegisterUncreatableType (kQGCControllers, 1, 0, "MissionController", kRefOnly); qmlRegisterUncreatableType (kQGCControllers, 1, 0, "GeoFenceController", kRefOnly);