mirror of
git://code.qt.io/qt/qt5.git
synced 2026-01-06 15:06:52 +08:00
TLDR: We need force cross-build the compilation of WebEngine tools
when cross-compiling for Windows ARM64, to ensure that native
development on Windows ARM64 hosts can use the WebEngine tools.
Long version:
We have two packaging configurations for Windows ARM64.
1) we cross-compile 'Windows On Arm' Qt on an x64 Windows host.
This configuration includes the WoA WebEngine libraries, but not
the tools.
2) we build Windows on Arm Qt on a native arm64 windows host. This
currently lacks the WebEngine libraries and tools, because it takes
too much time to build them on native arm hosts in the CI.
When installing WoA on a Windows host using the Qt online
installer, there are three possible scenarios:
a) Running the x64 installer on an x64 Windows host, to be
able to cross-build projects targeting Windows on Arm.
This will install an x64 MSVC host qt, and an arm64 WoA target Qt
from case '1' above.
The x64 qt includes the WebEngine libraries and tools, and the WoA
qt only includes the libraries, but not the tools.
For WoA project builds, the build system will use the
x64 host tools. This works fine.
b) Running the x64 installer on an arm64 Windows host.
This is very similar to the 'a' case, except it involves emulation
of the x64 host tools.
This will install an x64 MSVC host qt, and an arm64 WoA target Qt.
The x64 qt includes the WebEngine libraries and tools, and the WoA
qt only includes the libraries, but not the tools.
For WoA project builds, the build system will use the
x64 host tools using /emulation/. This works fine, as long as x64
emulation is available and enabled.
c) Running the arm64 installer on an arm64 Windows host.
This will install the native arm64 WoA Qt from case '2' above.
The arm64 qt includes arm libraries and tools from case '2', but
that lacks the WebEngine libraries and tools.
So the installer will also install the cross-compiled arm64
WebEngine libraries from case '1', but not the WebEngine tools
(e.g. dict conversion tool).
To ensure that scenario 'c' also gets WebEngine tools, we need to
force build (cross-compile) the tools in scenario '1'.
This patch achieves that by passing -DQT_FORCE_BUILD_TOOLS=ON ,
similar how we do it for yocto builds.
Pick-to: 6.9
Task-number: QTBUG-138859
Change-Id: I8270731a4afef7ab9af8df63326fb838e02968e8
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
(cherry picked from commit 9254959ace)
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
374 lines
20 KiB
YAML
374 lines
20 KiB
YAML
Version: 2
|
|
Include: [
|
|
cmake_platforms_qemu.yaml,
|
|
cmake_platforms_qemu_qnx710.yaml,
|
|
cmake_platforms_target_android.yaml,
|
|
cmake_platforms_wasm.yaml,
|
|
macos.yaml
|
|
]
|
|
Configurations:
|
|
# Build on Ubuntu 22.04
|
|
-
|
|
Id: 'ubuntu-22.04'
|
|
Template: 'qtci-linux-Ubuntu-22.04-x86_64-51'
|
|
Compiler: 'GCC'
|
|
Features: ['Sccache', 'UseConfigure', 'DoNotRunTests', 'GenerateSBOM', 'VerifySBOM', 'DocsGenerationV2']
|
|
Configure arguments: '-nomake examples -release -force-debug-info -separate-debug-info -headersclean -qt-libjpeg -qt-libpng -qt-pcre -qt-harfbuzz -qt-doubleconversion -no-libudev -bundled-xcb-xinput'
|
|
Environment variables: [
|
|
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY',
|
|
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DINPUT_headersclean=ON -DQT_DEPLOY_FFMPEG=TRUE'
|
|
]
|
|
# Build on Ubuntu 24.04 ARM64 Wayland and test on offscreen and Wayland later
|
|
-
|
|
Id: 'ubuntu-24.04-arm64-developer-build'
|
|
Template: 'qtci-linux-Ubuntu-24.04-aarch64-52'
|
|
Compiler: 'GCC'
|
|
Features: ['Sccache', 'UseConfigure', 'DoNotRunTests', 'StandaloneExamples']
|
|
Configure arguments: '-make examples -developer-build -c++std c++20 -linker lld -qtlibinfix TestInfix -qtnamespace TestNamespace -qpa offscreen\;xcb'
|
|
Environment variables: [
|
|
'COMMON_TEST_CMAKE_ARGS=-DQT_SKIP_DOCKER_COMPOSE=ON',
|
|
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DQT_DEPLOY_FFMPEG=TRUE'
|
|
]
|
|
-
|
|
Id: 'ubuntu-24.04-arm64'
|
|
Template: 'qtci-linux-Ubuntu-24.04-aarch64-52'
|
|
Compiler: 'GCC'
|
|
Features: ['Sccache', 'Packaging', 'UseConfigure', 'DoNotRunTests', 'GenerateSBOM', 'VerifySBOM']
|
|
Configure arguments: '-nomake examples -release -force-debug-info -separate-debug-info -headersclean -qt-libjpeg -qt-libpng -qt-pcre -qt-harfbuzz -qt-doubleconversion -no-libudev -bundled-xcb-xinput -qpa offscreen\;xcb'
|
|
Environment variables: [
|
|
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY',
|
|
'COMMON_TEST_CMAKE_ARGS=-DQT_SKIP_DOCKER_COMPOSE=ON',
|
|
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DQT_DEPLOY_FFMPEG=TRUE -DINPUT_headersclean=ON'
|
|
]
|
|
# Test on Ubuntu 24.04 ARM64 Wayland
|
|
-
|
|
Id: 'ubuntu-24.04-arm64-developer-build-wayland-tests'
|
|
Template: 'qtci-linux-Ubuntu-24.04-aarch64-52'
|
|
Compiler: 'GCC'
|
|
Features: ['TestOnly', 'InsignificantTests', 'VerboseCTestOutput']
|
|
Platform dependency: 'ubuntu-24.04-arm64-developer-build'
|
|
-
|
|
Id: 'ubuntu-24.04-arm64-wayland-tests'
|
|
Template: 'qtci-linux-Ubuntu-24.04-aarch64-52'
|
|
Compiler: 'GCC'
|
|
Features: ['TestOnly', 'InsignificantTests', 'VerboseCTestOutput']
|
|
Platform dependency: 'ubuntu-24.04-arm64'
|
|
# Test on Ubuntu 24.04 ARM64 offscreen
|
|
-
|
|
Id: 'ubuntu-24.04-arm64-offscreen-tests'
|
|
Template: 'qtci-linux-Ubuntu-24.04-aarch64-52'
|
|
Compiler: 'GCC'
|
|
Features: ['TestOnly']
|
|
Environment variables: [
|
|
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY',
|
|
'QT_QPA_OFFSCREEN_NO_GLX=1',
|
|
'QT_QPA_PLATFORM=offscreen'
|
|
]
|
|
Platform dependency: 'ubuntu-24.04-arm64'
|
|
# Build on Ubuntu 24.04 x64 Wayland and test on both X11 and Wayland (Wayland=default)
|
|
-
|
|
Id: 'ubuntu-24.04-x64-developer-build'
|
|
Template: 'qtci-linux-Ubuntu-24.04-x86_64-50'
|
|
Compiler: 'GCC'
|
|
Features: ['Sccache', 'UseConfigure', 'DoNotRunTests', 'StandaloneExamples']
|
|
Configure arguments: '-make examples -developer-build -c++std c++20 -linker gold -qtlibinfix TestInfix -qtnamespace TestNamespace'
|
|
Environment variables: [
|
|
'COMMON_TEST_CMAKE_ARGS=-DQT_SKIP_DOCKER_COMPOSE=ON',
|
|
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DQT_DEPLOY_FFMPEG=TRUE'
|
|
]
|
|
-
|
|
Id: 'ubuntu-24.04-x64'
|
|
Template: 'qtci-linux-Ubuntu-24.04-x86_64-50'
|
|
Compiler: 'GCC'
|
|
Features: ['Sccache', 'UseConfigure', 'DoNotRunTests', 'GenerateSBOM', 'VerifySBOM', 'DocsGenerationV2']
|
|
Configure arguments: '-nomake examples -release -force-debug-info -separate-debug-info -headersclean -qt-libjpeg -qt-libpng -qt-pcre -qt-harfbuzz -qt-doubleconversion -no-libudev -bundled-xcb-xinput'
|
|
Environment variables: [
|
|
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY',
|
|
'COMMON_TEST_CMAKE_ARGS=-DQT_SKIP_DOCKER_COMPOSE=ON',
|
|
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DQT_DEPLOY_FFMPEG=TRUE -DINPUT_headersclean=ON'
|
|
]
|
|
# Test on Ubuntu 24.04 x64 X11
|
|
-
|
|
Id: 'ubuntu-24.04-x64-developer-build-x11-tests'
|
|
Template: 'qtci-linux-Ubuntu-24.04-x86_64-51'
|
|
Compiler: 'GCC'
|
|
Features: ['Sccache', 'TestOnly']
|
|
Platform dependency: 'ubuntu-24.04-x64-developer-build'
|
|
-
|
|
Id: 'ubuntu-24.04-x64-x11-tests'
|
|
Template: 'qtci-linux-Ubuntu-24.04-x86_64-51'
|
|
Compiler: 'GCC'
|
|
Features: ['Sccache', 'TestOnly']
|
|
Platform dependency: 'ubuntu-24.04-x64'
|
|
-
|
|
Id: 'opensuse-15.6-developer-build'
|
|
Template: 'qtci-linux-openSUSE-15.6-x86_64-51'
|
|
Compiler: 'GCC'
|
|
Features: ['Sccache', 'WarningsAreErrors', 'UseConfigure']
|
|
Configure arguments: '-nomake examples -developer-build'
|
|
Environment variables: [
|
|
'PATH={{.Env.CMAKE_MIN_SUPPORTED_BIN_PATH}}:{{.Env.PATH}}',
|
|
'CMAKE_ARGS=-DOPENSSL_ROOT_DIR={{.Env.OPENSSL_HOME}}',
|
|
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DQT_DEPLOY_FFMPEG=TRUE'
|
|
]
|
|
-
|
|
Id: 'sles-15_sp6-static'
|
|
Template: 'qtci-linux-SLES-15_SP6-x86_64-52'
|
|
Compiler: 'GCC'
|
|
Features: ['Sccache', 'DisableTests', 'UseConfigure', 'GenerateSBOM', 'VerifySBOM']
|
|
Configure arguments: '-nomake examples -static -no-sql-db2 -no-sql-ibase -no-sql-mysql -no-sql-oci -no-sql-psql -no-sql-mimer'
|
|
Environment variables: [
|
|
'CMAKE_ARGS=-DOPENSSL_ROOT_DIR={{.Env.OPENSSL_HOME}}',
|
|
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}}'
|
|
]
|
|
-
|
|
Id: 'windows-10_22h2-msvc2022'
|
|
Template: 'qtci-windows-10_22H2-x86_64-53'
|
|
Compiler: 'MSVC2022'
|
|
Features: ['Sccache', "DebugAndRelease", 'UseConfigure', 'GenerateSBOM', 'VerifySBOM']
|
|
Configure arguments: '-debug-and-release -force-debug-info -headersclean -nomake examples -qt-zlib'
|
|
Environment variables: [
|
|
'CMAKE_ARGS=-DFEATURE_msvc_obj_debug_info=ON -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\.. -DPostgreSQL_ROOT={{.Env.POSTGRESQL_LIB_x64}}\.. -DMySQL_ROOT={{.Env.ENV_MySQL_ROOT}} -DMySQL_LIBRARY_DIR={{.Env.ENV_MySQL_LIBRARY_DIR}}',
|
|
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_MSVC}} -DQT_DEPLOY_FFMPEG=TRUE -DFEATURE_clangcpp=OFF -DINPUT_headersclean=ON',
|
|
'LLVM_INSTALL_DIR={{.Env.LLVM_INSTALL_DIR_msvc}}',
|
|
'Protobuf_ROOT={{.Env.Protobuf_ROOT_msvc}}',
|
|
'WEBVIEW2_SDK_ROOT={{.Env.WEBVIEW2_SDK_ROOT_PATH}}',
|
|
]
|
|
-
|
|
Id: 'windows-11_24H2-msvc2022'
|
|
Template: 'qtci-windows-11_24H2-x86_64-71'
|
|
Compiler: 'MSVC2022'
|
|
Features: ['Sccache', 'Packaging', "DebugAndRelease", 'UseConfigure', 'GenerateSBOM', 'VerifySBOM']
|
|
Configure arguments: '-debug-and-release -force-debug-info -headersclean -nomake examples -qt-zlib'
|
|
Environment variables: [
|
|
'CMAKE_ARGS=-DFEATURE_msvc_obj_debug_info=ON -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\.. -DPostgreSQL_ROOT={{.Env.POSTGRESQL_LIB_x64}}\..',
|
|
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_MSVC}} -DQT_DEPLOY_FFMPEG=TRUE -DFEATURE_clangcpp=OFF -DINPUT_headersclean=ON',
|
|
'LLVM_INSTALL_DIR={{.Env.LLVM_INSTALL_DIR_msvc}}',
|
|
'Protobuf_ROOT={{.Env.Protobuf_ROOT_msvc}}',
|
|
'WEBVIEW2_SDK_ROOT={{.Env.WEBVIEW2_SDK_ROOT_PATH}}',
|
|
]
|
|
-
|
|
Id: 'windows-11_22h2-arm64-msvc2022'
|
|
Template: 'qtci-windows-11_22H2-aarch64-55'
|
|
Compiler: 'MSVC2022'
|
|
Features: ['Packaging', 'DebugAndRelease', 'UseConfigure', 'GenerateSBOM', 'VerifySBOM']
|
|
Configure arguments: '-debug-and-release -force-debug-info -headersclean -nomake examples -qt-zlib -no-opengl -no-sql-db2 -no-sql-ibase -no-sql-mysql -no-sql-oci -no-sql-psql -no-sql-mimer'
|
|
Environment variables: [
|
|
'CMAKE_ARGS=-DFEATURE_msvc_obj_debug_info=ON -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_arm64}}\..',
|
|
'NON_QTBASE_CMAKE_ARGS= -DFEATURE_clangcpp=OFF -DFFMPEG_DIR={{.Env.FFMPEG_DIR_MSVC_ARM64}} -DQT_DEPLOY_FFMPEG=TRUE',
|
|
'Protobuf_ROOT={{.Env.Protobuf_ROOT_msvc}}',
|
|
'WEBVIEW2_SDK_ROOT={{.Env.WEBVIEW2_SDK_ROOT_PATH}}',
|
|
]
|
|
-
|
|
Id: 'windows-11_23h2-arm64-msvc2022'
|
|
Template: 'qtci-windows-11_23H2-aarch64-53'
|
|
Compiler: 'MSVC2022'
|
|
Features: ['Packaging', 'DebugAndRelease', 'UseConfigure', 'GenerateSBOM', 'VerifySBOM', 'InsignificantTests', 'DoNotAbortTestingOnFirstFailure']
|
|
Configure arguments: '-debug-and-release -force-debug-info -headersclean -nomake examples -qt-zlib -no-sql-db2 -no-sql-ibase -no-sql-mysql -no-sql-oci -no-sql-psql -no-sql-mimer'
|
|
Environment variables: [
|
|
'CMAKE_ARGS=-DFEATURE_msvc_obj_debug_info=ON -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_arm64}}\..',
|
|
'NON_QTBASE_CMAKE_ARGS= -DFEATURE_clangcpp=OFF -DFFMPEG_DIR={{.Env.FFMPEG_DIR_MSVC_ARM64}} -DQT_DEPLOY_FFMPEG=TRUE',
|
|
'Protobuf_ROOT={{.Env.Protobuf_ROOT_msvc}}',
|
|
'WEBVIEW2_SDK_ROOT={{.Env.WEBVIEW2_SDK_ROOT_PATH}}',
|
|
]
|
|
-
|
|
Id: 'windows-11_24H2-msvc2022-arm64'
|
|
Template: 'qtci-windows-11_24H2-x86_64-71'
|
|
Compiler: 'MSVC2022'
|
|
Target arch: 'arm64'
|
|
Features: ['Sccache', 'Packaging', 'DoNotRunTests', 'TargetBuildOnly', 'UseConfigure', 'GenerateSBOM', 'VerifySBOM']
|
|
Platform dependency: 'windows-10_22h2-mingw13'
|
|
Environment variables: [
|
|
'Path={{.Env.MINGW_PATH}}\bin;{{.Env.Path}}',
|
|
'TARGET_CONFIGURE_ARGS=-debug-and-release -force-debug-info -platform win32-arm64-msvc -no-sql-db2 -no-sql-ibase -no-sql-mysql -no-sql-oci -no-sql-psql -no-sql-mimer -no-feature-run-opengl-tests',
|
|
'TARGET_CMAKE_ARGS=-DFEATURE_msvc_obj_debug_info=ON -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_ROOT_DIR_x64_arm64}} -DQT_FORCE_BUILD_TOOLS=ON',
|
|
'NON_QTBASE_TARGET_CMAKE_ARGS=-DFEATURE_native_grpc=OFF -DFFMPEG_DIR={{.Env.FFMPEG_DIR_MSVC_ARM64}} -DQT_DEPLOY_FFMPEG=TRUE',
|
|
'OPENSSL_CONF_x64={{.Env.OPENSSL_CONF_x64_arm64}}',
|
|
'OPENSSL_INCLUDE_x64={{.Env.OPENSSL_INCLUDE_x64_arm64}}',
|
|
'OPENSSL_LIB_x64={{.Env.OPENSSL_LIB_x64_arm64}}',
|
|
'LLVM_INSTALL_DIR={{.Env.LLVM_INSTALL_DIR_msvc_arm64}}',
|
|
'Protobuf_ROOT={{.Env.Protobuf_ROOT_msvc}}',
|
|
'WEBVIEW2_SDK_ROOT={{.Env.WEBVIEW2_SDK_ROOT_PATH}}',
|
|
]
|
|
-
|
|
Id: 'windows-11_24H2-msvc2022-arm64-23H2'
|
|
Template: 'qtci-windows-11_24H2-x86_64-71'
|
|
Compiler: 'MSVC2022'
|
|
Target arch: 'arm64'
|
|
Features: ['Sccache', 'Packaging', 'DoNotRunTests', 'TargetBuildOnly', 'UseConfigure', 'GenerateSBOM', 'VerifySBOM']
|
|
Platform dependency: 'windows-10_22h2-mingw13'
|
|
Environment variables: [
|
|
'Path={{.Env.MINGW_PATH}}\bin;{{.Env.Path}}',
|
|
'TARGET_CONFIGURE_ARGS=-debug-and-release -force-debug-info -platform win32-arm64-msvc -no-sql-db2 -no-sql-ibase -no-sql-mysql -no-sql-oci -no-sql-psql -no-sql-mimer',
|
|
'TARGET_CMAKE_ARGS=-DFEATURE_msvc_obj_debug_info=ON -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_ROOT_DIR_x64_arm64}}',
|
|
'NON_QTBASE_TARGET_CMAKE_ARGS=-DFEATURE_native_grpc=OFF -DFFMPEG_DIR={{.Env.FFMPEG_DIR_MSVC_ARM64}} -DQT_DEPLOY_FFMPEG=TRUE',
|
|
'OPENSSL_CONF_x64={{.Env.OPENSSL_CONF_x64_arm64}}',
|
|
'OPENSSL_INCLUDE_x64={{.Env.OPENSSL_INCLUDE_x64_arm64}}',
|
|
'OPENSSL_LIB_x64={{.Env.OPENSSL_LIB_x64_arm64}}',
|
|
'VCPKG_HOST_TRIPLET=x64-windows-qt',
|
|
'VCPKG_TARGET_TRIPLET=arm64-windows-qt',
|
|
'Protobuf_ROOT={{.Env.Protobuf_ROOT_msvc}}',
|
|
'WEBVIEW2_SDK_ROOT={{.Env.WEBVIEW2_SDK_ROOT_PATH}}',
|
|
]
|
|
-
|
|
Id: 'windows-11-x86_64-arm64-tests'
|
|
Template: 'qtci-windows-11_22H2-aarch64-55'
|
|
Compiler: 'MSVC2022'
|
|
Features: ['TestOnly']
|
|
Configure arguments: '-no-opengl -cross-compiled'
|
|
Platform dependency: 'windows-11_24H2-msvc2022-arm64'
|
|
-
|
|
Id: 'windows-11-x86_64-arm64-tests-23H2'
|
|
Template: 'qtci-windows-11_23H2-aarch64-53'
|
|
Compiler: 'MSVC2022'
|
|
Features: ['TestOnly', 'InsignificantTests', 'DoNotAbortTestingOnFirstFailure']
|
|
Configure arguments: '-cross-compiled'
|
|
Platform dependency: 'windows-11_24H2-msvc2022-arm64-23H2'
|
|
-
|
|
Id: 'windows-11_24H2-msvc2022-developer-build'
|
|
Template: 'qtci-windows-11_24H2-x86_64-71'
|
|
Compiler: 'MSVC2022'
|
|
Features: ['Sccache', 'DebugAndRelease', 'WarningsAreErrors', 'UseConfigure', 'StandaloneExamples']
|
|
Configure arguments: '-debug-and-release -force-asserts -make examples -developer-build -force-debug-info -qt-zlib -c++std c++20'
|
|
Environment variables: [
|
|
'CMAKE_ARGS=-DFEATURE_msvc_obj_debug_info=ON -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\.. -DMySQL_ROOT={{.Env.ENV_MySQL_ROOT}} -DMySQL_LIBRARY_DIR={{.Env.ENV_MySQL_LIBRARY_DIR}}',
|
|
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_MSVC}} -DQT_DEPLOY_FFMPEG=TRUE',
|
|
'Protobuf_ROOT={{.Env.Protobuf_ROOT_msvc}}',
|
|
'gRPC_ROOT={{.Env.gRPC_ROOT_msvc}}',
|
|
]
|
|
-
|
|
Id: 'rhel-8.10'
|
|
Template: 'qtci-linux-RHEL-8.10-x86_64-51'
|
|
Compiler: 'GCC'
|
|
Features: ['Packaging', 'Sccache', 'UseConfigure', 'InstallQt5Dependencies', 'GenerateSBOM', 'VerifySBOM']
|
|
Configure arguments: '-nomake examples -release -force-debug-info -headersclean -separate-debug-info -qt-libjpeg -qt-libpng -qt-pcre -qt-harfbuzz -qt-doubleconversion -no-libudev -bundled-xcb-xinput'
|
|
Environment variables: [
|
|
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_HOME}}',
|
|
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DQT_DEPLOY_FFMPEG=TRUE -DINPUT_headersclean=ON'
|
|
]
|
|
-
|
|
Id: 'rhel-9.4'
|
|
Template: 'qtci-linux-RHEL-9.4-x86_64-50'
|
|
Compiler: 'GCC'
|
|
Features: ['Packaging','Sccache', 'UseConfigure', 'InstallQt5Dependencies', 'GenerateSBOM', 'VerifySBOM']
|
|
Configure arguments: '-nomake examples -release -force-debug-info -headersclean -separate-debug-info -qt-libjpeg -qt-libpng -qt-pcre -qt-harfbuzz -qt-doubleconversion -no-libudev -bundled-xcb-xinput'
|
|
Environment variables: [
|
|
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY',
|
|
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DQT_DEPLOY_FFMPEG=TRUE -DINPUT_headersclean=ON'
|
|
]
|
|
-
|
|
Id: 'ios-universal'
|
|
Template: 'qtci-macos-14-arm-106'
|
|
Target os: 'IOS_ANY'
|
|
Target arch: 'arm64'
|
|
Compiler: 'Clang'
|
|
Target compiler: 'Clang'
|
|
Platform dependency: 'macos-universal-on-arm64'
|
|
Features: ['Packaging', 'Sccache', 'DebugAndRelease', 'DisableTests', 'UseConfigure', 'WarningsAreErrors', 'GenerateSBOM', 'VerifySBOM']
|
|
Environment variables: [
|
|
'TARGET_CONFIGURE_ARGS=-debug-and-release -nomake examples -platform macx-ios-clang',
|
|
'NON_QTBASE_TARGET_CMAKE_ARGS= -DQT_PROTOBUF_WELL_KNOWN_TYPES_PROTO_DIR=/usr/local/include -DFFMPEG_DIR={{.Env.FFMPEG_DIR_IOS}} -DQT_DEPLOY_FFMPEG=TRUE',
|
|
]
|
|
-
|
|
Id: 'visionos-developer-build'
|
|
Template: 'qtci-macos-15-arm-104'
|
|
Target os: 'IOS_ANY'
|
|
Target arch: 'arm64'
|
|
Compiler: 'Clang'
|
|
Target compiler: 'Clang'
|
|
Platform dependency: 'macos-universal-on-arm64'
|
|
Features: ['Sccache', 'DisableTests', 'UseConfigure']
|
|
Environment variables: [
|
|
'TARGET_CONFIGURE_ARGS=-developer-build -no-warnings-are-errors -nomake examples -nomake tests -platform macx-visionos-clang',
|
|
]
|
|
-
|
|
Id: 'windows-10_22h2-mingw13'
|
|
Template: 'qtci-windows-10_22H2-x86_64-53'
|
|
Compiler: 'Mingw'
|
|
Features: ['Packaging', 'Sccache', 'UseConfigure', 'GenerateSBOM', 'VerifySBOM']
|
|
Configure arguments: '-release -force-debug-info -separate-debug-info -nomake examples'
|
|
Environment variables: [
|
|
'Path={{.Env.MINGW_PATH}}\bin;{{.Env.Path}}',
|
|
'CMAKE_ARGS=-DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\.. -DPostgreSQL_ROOT={{.Env.POSTGRESQL_LIB_x64}}\.. -DCMAKE_IGNORE_PREFIX_PATH=C:/strawberry/c',
|
|
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_MINGW}} -DQT_DEPLOY_FFMPEG=TRUE -DCMAKE_IGNORE_PREFIX_PATH=C:/strawberry/c',
|
|
'LLVM_INSTALL_DIR={{.Env.LLVM_INSTALL_DIR_mingw}}',
|
|
'Protobuf_ROOT={{.Env.Protobuf_ROOT_mingw}}',
|
|
]
|
|
-
|
|
Id: 'windows-11_24H2-llvm'
|
|
Template: 'qtci-windows-11_24H2-x86_64-71'
|
|
Compiler: 'Clang'
|
|
Features: ['Sccache', 'Packaging', 'UseConfigure', 'GenerateSBOM', 'VerifySBOM']
|
|
Configure arguments: '-release -force-debug-info -separate-debug-info -nomake examples'
|
|
Environment variables: [
|
|
'Path=C:\llvm-mingw\bin;{{.Env.Path}}',
|
|
'CMAKE_ARGS=-DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\.. -DPostgreSQL_ROOT={{.Env.POSTGRESQL_LIB_x64}}\.. -DCMAKE_IGNORE_PREFIX_PATH=C:/strawberry/c',
|
|
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_LLVM_MINGW}} -DQT_DEPLOY_FFMPEG=TRUE -DCMAKE_IGNORE_PREFIX_PATH=C:/strawberry/c',
|
|
'LLVM_INSTALL_DIR={{.Env.LLVM_INSTALL_DIR_llvm_mingw}}',
|
|
'Protobuf_ROOT={{.Env.Protobuf_ROOT_llvm_mingw}}',
|
|
]
|
|
-
|
|
Id: 'windows-11_24H2-mingw13-developer-build'
|
|
Template: 'qtci-windows-11_24H2-x86_64-71'
|
|
Compiler: 'Mingw'
|
|
Features: ['Sccache', 'WarningsAreErrors', 'UseConfigure', 'StandaloneExamples']
|
|
Configure arguments: '-developer-build -release -force-asserts -force-debug-info -separate-debug-info -make examples'
|
|
Environment variables: [
|
|
'Path={{.Env.MINGW_PATH}}\bin;{{.Env.Path}}',
|
|
'CMAKE_ARGS=-DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\.. -DCMAKE_IGNORE_PREFIX_PATH=C:/strawberry/c -DMySQL_ROOT={{.Env.ENV_MySQL_ROOT}} -DMySQL_LIBRARY_DIR={{.Env.ENV_MySQL_LIBRARY_DIR}}',
|
|
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_MINGW}} -DQT_DEPLOY_FFMPEG=TRUE -DCMAKE_IGNORE_PREFIX_PATH=C:/strawberry/c',
|
|
'LLVM_INSTALL_DIR={{.Env.LLVM_INSTALL_DIR_mingw}}',
|
|
'Protobuf_ROOT={{.Env.Protobuf_ROOT_mingw}}',
|
|
]
|
|
-
|
|
Id: 'jammy-arm64-debian-pkg-packaging'
|
|
Template: 'qtci-linux-Debian-11.6-aarch64-50'
|
|
Compiler: 'GCC'
|
|
Features: ['Packaging','DebianPackaging','DisableTests', 'Insignificant']
|
|
Environment variables: [
|
|
'DEBIAN_RULES_REF=6.10_dev',
|
|
'COIN_TARGET_DIST=tqtc-jammy',
|
|
'COIN_EXTRA_DEBIAN_PACKAGES={{.Env.HOME}}/debian_packages/',
|
|
'COIN_SBUILD_CHROOT=jammy-arm64-sbuild',
|
|
'COIN_EXTRA_DEBIAN_REPO=deb http://ports.ubuntu.com/ubuntu-ports/ jammy main universe multiverse',
|
|
'COIN_SKIP_DEBIAN_MODULES=qt5 qtqa qtactiveqt qtdoc qtwebengine qtwebview',
|
|
]
|
|
-
|
|
Id: 'jammy-amd64-debian-pkg-packaging'
|
|
Template: 'qtci-linux-Ubuntu-22.04-x86_64-51'
|
|
Compiler: 'GCC'
|
|
Features: ['Packaging','DebianPackaging','DisableTests', 'Insignificant']
|
|
Environment variables: [
|
|
'DEBIAN_RULES_REF=6.10_dev',
|
|
'COIN_TARGET_DIST=tqtc-jammy',
|
|
'COIN_EXTRA_DEBIAN_PACKAGES={{.Env.HOME}}/debian_packages/',
|
|
'COIN_SBUILD_CHROOT=jammy-amd64-sbuild',
|
|
'COIN_EXTRA_DEBIAN_REPO=deb http://archive.ubuntu.com/ubuntu/ jammy main universe multiverse',
|
|
'COIN_SKIP_DEBIAN_MODULES=qt5 qtqa qtactiveqt qtdoc qtwebengine qtwebview',
|
|
]
|
|
-
|
|
Id: 'bookworm-gles-arm64-debian-pkg-packaging'
|
|
Template: 'qtci-linux-Debian-11.6-aarch64-50'
|
|
Compiler: 'GCC'
|
|
Features: ['Packaging','DebianPackaging','DisableTests', 'Insignificant']
|
|
Environment variables: [
|
|
'DEBIAN_RULES_REF=6.10_gles',
|
|
'COIN_TARGET_DIST=tqtc-bookworm',
|
|
'COIN_EXTRA_DEBIAN_PACKAGES={{.Env.HOME}}/debian_packages/',
|
|
'COIN_SBUILD_CHROOT=stable-arm64-sbuild',
|
|
'COIN_EXTRA_DEBIAN_REPO=deb http://deb.debian.org/debian/ bookworm main',
|
|
'COIN_SKIP_DEBIAN_MODULES=qt5 qtqa qtactiveqt qtdoc qtwebengine qtwebview',
|
|
]
|
|
-
|
|
# This configuration runs for every submodule, using externally
|
|
# built qdoc and qattributionscanner binaries, to ensure that no
|
|
# new qdoc warnings are introduced. The resulting documentation
|
|
# is not used for anything (neither online or offline docs). See
|
|
# qt5.yaml for a config that builds offline docs.
|
|
Id: 'documentation-warnings'
|
|
Template: 'qtci-linux-Ubuntu-22.04-x86_64-51'
|
|
Compiler: 'GCC'
|
|
Features: ['Sccache', 'TestOnly', 'TestDocs', 'DoNotRunTestsButCreateTestWorkItem', 'DocsGenerationV2']
|
|
Platform dependency: 'ubuntu-22.04'
|
|
|