diff options
author | Debao Zhang <dbzhang800@gmail.com> | 2012-03-09 18:09:17 -0800 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-03-12 13:14:05 +0100 |
commit | 57cf7c8a1bb1905294038ba5c98f1e8235fc08af (patch) | |
tree | 771b2df9b6282c69a0eba0175e7e3753434ea34a /tests/auto/gui/painting/qpolygon | |
parent | eb57da5b3ff9915d2254fdbf57992fa0320d9041 (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/qpolygon')
-rw-r--r-- | tests/auto/gui/painting/qpolygon/qpolygon.pro | 2 | ||||
-rw-r--r-- | tests/auto/gui/painting/qpolygon/tst_qpolygon.cpp | 1 |
2 files changed, 1 insertions, 2 deletions
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 { |