diff --git a/src/QGCApplication.cc b/src/QGCApplication.cc index 4672d3c951b0e4cc21b0d5093965dcb1809b667c..972dcb8eed5fa1dbdc3132649feda15de2f9ff14 100644 --- a/src/QGCApplication.cc +++ b/src/QGCApplication.cc @@ -61,6 +61,8 @@ #include "QGCPalette.h" #include "ScreenTools.h" #include "QGCLoggingCategory.h" +#include "ViewWidgetController.h" +#include "ParameterEditorController.h" #ifdef QGC_RTLAB_ENABLED #include "OpalLink.h" @@ -262,6 +264,8 @@ void QGCApplication::_initCommon(void) // Register our Qml objects qmlRegisterType("QGroundControl.Palette", 1, 0, "QGCPalette"); qmlRegisterType("QGroundControl.ScreenTools", 1, 0, "ScreenTools"); + qmlRegisterType("QGroundControl.Controllers", 1, 0, "ViewWidgetController"); + qmlRegisterType("QGroundControl.Controllers", 1, 0, "ParameterEditorController"); } bool QGCApplication::_initForNormalAppBoot(void)