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.

Fixes: QTBUG-106910
Change-Id: I4b814ca1c131a2860467e96cc5a6dd7cd03fc8b7
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
(cherry picked from commit 381538991229299c1e62bb0ebf282506b567e322)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Tor Arne Vestbø 2022-10-04 15:46:05 +02:00 committed by Qt Cherry-pick Bot
parent 3beb8a742b
commit 3bb905ab21

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