diff options
author | Michal Klocek <michal.klocek@qt.io> | 2022-04-20 08:48:02 +0200 |
---|---|---|
committer | Michal Klocek <michal.klocek@qt.io> | 2022-04-30 18:08:52 +0000 |
commit | ba74eaba11b2df9d6c2b23f7595e7bb1a03e911e (patch) | |
tree | e5dba781d76a41e4c8340e6813383aaa1d0f4dab /src/core/api/qwebengineregisterprotocolhandlerrequest.cpp | |
parent | 692e2295b5676652ff0d405fd9b916cbd428dad3 (diff) | |
download | qtwebengine-ba74eaba11b2df9d6c2b23f7595e7bb1a03e911e.tar.gz |
Support cross-compilation on macOS
So far we only supported a cross-compiling with universal builds,
however qmake also supports 'regular' cross compilation (by setting
'-device-option'). This is semi-supported with qt-cmake as we need to
provide additional configure defines like:
* CMAKE_OSX_ARCHITECTURES=arm64
* CMAKE_SYSTEM_NAME=Darwin
* CMAKE_OSX_DEPLOYMENT_TARGET=10.14
It might seem to be a far fetched issue, however in case of webengine
doing the cross compilation for only one architecture allows to save
compile times when testing only arm64 builds.
Note we do not need to create gn toolchains for that case, however
unlike universal builds it requires host qt build for tools.
Pick-to: 6.3 6.2
Change-Id: Ica8470fdd4cad4866c1470e0403ffd019eaf39a6
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'src/core/api/qwebengineregisterprotocolhandlerrequest.cpp')
0 files changed, 0 insertions, 0 deletions