summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@digia.com>2012-12-21 11:01:36 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-01-11 15:15:41 +0100
commit8085c96561fa6db305d427d3d65c91f14b8c3ae9 (patch)
treec4b5fb928be52d5394c9653eb22bea2c0bbb0639 /src
parent7e0ea26c3d4a8e9f4088f0220462f35abd98816d (diff)
downloadqtsvg-8085c96561fa6db305d427d3d65c91f14b8c3ae9.tar.gz
make use of qtHaveModule()
Change-Id: Idd8bca1e8e9bb183bc6725b9a9d6a220d609869d Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'src')
-rw-r--r--src/plugins/iconengines/iconengines.pro2
-rw-r--r--src/src.pro2
-rw-r--r--src/svg/svg.pro2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/iconengines/iconengines.pro b/src/plugins/iconengines/iconengines.pro
index a3053ec..e7d1871 100644
--- a/src/plugins/iconengines/iconengines.pro
+++ b/src/plugins/iconengines/iconengines.pro
@@ -1,3 +1,3 @@
TEMPLATE = subdirs
-!contains(QT_CONFIG, no-widgets): SUBDIRS += svgiconengine
+qtHaveModule(widgets): SUBDIRS += svgiconengine
diff --git a/src/src.pro b/src/src.pro
index f023840..a1b5d69 100644
--- a/src/src.pro
+++ b/src/src.pro
@@ -1,3 +1,3 @@
TEMPLATE = subdirs
CONFIG += ordered
-!isEmpty(QT.gui.name): SUBDIRS += svg plugins
+qtHaveModule(gui): SUBDIRS += svg plugins
diff --git a/src/svg/svg.pro b/src/svg/svg.pro
index 0949849..8ee9061 100644
--- a/src/svg/svg.pro
+++ b/src/svg/svg.pro
@@ -1,6 +1,6 @@
TARGET = QtSvg
QT = core-private gui-private
-!contains(QT_CONFIG, no-widgets): QT += widgets-private
+qtHaveModule(widgets): QT += widgets-private
DEFINES += QT_NO_USING_NAMESPACE
win32-msvc*|win32-icc:QMAKE_LFLAGS += /BASE:0x66000000