diff options
author | Alexey Edelev <alexey.edelev@qt.io> | 2023-05-04 14:43:36 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2023-05-05 08:36:11 +0000 |
commit | e28c2b0c540aa3ef8fe1b895984af7a06c2a3e2b (patch) | |
tree | c2fd5229a11fe27d9b4e158d975f0deb82927343 | |
parent | 6f1577b96818c7c3d791ef01c1680ba6cce59085 (diff) | |
download | qtdoc-e28c2b0c540aa3ef8fe1b895984af7a06c2a3e2b.tar.gz |
Note that universal builds need to include host arch in CMAKE_OSX_ARCHITECTURES
The CMAKE_OSX_ARCHITECTURES variable must include the host arch
when doing universal builds of Qt, otherwise we won't be able
to run the host tools during the build.
Task-number: QTBUG-113257
Change-Id: Iafd0d5b76dba498e363f67a930bf722c3a2bfc7a
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
(cherry picked from commit e891b55398a0044cc3eef5f08e4db2c25f4087cc)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | doc/src/platforms/macos.qdoc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/src/platforms/macos.qdoc b/doc/src/platforms/macos.qdoc index 364337d1..a9fa10bd 100644 --- a/doc/src/platforms/macos.qdoc +++ b/doc/src/platforms/macos.qdoc @@ -329,6 +329,10 @@ ./configure -- -DCMAKE_OSX_ARCHITECTURES="x86_64h;arm64" \endcode + \note A universal build always needs to include the architecture of + your development machine, as the process relies on tools that are built + and run on your machine as part of the overall build. + Be careful to specify the Intel architecture ("x86_64h") first, otherwise Qt may not enable all the x86 functionality. |