Fix test cases including headers with fixed Qt version
authorPekka Vuorela <pekka.ta.vuorela@nokia.com>
Thu, 24 Nov 2011 08:55:53 +0000 (10:55 +0200)
committerQt by Nokia <qt-info@nokia.com>
Mon, 28 Nov 2011 09:54:11 +0000 (10:54 +0100)
Change-Id: Id6a8e9bf732d3eab69f1ef337dde626845125507
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Reviewed-by: Joona Petrell <joona.t.petrell@nokia.com>
tests/auto/qtquick1/qdeclarativeanchors/tst_qdeclarativeanchors.cpp
tests/auto/qtquick1/qdeclarativetext/tst_qdeclarativetext.cpp
tests/auto/qtquick1/qdeclarativetextedit/tst_qdeclarativetextedit.cpp

index e58e917..5e83fe1 100644 (file)
@@ -41,7 +41,7 @@
 #include <qtest.h>
 #include <QSignalSpy>
 #include <QtWidgets/QGraphicsWidget>
-#include <QtWidgets/5.0.0/QtWidgets/private/qgraphicsitem_p.h>
+#include <private/qgraphicsitem_p.h>
 #include <QtDeclarative/qdeclarativeengine.h>
 #include <QtDeclarative/qdeclarativecomponent.h>
 #include <QtQuick1/qdeclarativeview.h>
index 61daebb..fdd9c72 100644 (file)
@@ -49,7 +49,7 @@
 #include <QGraphicsSceneMouseEvent>
 #include <qmath.h>
 #include <QtQuick1/QDeclarativeView>
-#include <QtWidgets/5.0.0/QtWidgets/private/qapplication_p.h>
+#include <private/qapplication_p.h>
 #include <limits.h>
 
 #include "testhttpserver.h"
index f6af129..f64688e 100644 (file)
@@ -57,7 +57,7 @@
 #include <QInputContext>
 #include <QClipboard>
 #include <QMimeData>
-#include <QtWidgets/5.0.0/QtWidgets/private/qapplication_p.h>
+#include <private/qapplication_p.h>
 #include <private/qtextcontrol_p.h>
 
 Q_DECLARE_METATYPE(QDeclarative1TextEdit::SelectionMode)