summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorOliver Wolff <oliver.wolff@digia.com>2013-02-19 12:53:08 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-02-21 07:27:25 +0100
commitf9fc180d505382e559ebca8a2e6dd09ea3ae52bc (patch)
treec786696c0a57a0073c8f574079db8cb7552bca54 /examples
parentf73ddd4dfb80ce8d587a2f85b96b55067e90a3c6 (diff)
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>
Diffstat (limited to 'examples')
-rw-r--r--examples/ipc/ipc.pro2
-rw-r--r--examples/network/network.pro2
-rw-r--r--examples/xml/xml.pro4
3 files changed, 6 insertions, 2 deletions
diff --git a/examples/ipc/ipc.pro b/examples/ipc/ipc.pro
index f302b836af..4b4b3870a4 100644
--- a/examples/ipc/ipc.pro
+++ b/examples/ipc/ipc.pro
@@ -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
diff --git a/examples/network/network.pro b/examples/network/network.pro
index 342297528b..be4ccdbddf 100644
--- a/examples/network/network.pro
+++ b/examples/network/network.pro
@@ -1,3 +1,5 @@
+requires(qtHaveModule(network))
+
TEMPLATE = subdirs
SUBDIRS = \
dnslookup \
diff --git a/examples/xml/xml.pro b/examples/xml/xml.pro
index bc8686a475..72bf95b2ea 100644
--- a/examples/xml/xml.pro
+++ b/examples/xml/xml.pro
@@ -4,7 +4,9 @@ SUBDIRS = htmlinfo \
qtHaveModule(widgets) {
SUBDIRS += dombookmarks \
- rsslisting \
saxbookmarks \
streambookmarks
+
+ qtHaveModule(network): SUBDIRS += \
+ rsslisting
}