Index: sources/gui/guiglobals.cpp =================================================================== diff -u -rc6a09899d2e46dc0bda5a6b994aa257953626f97 -r595ed1fbe8066960afd4c8fea168208e81b173d9 --- sources/gui/guiglobals.cpp (.../guiglobals.cpp) (revision c6a09899d2e46dc0bda5a6b994aa257953626f97) +++ sources/gui/guiglobals.cpp (.../guiglobals.cpp) (revision 595ed1fbe8066960afd4c8fea168208e81b173d9) @@ -20,6 +20,10 @@ #include "logger.h" #include "guiview.h" +// Project +#include "mmodel.h" +#include "vview.h" + namespace Gui { QQuickView *_viewer = nullptr; @@ -35,6 +39,8 @@ qRegisterMetaType ("GuiAlarmID" ); qRegisterMetaType ("GuiAlarmPriority"); + + REGISTER_MODEL_METATYPES } /*! @@ -45,6 +51,8 @@ { qmlRegisterType ("Gui.View" , 0, 1, "GuiView"); qmlRegisterUncreatableType ("Gui.Actions", 0, 1, "GuiActions", QStringLiteral("Used only for enumerations no need to have an object")); + + REGISTER_VIEW_TYPES } /*!