summaryrefslogtreecommitdiffstats
path: root/tests/auto/qstylesheetstyle
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qstylesheetstyle')
-rw-r--r--tests/auto/qstylesheetstyle/qstylesheetstyle.pro2
-rw-r--r--tests/auto/qstylesheetstyle/tst_qstylesheetstyle.cpp6
2 files changed, 1 insertions, 7 deletions
diff --git a/tests/auto/qstylesheetstyle/qstylesheetstyle.pro b/tests/auto/qstylesheetstyle/qstylesheetstyle.pro
index eada969d96..1575616b19 100644
--- a/tests/auto/qstylesheetstyle/qstylesheetstyle.pro
+++ b/tests/auto/qstylesheetstyle/qstylesheetstyle.pro
@@ -1,5 +1,5 @@
load(qttest_p4)
-
+QT += gui-private
# Input
SOURCES += tst_qstylesheetstyle.cpp
RESOURCES += resources.qrc
diff --git a/tests/auto/qstylesheetstyle/tst_qstylesheetstyle.cpp b/tests/auto/qstylesheetstyle/tst_qstylesheetstyle.cpp
index 83adf49fa4..cb51c3dfdd 100644
--- a/tests/auto/qstylesheetstyle/tst_qstylesheetstyle.cpp
+++ b/tests/auto/qstylesheetstyle/tst_qstylesheetstyle.cpp
@@ -43,9 +43,6 @@
#include <QtTest/QtTest>
#include <QtDebug>
#include <QMetaObject>
-#ifdef QT3_SUPPORT
-#include <Q3ProgressBar>
-#endif
#include <private/qstylesheetstyle_p.h>
#include "../platformquirks.h"
@@ -1291,9 +1288,6 @@ void tst_QStyleSheetStyle::emptyStyleSheet()
QWidget w;
QHBoxLayout layout(&w);
w.setLayout(&layout);
-#ifdef QT3_SUPPORT
- layout.addWidget(new Q3ProgressBar(&w)); //task 231137
-#endif
layout.addWidget(new QPushButton("push", &w));
layout.addWidget(new QToolButton(&w));
QLabel label("toto", &w);