summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/declarative/fx/qfxgraphicsobjectcontainer.cpp1
-rw-r--r--src/declarative/fx/qfxgraphicsobjectcontainer.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/declarative/fx/qfxgraphicsobjectcontainer.cpp b/src/declarative/fx/qfxgraphicsobjectcontainer.cpp
index 479a21d..a82ea3d 100644
--- a/src/declarative/fx/qfxgraphicsobjectcontainer.cpp
+++ b/src/declarative/fx/qfxgraphicsobjectcontainer.cpp
@@ -55,6 +55,7 @@ QT_BEGIN_NAMESPACE
\brief The QFxGraphicsObjectContainer class allows you to add QGraphicsObjects into Fluid UI applications.
*/
+QML_DEFINE_NOCREATE_TYPE(QGraphicsObject)
QML_DEFINE_TYPE(QFxGraphicsObjectContainer, GraphicsObjectContainer)
QFxGraphicsObjectContainer::QFxGraphicsObjectContainer(QFxItem *parent)
diff --git a/src/declarative/fx/qfxgraphicsobjectcontainer.h b/src/declarative/fx/qfxgraphicsobjectcontainer.h
index e118555..165bc48 100644
--- a/src/declarative/fx/qfxgraphicsobjectcontainer.h
+++ b/src/declarative/fx/qfxgraphicsobjectcontainer.h
@@ -75,6 +75,7 @@ private:
QT_END_NAMESPACE
+QML_DECLARE_TYPE(QGraphicsObject)
QML_DECLARE_TYPE(QFxGraphicsObjectContainer)
QT_END_HEADER