summaryrefslogtreecommitdiffstats
path: root/tests/auto/gui/image/qpixmap/qpixmap.pro
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/gui/image/qpixmap/qpixmap.pro')
-rw-r--r--tests/auto/gui/image/qpixmap/qpixmap.pro2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/gui/image/qpixmap/qpixmap.pro b/tests/auto/gui/image/qpixmap/qpixmap.pro
index f079f56864..6188bf2c6e 100644
--- a/tests/auto/gui/image/qpixmap/qpixmap.pro
+++ b/tests/auto/gui/image/qpixmap/qpixmap.pro
@@ -2,7 +2,7 @@ CONFIG += testcase
TARGET = tst_qpixmap
QT += core-private gui-private testlib
-!contains(QT_CONFIG, no-widgets): QT += widgets widgets-private
+qtHaveModule(widgets): QT += widgets widgets-private
SOURCES += tst_qpixmap.cpp
!wince* {