diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2017-03-06 15:35:52 +0100 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2017-03-07 08:47:54 +0000 |
commit | f8137c81d38dc05f333afeaffc0f46a38a1e2f06 (patch) | |
tree | 4643c1146abab3da1d24cc5a3427c881f2583e81 /examples | |
parent | 1362e8de7ebaf87d2b389c59ec5392f6599d27e9 (diff) | |
download | qtsvg-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.pro | 1 | ||||
-rw-r--r-- | examples/svg/network/network.pro | 3 |
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 |