From 3f6d5a83a8360039af20e3d7bf61b0f915472c25 Mon Sep 17 00:00:00 2001
From: ck <qt-info@nokia.com>
Date: Thu, 6 Aug 2009 11:21:40 +0200
Subject: [PATCH] Bugfix: Private header is no longer included in public
 header.

---
 share/qtcreator/gdbmacros/gdbmacros_p.h | 1 -
 tests/auto/debugger/main.cpp            | 3 ++-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/share/qtcreator/gdbmacros/gdbmacros_p.h b/share/qtcreator/gdbmacros/gdbmacros_p.h
index 8c9a5af9c7e..4f5fd570c2f 100644
--- a/share/qtcreator/gdbmacros/gdbmacros_p.h
+++ b/share/qtcreator/gdbmacros/gdbmacros_p.h
@@ -43,7 +43,6 @@
 #define GDBMACROS_P_H
 
 #include <QtCore/QObject>
-#include <QtCore/private/qobject_p.h>
 
 #if defined(QT_BEGIN_NAMESPACE)
 QT_BEGIN_NAMESPACE
diff --git a/tests/auto/debugger/main.cpp b/tests/auto/debugger/main.cpp
index ee279a38c25..25099ee209c 100644
--- a/tests/auto/debugger/main.cpp
+++ b/tests/auto/debugger/main.cpp
@@ -21,12 +21,13 @@
 
 //#include <QtTest/qtest_gui.h>
 
+#include <QtCore/private/qobject_p.h>
+
 #include "gdb/gdbmi.h"
 #include "tcf/json.h"
 #include "gdbmacros.h"
 #include "gdbmacros_p.h"
 
-
 #undef NS
 #ifdef QT_NAMESPACE
 #   define STRINGIFY0(s) #s
-- 
GitLab