diff options
author | Frank Richter <frank.richter@gmail.com> | 2018-01-23 14:06:53 +0100 |
---|---|---|
committer | Frank Richter <frank.richter@gmail.com> | 2018-01-27 11:19:06 +0000 |
commit | 5a05348fb6c3940449a9c2950bb65bdea2112a15 (patch) | |
tree | b643e3dee140d66b73ec033c10840ca77b35c65a /examples/corelib | |
parent | f3397ec659bc1288bebcb0dec11cc48cdd2c17bb (diff) |
examples: Add localserver feature check for localfortune examples
Change-Id: I536645ddf0a5ead31a2658d03984c1226a7c39c8
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Diffstat (limited to 'examples/corelib')
-rw-r--r-- | examples/corelib/ipc/ipc.pro | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/examples/corelib/ipc/ipc.pro b/examples/corelib/ipc/ipc.pro index 101552cea9..68c88d75aa 100644 --- a/examples/corelib/ipc/ipc.pro +++ b/examples/corelib/ipc/ipc.pro @@ -3,4 +3,8 @@ requires(qtHaveModule(widgets)) TEMPLATE = subdirs qtConfig(sharedmemory): SUBDIRS = sharedmemory -qtHaveModule(network): SUBDIRS += localfortuneserver localfortuneclient +qtHaveModule(network) { + QT_FOR_CONFIG += network + + qtConfig(localserver): SUBDIRS += localfortuneserver localfortuneclient +} |