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.pro2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/gui/text/qtextobject/qtextobject.pro b/tests/auto/gui/text/qtextobject/qtextobject.pro
index 59312ac1d5..ebeba2a64a 100644
--- a/tests/auto/gui/text/qtextobject/qtextobject.pro
+++ b/tests/auto/gui/text/qtextobject/qtextobject.pro
@@ -6,7 +6,7 @@ CONFIG += testcase
CONFIG += parallel_test
TARGET = tst_qtextobject
QT += testlib
-!contains(QT_CONFIG, no-widgets): QT += widgets
+qtHaveModule(widgets): QT += widgets
SOURCES += tst_qtextobject.cpp