Remove a couple of QtGui/QtGui header entries
authorAndy Shaw <andy.shaw@digia.com>
Tue, 14 Feb 2012 15:39:08 +0000 (16:39 +0100)
committerQt by Nokia <qt-info@nokia.com>
Wed, 15 Feb 2012 16:05:45 +0000 (17:05 +0100)
Removed a couple of header entries since they were causing build
problems on Mac.  Additionally it is a bit much to include QtGui/QtGui
in a private header file.  Added in an include to QCache and QGradient
which was necessary afterwards.

Change-Id: I442efc799a4c81b50ec30d58f1aedfb08e686fcb
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
src/gui/opengl/qopenglgradientcache_p.h
src/gui/opengl/qopengltexturecache_p.h

index 4035689..7acc8c1 100644 (file)
@@ -52,9 +52,9 @@
 
 #include <QMultiHash>
 #include <QObject>
-#include <QtGui/QtGui>
 #include <private/qopenglcontext_p.h>
 #include <QtCore/qmutex.h>
+#include <QGradient>
 
 QT_BEGIN_NAMESPACE
 
index 549a2f4..8ff20e9 100644 (file)
@@ -55,7 +55,7 @@
 
 #include <QHash>
 #include <QObject>
-#include <QtGui/QtGui>
+#include <QCache>
 #include <private/qopenglcontext_p.h>
 #include <QtCore/qmutex.h>