From 6e1c4c8e9c057a43486fb078c836fac210873f38 Mon Sep 17 00:00:00 2001
From: Christian Kandeler <christian.kandeler@nokia.com>
Date: Wed, 17 Nov 2010 17:42:56 +0100
Subject: [PATCH] Fix compilation for namespaced Qt.

Reviewed-by: Oswald Buddenhagen
---
 src/libs/utils/qtcprocess.cpp | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/libs/utils/qtcprocess.cpp b/src/libs/utils/qtcprocess.cpp
index dab401d78cf..59f3460cbc0 100644
--- a/src/libs/utils/qtcprocess.cpp
+++ b/src/libs/utils/qtcprocess.cpp
@@ -695,14 +695,18 @@ typedef struct {
     // complex expressions within the quoted string.
     bool dquote;
 } MxState;
+QT_BEGIN_NAMESPACE
 Q_DECLARE_TYPEINFO(MxState, Q_PRIMITIVE_TYPE);
+QT_END_NAMESPACE
 
 // Pushed state for the case where a $(()) expansion turns out bogus
 typedef struct {
     QString str;
     int pos, varPos;
 } MxSave;
+QT_BEGIN_NAMESPACE
 Q_DECLARE_TYPEINFO(MxSave, Q_MOVABLE_TYPE);
+QT_END_NAMESPACE
 
 #include <QtCore/QStack>
 
-- 
GitLab