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>
This commit is contained in:
Tor Arne Vestbø 2022-10-04 15:46:05 +02:00
parent 87d12f7f21
commit 3815389912

View File

@ -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