From cadd9a6a4084d93a2e146cf1bdce04a1272c91cf Mon Sep 17 00:00:00 2001
From: ck <qt-info@nokia.com>
Date: Thu, 1 Apr 2010 11:17:38 +0200
Subject: [PATCH] Fix compilation with namespaced Qt.

---
 src/plugins/qmldesigner/core/include/nodeinstanceview.h         | 2 ++
 .../qmldesigner/core/instances/qmlpropertychangesnodeinstance.h | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/src/plugins/qmldesigner/core/include/nodeinstanceview.h b/src/plugins/qmldesigner/core/include/nodeinstanceview.h
index 402643d3aa9..67851008991 100644
--- a/src/plugins/qmldesigner/core/include/nodeinstanceview.h
+++ b/src/plugins/qmldesigner/core/include/nodeinstanceview.h
@@ -39,9 +39,11 @@
 #include <QHash>
 #include <QWeakPointer>
 
+QT_BEGIN_NAMESPACE
 class QDeclarativeEngine;
 class QGraphicsView;
 class QFileSystemWatcher;
+QT_END_NAMESPACE
 
 
 namespace QmlDesigner {
diff --git a/src/plugins/qmldesigner/core/instances/qmlpropertychangesnodeinstance.h b/src/plugins/qmldesigner/core/instances/qmlpropertychangesnodeinstance.h
index 896fa3d210e..2a3b7926479 100644
--- a/src/plugins/qmldesigner/core/instances/qmlpropertychangesnodeinstance.h
+++ b/src/plugins/qmldesigner/core/instances/qmlpropertychangesnodeinstance.h
@@ -36,7 +36,9 @@
 #include <QPair>
 #include <QWeakPointer>
 
+QT_BEGIN_NAMESPACE
 class QDeclarativeProperty;
+QT_END_NAMESPACE
 
 namespace QmlDesigner {
 
-- 
GitLab