summaryrefslogtreecommitdiffstats
path: root/tests/auto/gui/text/qtextobject/qtextobject.pro
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/gui/text/qtextobject/qtextobject.pro')
-rw-r--r--tests/auto/gui/text/qtextobject/qtextobject.pro3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/gui/text/qtextobject/qtextobject.pro b/tests/auto/gui/text/qtextobject/qtextobject.pro
index 46cf6cc1ae..59d0e51e42 100644
--- a/tests/auto/gui/text/qtextobject/qtextobject.pro
+++ b/tests/auto/gui/text/qtextobject/qtextobject.pro
@@ -5,7 +5,8 @@
CONFIG += testcase
CONFIG += parallel_test
TARGET = tst_qtextobject
-QT += widgets testlib
+QT += testlib
+!contains(QT_CONFIG, no-widgets): QT += widgets
SOURCES += tst_qtextobject.cpp