summaryrefslogtreecommitdiffstats
path: root/tests/auto/gui/kernel/qpalette
diff options
context:
space:
mode:
authorDebao Zhang <dbzhang800@gmail.com>2012-03-08 18:37:30 -0800
committerQt by Nokia <qt-info@nokia.com>2012-03-09 11:05:18 +0100
commit37c46fee300d265ea17fafdb7f9f9e75caded16a (patch)
tree37dea45bbfec84a5df7dd20ba23e4da84b0539ec /tests/auto/gui/kernel/qpalette
parent9f86923b5c936eefb6f435b46c1dbfc260aa431d (diff)
Clean up for some auto tests of the gui/kernel.
They are not dependent on QtWidgets. Change-Id: Icbc0b0b6f0b72537fd3058cc038a1f5c4bf2aba7 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Diffstat (limited to 'tests/auto/gui/kernel/qpalette')
-rw-r--r--tests/auto/gui/kernel/qpalette/qpalette.pro2
-rw-r--r--tests/auto/gui/kernel/qpalette/tst_qpalette.cpp1
2 files changed, 1 insertions, 2 deletions
diff --git a/tests/auto/gui/kernel/qpalette/qpalette.pro b/tests/auto/gui/kernel/qpalette/qpalette.pro
index 8975704f0f..9dd3f3e715 100644
--- a/tests/auto/gui/kernel/qpalette/qpalette.pro
+++ b/tests/auto/gui/kernel/qpalette/qpalette.pro
@@ -1,6 +1,6 @@
CONFIG += testcase
TARGET = tst_qpalette
-QT += widgets testlib
+QT += testlib
SOURCES += tst_qpalette.cpp
diff --git a/tests/auto/gui/kernel/qpalette/tst_qpalette.cpp b/tests/auto/gui/kernel/qpalette/tst_qpalette.cpp
index cc46831965..dc393fc2c3 100644
--- a/tests/auto/gui/kernel/qpalette/tst_qpalette.cpp
+++ b/tests/auto/gui/kernel/qpalette/tst_qpalette.cpp
@@ -43,7 +43,6 @@
#include <QtTest/QtTest>
#include "qpalette.h"
-#include <qapplication.h>
class tst_QPalette : public QObject
{