diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2016-11-30 16:37:15 +0100 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2017-01-05 08:38:33 +0000 |
commit | 2ed9a52ebf1dfb1a16ad65413bea01314010720d (patch) | |
tree | 4b4c09223b719ac225136162ff4723bceb368a42 /examples/corelib | |
parent | b49660bba4df13b88defbd5c3c789da0f93110c9 (diff) |
Fix compilation without sharedmemory
We have to enable qt_safe_ftok with either sharedmemory or
systemsemaphore. In order to make the resulting QT_CONFIG work with the
bootstrap library we switch the features off for bootstrapping. Some
tests and examples have to be excluded when sharedmemory is not
available.
Change-Id: I3fc3926d160202b378be2293fba40201a4bf50c5
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'examples/corelib')
-rw-r--r-- | examples/corelib/ipc/ipc.pro | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/corelib/ipc/ipc.pro b/examples/corelib/ipc/ipc.pro index 4cc5f3be56..101552cea9 100644 --- a/examples/corelib/ipc/ipc.pro +++ b/examples/corelib/ipc/ipc.pro @@ -1,6 +1,6 @@ requires(qtHaveModule(widgets)) TEMPLATE = subdirs -# no QSharedMemory -!vxworks:!integrity: SUBDIRS = sharedmemory + +qtConfig(sharedmemory): SUBDIRS = sharedmemory qtHaveModule(network): SUBDIRS += localfortuneserver localfortuneclient |