summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/doc.pro2
-rw-r--r--examples/declarative/declarative.pro2
-rw-r--r--examples/examples.pro4
-rw-r--r--src/plugins/geoservices/geoservices.pro2
-rw-r--r--src/src.pro2
-rw-r--r--tests/auto/auto.pro2
6 files changed, 7 insertions, 7 deletions
diff --git a/doc/doc.pro b/doc/doc.pro
index 94ad926c..1d660174 100644
--- a/doc/doc.pro
+++ b/doc/doc.pro
@@ -1,4 +1,4 @@
TEMPLATE = subdirs
# Doc snippets use widgets
-!isEmpty(QT.widgets.name): SUBDIRS += src/snippets
+qtHaveModule(widgets): SUBDIRS += src/snippets
diff --git a/examples/declarative/declarative.pro b/examples/declarative/declarative.pro
index 4eae9e65..64e6e1b9 100644
--- a/examples/declarative/declarative.pro
+++ b/examples/declarative/declarative.pro
@@ -1,3 +1,3 @@
TEMPLATE = subdirs
SUBDIRS += flickr places places_list places_map
-!isEmpty(QT.multimedia.name):SUBDIRS += mapviewer
+qtHaveModule(multimedia): SUBDIRS += mapviewer
diff --git a/examples/examples.pro b/examples/examples.pro
index babe1b68..fa19990e 100644
--- a/examples/examples.pro
+++ b/examples/examples.pro
@@ -1,4 +1,4 @@
TEMPLATE = subdirs
-!isEmpty(QT.quick.name): SUBDIRS += declarative weatherinfo
-!contains(QT_CONFIG, no-widgets): SUBDIRS += logfilepositionsource
+qtHaveModule(quick): SUBDIRS += declarative weatherinfo
+qtHaveModule(widgets): SUBDIRS += logfilepositionsource
diff --git a/src/plugins/geoservices/geoservices.pro b/src/plugins/geoservices/geoservices.pro
index c93e578e..4daac38c 100644
--- a/src/plugins/geoservices/geoservices.pro
+++ b/src/plugins/geoservices/geoservices.pro
@@ -2,4 +2,4 @@ TEMPLATE = subdirs
SUBDIRS = nokia
-!isEmpty(QT.jsondb.name):SUBDIRS += places_jsondb
+qtHaveModule(jsondb): SUBDIRS += places_jsondb
diff --git a/src/src.pro b/src/src.pro
index 676d30d8..8895e83a 100644
--- a/src/src.pro
+++ b/src/src.pro
@@ -2,5 +2,5 @@ TEMPLATE = subdirs
CONFIG += ordered
SUBDIRS += 3rdparty location plugins
-!isEmpty(QT.quick.name): SUBDIRS += imports
+qtHaveModule(quick): SUBDIRS += imports
diff --git a/tests/auto/auto.pro b/tests/auto/auto.pro
index 5d078331..88adb7d4 100644
--- a/tests/auto/auto.pro
+++ b/tests/auto/auto.pro
@@ -67,4 +67,4 @@ SUBDIRS += geotestplugin \
!mac: SUBDIRS += declarative_ui
-!isEmpty(QT.jsondb.name):SUBDIRS += qplacemanager_jsondb
+qtHaveModule(jsondb): SUBDIRS += qplacemanager_jsondb