summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2021-10-12 11:18:28 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-10-12 18:23:18 +0000
commit0ef5e861d6287331449002f6694d8b1c3097c98a (patch)
tree93f4904ad440ba91282fb680476cee385ae5a39a
parentf39b072f7fb4167b48ed39fc88c3f9a1c8a01fb9 (diff)
downloadqtdoc-0ef5e861d6287331449002f6694d8b1c3097c98a.tar.gz
Doc: Explicitly mention correct syntax for macos multi-arch and qmake
Quotes on the command line get interpreted by the shell but in the project they are interpreted by qmake itself, which leads to problems. Explicitly mention that no quotes should be used in the project file when specifying multiple arches. Fixes: QTBUG-97438 Change-Id: Iac0f664835c0566c6263fed97ac598c88572bab2 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io> (cherry picked from commit 1298e1fff53d60661f95bc18a3a824216627bd26) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--doc/src/platforms/macos.qdoc8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/src/platforms/macos.qdoc b/doc/src/platforms/macos.qdoc
index 05ca75c9..16c665c2 100644
--- a/doc/src/platforms/macos.qdoc
+++ b/doc/src/platforms/macos.qdoc
@@ -175,6 +175,14 @@
qmake ~/src/myapp QMAKE_APPLE_DEVICE_ARCHS="x86_64 arm64"
\endcode
+ When specifying the architectures in a project file they should not be quoted, e.g.:
+
+ \code
+ TEMPLATE = app
+ SOURCES = main.cpp
+ QMAKE_APPLE_DEVICE_ARCHS = x86_64 arm64
+ \endcode
+
\section1 Generating Xcode Project Files
By default, CMake and qmake generates project files in Makefile