qt5base-lts/examples/network/network.pro
Ulf Hermann 6c72a4a95b Fix building with QT_NO_BEARERMANAGEMENT
Some of the examples make no sense without bearer management and
QNetworkSession is not defined if QT_NO_BEARERMANAGEMENT, so
tst_qnetworkreply.cpp has to be adjusted.

Change-Id: Ic2f73746cba74f670ae5b5e99b0be1461ff6d182
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
2015-10-28 21:25:36 +00:00

37 lines
942 B
Prolog

requires(qtHaveModule(network))
TEMPLATE = subdirs
SUBDIRS = \
dnslookup \
download \
downloadmanager
qtHaveModule(widgets) {
SUBDIRS += \
blockingfortuneclient \
broadcastreceiver \
broadcastsender \
http \
loopback \
threadedfortuneserver \
googlesuggest \
torrent \
multicastreceiver \
multicastsender
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
}