From f9fc180d505382e559ebca8a2e6dd09ea3ae52bc Mon Sep 17 00:00:00 2001 From: Oliver Wolff Date: Tue, 19 Feb 2013 12:53:08 +0100 Subject: Check for network module when building according examples Change-Id: Id17ba13988e37fa583948f4861b44bb1f05bf375 Reviewed-by: Friedemann Kleint Reviewed-by: Oswald Buddenhagen --- examples/ipc/ipc.pro | 2 +- examples/network/network.pro | 2 ++ examples/xml/xml.pro | 4 +++- 3 files changed, 6 insertions(+), 2 deletions(-) (limited to 'examples') 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 } -- cgit v1.2.3