Check for network module when building according examples

Change-Id: Id17ba13988e37fa583948f4861b44bb1f05bf375
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
This commit is contained in:
Oliver Wolff 2013-02-19 12:53:08 +01:00 committed by The Qt Project
parent f73ddd4dfb
commit f9fc180d50
3 changed files with 6 additions and 2 deletions

View File

@ -3,4 +3,4 @@ requires(qtHaveModule(widgets))
TEMPLATE = subdirs
# no QSharedMemory
!vxworks:!qnx:SUBDIRS = sharedmemory
!wince*: SUBDIRS += localfortuneserver localfortuneclient
!wince*:qtHaveModule(network): SUBDIRS += localfortuneserver localfortuneclient

View File

@ -1,3 +1,5 @@
requires(qtHaveModule(network))
TEMPLATE = subdirs
SUBDIRS = \
dnslookup \

View File

@ -4,7 +4,9 @@ SUBDIRS = htmlinfo \
qtHaveModule(widgets) {
SUBDIRS += dombookmarks \
rsslisting \
saxbookmarks \
streambookmarks
qtHaveModule(network): SUBDIRS += \
rsslisting
}