qt5base-lts/examples/network/network.pro
Oswald Buddenhagen 586adeabe4 add and use qtHaveModule() function
this is much more elegant than the so far propagated !isEmpty(QT.foo.name).
also replace feature-specific tests (no-gui and no-widgets) and the
obsolete contains(QT_CONFIG, foo) syntax.

Change-Id: Ia4b3c8febcabf9eeca67b1f9173a523820b1038b
Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
Reviewed-by: Tasuku Suzuki <stasuku@gmail.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
2012-12-21 19:05:02 +01:00

29 lines
791 B
Prolog

TEMPLATE = subdirs
SUBDIRS = \
dnslookup \
download \
downloadmanager
qtHaveModule(widgets) {
SUBDIRS += \
blockingfortuneclient \
broadcastreceiver \
broadcastsender \
fortuneclient \
fortuneserver \
http \
loopback \
threadedfortuneserver \
googlesuggest \
torrent \
bearermonitor \
multicastreceiver \
multicastsender
# no QProcess
!vxworks:!qnx:SUBDIRS += network-chat
contains(QT_CONFIG, openssl):SUBDIRS += securesocketclient
contains(QT_CONFIG, openssl-linked):SUBDIRS += securesocketclient
}