summaryrefslogtreecommitdiffstats
path: root/tests/auto/gui/painting
diff options
context:
space:
mode:
authorDebao Zhang <dbzhang800@gmail.com>2012-03-09 18:09:17 -0800
committerQt by Nokia <qt-info@nokia.com>2012-03-12 13:14:05 +0100
commit57cf7c8a1bb1905294038ba5c98f1e8235fc08af (patch)
tree771b2df9b6282c69a0eba0175e7e3753434ea34a /tests/auto/gui/painting
parenteb57da5b3ff9915d2254fdbf57992fa0320d9041 (diff)
Clean up some auto tests of gui
These unit tests do not depent on QtWidget. Change-Id: I95526125c563885c0531da7ebfee06bca9a87b1c Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Diffstat (limited to 'tests/auto/gui/painting')
-rw-r--r--tests/auto/gui/painting/qbrush/qbrush.pro2
-rw-r--r--tests/auto/gui/painting/qpolygon/qpolygon.pro2
-rw-r--r--tests/auto/gui/painting/qpolygon/tst_qpolygon.cpp1
3 files changed, 2 insertions, 3 deletions
diff --git a/tests/auto/gui/painting/qbrush/qbrush.pro b/tests/auto/gui/painting/qbrush/qbrush.pro
index 2a470c4db1..3ef9b36ef5 100644
--- a/tests/auto/gui/painting/qbrush/qbrush.pro
+++ b/tests/auto/gui/painting/qbrush/qbrush.pro
@@ -1,4 +1,4 @@
CONFIG += testcase
TARGET = tst_qbrush
-QT += widgets testlib
+QT += testlib
SOURCES += tst_qbrush.cpp
diff --git a/tests/auto/gui/painting/qpolygon/qpolygon.pro b/tests/auto/gui/painting/qpolygon/qpolygon.pro
index 869fbd30c5..804fc0dfd2 100644
--- a/tests/auto/gui/painting/qpolygon/qpolygon.pro
+++ b/tests/auto/gui/painting/qpolygon/qpolygon.pro
@@ -1,6 +1,6 @@
CONFIG += testcase
TARGET = tst_qpolygon
-QT += widgets testlib
+QT += testlib
SOURCES += tst_qpolygon.cpp
unix:!mac:LIBS+=-lm
diff --git a/tests/auto/gui/painting/qpolygon/tst_qpolygon.cpp b/tests/auto/gui/painting/qpolygon/tst_qpolygon.cpp
index 5e5f661a09..f9dbbbf219 100644
--- a/tests/auto/gui/painting/qpolygon/tst_qpolygon.cpp
+++ b/tests/auto/gui/painting/qpolygon/tst_qpolygon.cpp
@@ -47,7 +47,6 @@
#include <math.h>
#include <qpainter.h>
-#include <qdialog.h>
class tst_QPolygon : public QObject
{