summaryrefslogtreecommitdiffstats
path: root/examples/network/network.pro
diff options
context:
space:
mode:
Diffstat (limited to 'examples/network/network.pro')
-rw-r--r--examples/network/network.pro16
1 files changed, 11 insertions, 5 deletions
diff --git a/examples/network/network.pro b/examples/network/network.pro
index 8ed72315e2..92003950a7 100644
--- a/examples/network/network.pro
+++ b/examples/network/network.pro
@@ -11,19 +11,25 @@ qtHaveModule(widgets) {
blockingfortuneclient \
broadcastreceiver \
broadcastsender \
- fortuneclient \
- fortuneserver \
http \
loopback \
threadedfortuneserver \
googlesuggest \
torrent \
- bearermonitor \
multicastreceiver \
multicastsender
- # no QProcess
- !vxworks:!qnx:!winrt:SUBDIRS += network-chat
+ load(qfeatures)
+ !contains(QT_DISABLED_FEATURES, bearermanagement) {
+ # no QProcess
+ !vxworks:!qnx:!winrt:SUBDIRS += network-chat
+
+ SUBDIRS += \
+ bearermonitor \
+ fortuneclient \
+ fortuneserver
+
+ }
contains(QT_CONFIG, openssl):SUBDIRS += securesocketclient
contains(QT_CONFIG, openssl-linked):SUBDIRS += securesocketclient