diff --git a/src/declarative/core/plugin.cpp b/src/declarative/core/plugin.cpp index cb5282a3..9bd9114e 100644 --- a/src/declarative/core/plugin.cpp +++ b/src/declarative/core/plugin.cpp @@ -27,6 +27,7 @@ #include #include +#include #include #include "packagesmodelitem.h" @@ -45,6 +46,8 @@ class HawaiiShellCorePlugin : public QQmlExtensionPlugin void HawaiiShellCorePlugin::registerTypes(const char *uri) { // @uri Hawaii.Shell.Core + qmlRegisterUncreatableType(uri, 1, 0, "Containment", + QStringLiteral("Do not create Containment")); qmlRegisterUncreatableType(uri, 1, 0, "Element", QStringLiteral("Do not create Element")); qmlRegisterUncreatableType(uri, 1, 0, "PackagesModelItem",