summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel/qsharedmemory.cpp
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2022-10-04 15:46:05 +0200
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2022-10-06 14:41:02 +0200
commit381538991229299c1e62bb0ebf282506b567e322 (patch)
treeeca98a33a9360387d026f4170609d2e4e51d6188 /src/corelib/kernel/qsharedmemory.cpp
parent87d12f7f2178b1604635ec9beead5dc0a3fa74ee (diff)
Document that QSharedMemory requires -feature-ipc_posix on Mac App Store
The QSharedMemory backend build system machinery does not currently support multiple backends, so the choice has to be made at configure time. Pick-to: 6.4 6.2 Fixes: QTBUG-106910 Change-Id: I4b814ca1c131a2860467e96cc5a6dd7cd03fc8b7 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/kernel/qsharedmemory.cpp')
-rw-r--r--src/corelib/kernel/qsharedmemory.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/corelib/kernel/qsharedmemory.cpp b/src/corelib/kernel/qsharedmemory.cpp
index 58fc7d776f..2a2e2d6bf2 100644
--- a/src/corelib/kernel/qsharedmemory.cpp
+++ b/src/corelib/kernel/qsharedmemory.cpp
@@ -144,6 +144,12 @@ QSharedMemoryPrivate::makePlatformSafeKey(const QString &key,
\endlist
+ Qt for iOS comes with support for POSIX shared memory out of the box.
+ With Qt for \macos an additional configure flag must be added when
+ building Qt to enable the feature. To enable the feature pass
+ \c {-feature-ipc_posix} Note that the pre-built Qt libraries for
+ \macos available through the Qt installer do not include this feature.
+
\endlist
Remember to lock the shared memory with lock() before reading from