summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2017-03-06 15:35:52 +0100
committerUlf Hermann <ulf.hermann@qt.io>2017-03-07 08:47:54 +0000
commitf8137c81d38dc05f333afeaffc0f46a38a1e2f06 (patch)
tree4643c1146abab3da1d24cc5a3427c881f2583e81 /examples
parent1362e8de7ebaf87d2b389c59ec5392f6599d27e9 (diff)
downloadqtsvg-f8137c81d38dc05f333afeaffc0f46a38a1e2f06.tar.gz
Fix building of examples without bearermanagenement
The qfeatures mechanism doesn't exist anymore. Use qtConfig(...) instead. Change-Id: I8285d7f92d87c07d316a47ef96178d9024aac40f Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Diffstat (limited to 'examples')
-rw-r--r--examples/svg/network/bearercloud/bearercloud.pro1
-rw-r--r--examples/svg/network/network.pro3
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/svg/network/bearercloud/bearercloud.pro b/examples/svg/network/bearercloud/bearercloud.pro
index 723c8c7..f69780b 100644
--- a/examples/svg/network/bearercloud/bearercloud.pro
+++ b/examples/svg/network/bearercloud/bearercloud.pro
@@ -10,6 +10,7 @@ RESOURCES = icons.qrc
TARGET = bearercloud
QT = core gui widgets network svg
+requires(qtConfig(bearermanagement))
CONFIG += console
diff --git a/examples/svg/network/network.pro b/examples/svg/network/network.pro
index 0b87d29..4f5c4cf 100644
--- a/examples/svg/network/network.pro
+++ b/examples/svg/network/network.pro
@@ -1,3 +1,2 @@
TEMPLATE = subdirs
-load(qfeatures)
-qtHaveModule(widgets):!contains(QT_DISABLED_FEATURES, bearermanagement): SUBDIRS += bearercloud
+qtHaveModule(widgets):qtHaveModule(network): SUBDIRS += bearercloud