diff --git a/src/plugins/qmldesigner/designercore/include/qmlobjectnode.h b/src/plugins/qmldesigner/designercore/include/qmlobjectnode.h
index 11d63dc79c1ee6f84372c00e23165884bfa28413..3f6a2260f08ae4fa932b6e28ace0477ebcb63e0c 100644
--- a/src/plugins/qmldesigner/designercore/include/qmlobjectnode.h
+++ b/src/plugins/qmldesigner/designercore/include/qmlobjectnode.h
@@ -45,8 +45,8 @@ class QmlPropertyChanges;
 class QMLDESIGNERCORE_EXPORT QmlObjectNode : public QmlModelNodeFacade
 {
 public:
-    QmlObjectNode() : QmlModelNodeFacade() {}
-    QmlObjectNode(const ModelNode &modelNode)  : QmlModelNodeFacade(modelNode) {}
+    QmlObjectNode();
+    QmlObjectNode(const ModelNode &modelNode);
 
     bool hasNodeParent() const;
     bool hasInstanceParent() const;
diff --git a/src/plugins/qmldesigner/designercore/model/qmlobjectnode.cpp b/src/plugins/qmldesigner/designercore/model/qmlobjectnode.cpp
index 9343d45b54e6cf15750bd2e6de191deb54f13238..e7fff45e2aba924b3d308ebdb973d733e126a06c 100644
--- a/src/plugins/qmldesigner/designercore/model/qmlobjectnode.cpp
+++ b/src/plugins/qmldesigner/designercore/model/qmlobjectnode.cpp
@@ -449,6 +449,15 @@ QmlItemNode QmlObjectNode::itemForInstance(const NodeInstance &instance) const
     return QmlItemNode(ModelNode(instance.modelNode(), qmlModelView()));
 }
 
+QmlObjectNode::QmlObjectNode()
+    : QmlModelNodeFacade()
+{
+}
+
+QmlObjectNode::QmlObjectNode(const ModelNode &modelNode)
+    : QmlModelNodeFacade(modelNode)
+{
+}
 bool QmlObjectNode::hasNodeParent() const
 {
     return modelNode().hasParentProperty();