Commit Graph

6745 Commits

Author SHA1 Message Date
Assam Boudjelthia 4549003489 Provisioning: add feature delivery to the Gradle cache project
Add feature-delivery plugin to the provisioning Gradle cache
to avoid potential fetching on each build in qtbase tests.

Pick-to: 6.12 6.11 6.8
Change-Id: Ie9126114287aff77abcd2f68bfff4d8dc25fa6a9
Reviewed-by: Toni Saario <toni.saario@qt.io>
2026-07-02 19:40:15 +00:00
Simo Fält d059dc0446 COIN: Fix HarmonyOS nightly build's config id
Pick-to: 6.12
Change-Id: I86e3b8e563553feb233692542f9b37f034e32a61
Reviewed-by: Liang Qi <liang.qi@qt.io>
2026-06-30 11:51:53 +00:00
Liang Qi cb7d1367be coin: also generate bat files on Linux host for HarmonyOS build
Pick-to: 6.12
Task-number: QTBUG-147252
Change-Id: Iff66606f01a0fcd843d121cccf8d1cd1be94876b
Reviewed-by: Patrik Teivonen <patrik.teivonen@qt.io>
2026-06-30 07:56:45 +00:00
Elias Toivola 862c3df5bf Windows 10: set private network
Changed firewall configurations in CI network caused W10 VMs to prompt
to select public/private network profile setting for the changed
network.

Set the network profile with a script to prevent this prompt reappearing
in build/test VMs.

Pick-to: 6.12 6.11 6.8
Change-Id: I6c71fd31cd3982742254edf508a0ccfc3d2ceeb6
Reviewed-by: Toni Saario <toni.saario@qt.io>
2026-06-29 16:04:48 +00:00
Simo Fält e37b588b62 CI: Update CMake deb package for sbuild
Also cleaning up libicu debian packages that are not used anymore.

Pick-to: 6.12
Task-number: QTBUG-146967
Change-Id: I9351ed0065da72457fadabbc69dffd687373b746
Reviewed-by: Toni Saario <toni.saario@qt.io>
2026-06-29 13:08:18 +00:00
Marianne Yrjänä 28c27e1256 QNX: Add unwinder libraries to Qemu image
On QNX8 backtrace requires unwinder. Adding unwinder libraries to QNX
x86 Qemu image.

Change-Id: If29f910720036501f0ee4ce47106507b2daf07aa
Reviewed-by: Simo Fält <simo.falt@qt.io>
2026-06-29 13:08:16 +00:00
Qt Submodule Update Bot 129c6abe37 Update submodules on 'dev in qt/qt5'
Change-Id: I19431ab1a552ecc545cd2b3faf4d7a82e954dac0
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2026-06-26 14:19:05 +00:00
Elias Toivola b5af653382 Set an ARM64EC config to run tests on arm64 hosts
Set them as InsignificantTests.

Pick-to: 6.12
Task-number: QTQAINFRA-7579
Change-Id: I58df5bcd55e9b4e11a733c0a0576d6ec2f743ebe
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
2026-06-25 21:16:53 +00:00
Elias Toivola ed632de606 ARM64EC: turn off QDoc
Pick-to: 6.12
Task-number: QTBUG-147036
Change-Id: I5fea2c54d4a6d52710564d739c30f34375ad4b79
Reviewed-by: Topi Reinio <topi.reinio@qt.io>
2026-06-25 21:16:52 +00:00
Elias Toivola 8f3e7cd7eb ARM64EC: disable qtwebview build
qtwebview build is effectively disabled by unsetting WEBVIEW2_SDK_ROOT.

Pick-to: 6.12
Task-number: QTBUG-146988
Change-Id: I68b0e0e87694a0dab8760a40e3e5aee9d6460ef2
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
2026-06-25 21:16:52 +00:00
Elias Toivola e84b449ab5 ARM64EC: skip qtwebengine and qtpdf builds
Pick-to: 6.12
Task-number: QTBUG-146860
Change-Id: Ifc71bd6f77945093546e71dc22c22e77d6631bca
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
2026-06-25 21:16:51 +00:00
Elias Toivola fc6d6d66cc Windows: add ARM64EC target
This target builds Qt6 as arm64ec on a x86_64 host. The provisioning is
done through x86_64 so many of the 3rd party dependencies (e.g. ffmpeg)
are x86_64.

Pick-to: 6.12
Task-number: QTQAINFRA-7579
Change-Id: I66b2a6b70667586cddf1df8b96c3e1149fac4567
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
2026-06-25 21:16:51 +00:00
Alexandru Croitor 341fe4e602 coin: Add syft to provisioning
Syft is a tool that scans package manager manifest or lock files and
generates an SBOM (Software Bill of Materials) file based on the
found packages. It can generated both CycloneDX and SPDX SBOM formats.

The tool will be used by the Qt for Python project to generate SBOMs
based on the python packages used during the build.

The tool is provisioned on all the platforms that have the
GenerateSBOM feature.

Pick-to: 6.8 6.11 6.12
Task-number: PYSIDE-3366
Change-Id: I1369f7b1b041b1fc0d8a56a20446df322d26d33a
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
2026-06-25 04:04:54 +00:00
Tor Arne Vestbø 42039d0819 Add nightly iOS test configuration
Change-Id: Iace7f21a42d6fc1992b83212638e3ae783a6f768
Reviewed-by: Simo Fält <simo.falt@qt.io>
2026-06-25 04:04:50 +00:00
Tor Arne Vestbø b7a2e3ba1c Install universal iOS simulator
Change-Id: Ic2c353a193515dc7d388a06ce911e146c8fea5bc
Reviewed-by: Simo Fält <simo.falt@qt.io>
2026-06-25 04:04:47 +00:00
Simo Fält 9b7e7d5852 COIN: Update Debian rules branch
Pick-to: 6.12
Change-Id: Ie9b4511fb2f7ea8b3baafb79c212cc28cc2a7bde
Reviewed-by: Toni Saario <toni.saario@qt.io>
2026-06-25 04:04:45 +00:00
Elias Toivola 99c69904b8 Windows 11 x86_64: update Visual Studio 2022 to 17.14.33
Tier-1 image changes in -73:
- MSVC 14.44.35211.0
- Windows SDK 10.0.26100.7705
- installed .NET SDK
- Visual Studio now has 'ci_msvs' user added with a license to use
  debugger tools.
[CI Platforms]

Pick-to: 6.12 6.11 6.8
Task-number: QTQAINFRA-7726
Task-number: QTQAINFRA-5417
Change-Id: I67d5605c544228daa6bac502ac487d1d5060fd81
Reviewed-by: Simo Fält <simo.falt@qt.io>
2026-06-25 04:04:42 +00:00
Liang Qi adcff73e24 coin: update id name for HarmonyOS builds
We follow the name scheme like Android ones. And we upgraded to API
23 in 548f241460 .

Pick-to: 6.12
Change-Id: Ibe1a221ee561c50c432874987f8926da1b46f797
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Reviewed-by: Simo Fält <simo.falt@qt.io>
2026-06-22 10:35:13 +00:00
Liang Qi 609c6903c7 coin: remove platform configs for HarmonyOS in qtbase.yaml
It was added into cmake_platforms.yaml now.

Pick-to: 6.12
Change-Id: I2d20e582c3c1ec2b8f13ed09a0c7d42a0324697a
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Reviewed-by: Simo Fält <simo.falt@qt.io>
2026-06-22 10:35:10 +00:00
Liang Qi 156feaa139 Revert "coin: add platform configs for HarmonyOS - step 2"
This reverts commit 38e3864f3e.

It was added into cmake_platforms.yaml now.

Pick-to: 6.12
Change-Id: I1f24aef6f2d2a20889bd00acc1f83f2ab3d9b5dc
Reviewed-by: Simo Fält <simo.falt@qt.io>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
2026-06-22 10:35:08 +00:00
Liang Qi f898c700d3 coin: add platform configs for HarmonyOS into cmake_platforms.yaml
Pick-to: 6.12
Change-Id: I51c1b3479a884ab97b1deb10102ebb0a9270955b
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Reviewed-by: Simo Fält <simo.falt@qt.io>
2026-06-22 10:35:06 +00:00
Elias Toivola 7c5594ea08 Android: Extract NDK packages into their own versioned dirs
This prevents sneaky NDK overwrites if there is no versioning in the
.zip root directory.

Pick-to: 6.12 6.11 6.8
Task-number: QTQAINFRA-7069
Change-Id: Ib0bd30c27da316735001bc5027d1dac1f8ead703
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
2026-06-21 06:52:00 +00:00
Simo Fält bb7ae5f3dc CI: Add HarmonyOS nightly test config
Pick-to: 6.12
Change-Id: Ib224c9eaceae19a5c7dd1c1e85f8e0a65556d470
Reviewed-by: Toni Saario <toni.saario@qt.io>
2026-06-21 06:51:57 +00:00
Jukka Jokiniva 75db654544 Install qemu-guest-agent on Ubuntu-24.04-aarch64
Task-number: QTQAINFRA-7938
Change-Id: I963cc027207bb75123cbd20e6d3925e7ce6022e8
Reviewed-by: Simo Fält <simo.falt@qt.io>
Reviewed-by: Dimitrios Apostolou <jimis@qt.io>
2026-06-21 06:51:55 +00:00
Joerg Bornemann 2882b5615b Coin: Force bundled libtiff/libwebp in Linux desktop packaging
The TIFF and WEBP image format plugins opportunistically link the system
libtiff/libwebp whenever find_package() succeeds. When the Linux release
packaging host moved from RHEL 8.10 to RHEL 9.6, libtiff-devel became
present (pulled in transitively via gtk3-devel), so the shipped libqtiff
plugin gained a hard dependency on libtiff.so.5, breaking on hosts that
ship a different libtiff soname (e.g. libtiff.so.6).

Pin tiff and webp to the bundled copies in the Linux desktop packaging
configurations (rhel-9.6 and ubuntu-24.04-arm64) so the released
binaries stay self-contained regardless of what is installed on the
build host.

Fixes: QTBUG-147470
Pick-to: 6.11 6.12
Change-Id: If406fd6b9338af51176b50c3af5bb3193fd226fd
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Reviewed-by: Kai Köhne <kai.koehne@qt.io>
2026-06-21 06:51:52 +00:00
Qt Submodule Update Bot 87c2d0b629 Update submodules on 'dev in qt/qt5'
Change-Id: I49c56cec4ef358029d4a6b25a619e2db6106dfa0
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2026-06-19 08:52:18 +00:00
Toni Saario adc52dde71 Add caching for qtopenapi maven dependencies
Contains the .m2 folder from home after openapi build. Extracts it
to VM at same path.

Pick-to: 6.11
Change-Id: I3eb5858160db1c996f3c72fae2b91be1478f000c
Reviewed-by: Simo Fält <simo.falt@qt.io>
Reviewed-by: Elias Toivola <elias.toivola@qt.io>
2026-06-18 04:25:38 +00:00
Tero Heikkinen 3f495a95ee Remove openSUSE 15.6 from CI
Except 'opensuse-15.6-host-asan' -target which will be handled in:
  - "Port the ASAN config from OpenSUSE 15 to 16" (QTQAINFRA-7660)

[CI Platforms]

Pick-to: 6.12 6.11
Task-number: QTQAINFRA-7455
Task-number: QTQAINFRA-7452
Change-Id: Ibd224779c77fa2af9460c240181cbe341ae454a9
Reviewed-by: Simo Fält <simo.falt@qt.io>
2026-06-16 11:29:44 +00:00
Tuomas Vaarala 6282a3fd8a Coin: QNX QEMU: set HOME and FONTCONFIG_FILE for tests
When HOME was unset, ~/.cache collapsed to /.cache on the read-only
QNX QEMU rootfs, so Fontconfig printed "No writable cache
directories" from QtGui-linking sub-tests and broke the
expected-output validation in tst_selftests.

Set HOME=/data/home/root (distinct from TMPDIR so filesystem
watcher tests keep separate watchable dirs) and point
FONTCONFIG_FILE at the deployed fonts.conf. QNX SDP 8.0 ships
fonts.conf at etc/fonts/fonts.conf, not etc/fontconfig/fonts.conf
as 7.1 did, so correct the data_files.custom source path too.

Squashes the former HOME-only and FONTCONFIG_FILE changes, which
conflicted on the same QNX_TEST_ENV lines and could not integrate
together.

Pick-to: 6.8 6.11 6.12
Change-Id: I1943d07eff0a2e99bb96db28e73b4c77e4aa2df8
Reviewed-by: Marianne Yrjänä <marianne.yrjana@qt.io>
Reviewed-by: Simo Fält <simo.falt@qt.io>
2026-06-13 06:54:10 +00:00
Allan Sandfeld Jensen 01ed52ad4c Install rust on macOS CI
We need to build it as no official pre-built binaries with
multiple targets exists of rust.

Pick-to: 6.11 6.12
Change-Id: Ibbe5dd77a92e845ce312f2ddf324a30b4c5ddc72
Reviewed-by: Simo Fält <simo.falt@qt.io>
2026-06-13 06:54:07 +00:00
Elias Toivola 5e9c31fe74 Unix: clean up vcpkg packages more later in provisioning
$VCPKG_ROOT/packages/ fills up later in install-vcpkg-ports.sh, clean up
at the end of that script.

This amends 75cdce7b2c

Pick-to: 6.12 6.11 6.8
Change-Id: I87cf73c5b46733141d017efa6d4a2e9e6c482424
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
2026-06-13 06:54:04 +00:00
Matti Paaso 6cecda38fa Change Axivion analysis platform configuration
Change Axivion analysis to TestOnly target with platform
dependency.

Task-number: QTQAINFRA-7846
Pick-to: 6.12 6.11 6.8
Change-Id: I6efb23299b9bfcad549d352c804ad4f6a8772e84
Reviewed-by: Toni Saario <toni.saario@qt.io>
2026-06-12 12:39:56 +00:00
Nils Petter Skålerud 75a537b6d5 FFmpeg: Don't build unused FFmpeg components
The FFmpeg components 'avdevice' and 'avfilter' are not used in Qt.
By not building them, we save some time during provisioning in CI.

Pick-to: 6.12 6.11
Change-Id: Id9219f6c00bd48d35d1d5c5b87eecb45f8c16c45
Reviewed-by: Mikko Hallamaa <mikko.hallamaa@qt.io>
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
Reviewed-by: Elias Toivola <elias.toivola@qt.io>
2026-06-12 12:39:54 +00:00
Axel Spoerl c0e391423d Add script to run all (provisioning) shell scripts in given directory
To build / test Qt on a fresh VM, all provisioning scripts have to be
run.

Provide a shell script to facilitate this on Linux and macOS.

Fixes: QTQAINFRA-7906
Pick-to: 6.12 6.11 6.8
Change-Id: Ie06c11c824897d23c74d90c008a595c2f82f6950
Reviewed-by: Simo Fält <simo.falt@qt.io>
2026-06-12 12:39:48 +00:00
Axel Spoerl 4f97b4bea8 Add script to run all (provisioning) shell scripts in given directory
To build / test Qt on a fresh VM, all provisioning scripts have to be
run.

Provide a shell script to facilitate this on Windows.

Fixes: QTQAINFRA-7906
Pick-to: 6.12 6.11 6.8
Change-Id: Ib06f75d7402f72e0496bab35aeb2ac89d1064537
Reviewed-by: Simo Fält <simo.falt@qt.io>
2026-06-12 12:39:48 +00:00
Axel Spoerl a377574e66 Provisioning: Make all shell scripts executable
For scripted auto-execution all shell scripts in provisioning need to
be executbale. Most are, but some have been forgotten.

Make the remaining ones executable.

Fixes: QTQAINFRA-7905
Pick-to: 6.12
Change-Id: I663aeb6c04f2b9d8049d21a75966369b15fe6d29
Reviewed-by: Simo Fält <simo.falt@qt.io>
2026-06-12 12:39:41 +00:00
Teemu Holappa 74d1e3a4c8 Add ubuntu-24.04-x64 to qtsaferenderer-runtime.yaml
Fixes the following integration issue in Coin:
Defined dependency configuration id:
'ubuntu-24.04-x64' resulted in 0 configurations

Change-Id: I959030c966f7b5908f78767b7f67c20e09d57969
Reviewed-by: Jukka Jokiniva <jukka.jokiniva@qt.io>
2026-06-12 12:39:38 +00:00
Matti Paaso 526a09e46a Update Axivion bauhaus-suite to newer version
Update from version 7.11.3 into 7.12.1

Task-number: QTQAINFRA-7916
Pick-to: 6.12 6.11 6.8
Change-Id: I9bb342636f9e67fc3db6d4a2f735923d0df8b622
Reviewed-by: Simo Fält <simo.falt@qt.io>
2026-06-12 12:39:35 +00:00
Simo Fält b002b0fde9 Provisioning: Remove cups-pdf package from Ubuntu
Updated libcups2-dev package (2.4.1op1-1ubuntu4.20) causes password prompt with lpadmin when installing cups-pdf and this blocks provisioning.

Task-number: QTQAINFRA-7930
Pick-to: 6.12 6.11 6.8 6.5
Change-Id: I308f7d037586ee4ac8320274f551315a7329925c
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2026-06-12 12:39:32 +00:00
Jukka Jokiniva 640b9c2ea2 Fix tier1 image version on macos-universal-on-arm64
Amends d43a68e9b4

Pick-to: 6.12
Change-Id: Ib36ada89fd37a8846f8932782650ab43154f7385
Reviewed-by: Ville-Pekka Karhu <ville-pekka.karhu@qt.io>
2026-06-12 12:39:29 +00:00
Joerg Bornemann 3275891741 coin: Use OHOS_ARCH instead of OHOS_ABI in CI config
In preparation of consolidating the OHOS target-architecture variables
onto OHOS_ARCH and droppeding OHOS_ABI, we're updating the HarmonyOS
target platform configs to pass -DOHOS_ARCH=arm64-v8a.

This doesn't change behavior, because OHOS_ABI defaults to arm64-v8a.

Pick-to: 6.12
Task-number: QTBUG-147291
Change-Id: I1d0d2071d0512f976eaa031d7c976aa97c3bc9cb
Reviewed-by: Simo Fält <simo.falt@qt.io>
2026-06-10 04:28:16 +00:00
Mårten Nordheim 6a6f4fa55e Disable liburing for Linux packaging
liburing has version tags preventing accidental use of incompatible
versions.

Since we are building all of our linux binaries on RHEL 9/Ubuntu, for
x64 and arm64 respectively, we are hitting this issue now on other
distros that do not have the same liburing package.

To counter that we disable it for the Packaging build and leave it on
for testing. It's an optional feature and a private one at that so not
much is lost at the moment.

Fixes: QTQAINFRA-7927
Change-Id: Ib371e24d9a6e1dc45146493f637209fb5cd2589a
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
(cherry picked from commit c3477b4141)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2026-06-10 04:28:13 +00:00
Axel Spoerl d6315c6f58 Add COIN platform configuration for qtpim
To enable testing / COIN, add qtpim.yaml

Change-Id: I3f788aa04d2a4b23674654d13eb6afac0ecc7f82
Reviewed-by: Simo Fält <simo.falt@qt.io>
2026-06-10 04:28:09 +00:00
Tor Arne Vestbø b684ef99a6 Make macOS 26 developer build and x86_64 tests officially significant
Pick-to: 6.12
Change-Id: I583b2355ac0ea8918ddb9ef1195a91696cbbd24f
Reviewed-by: Aku Pietikäinen <aku.pietikainen@qt.io>
Reviewed-by: Ville-Pekka Karhu <ville-pekka.karhu@qt.io>
2026-06-10 04:28:06 +00:00
Dimitrios Apostolou ce75c3c977 Port ASAN build from OpenSUSE 15 to 16
Pick-to: 6.12
Fixes: QTQAINFRA-7660
Change-Id: I08107822e4b93241741cde7d4d54e6903372a454
Reviewed-by: Jukka Jokiniva <jukka.jokiniva@qt.io>
2026-06-10 04:28:03 +00:00
Tor Arne Vestbø 5d41389310 Build macOS developer build examples as external projects
qtbase for now, as some of the submodules fail to build
examples in this mode.

Pick-to: 6.12
Task-number: QTBUG-90820
Task-number: QTBUG-96232
Change-Id: Icb2254bafcbeee7e4bba7500b2a8395f386244ef
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2026-06-08 22:30:43 +00:00
Tor Arne Vestbø b3e3927f22 Bump macOS and iOS minimal static tests platform to macOS 26
Pick-to: 6.12
Change-Id: I0b90d2921563ace6dac338c9970144a0985a37b8
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2026-06-08 22:30:42 +00:00
Tor Arne Vestbø 50086ff8f3 Explicitly install iOS and visionOS platforms for Xcode 26
The app no longer ships with any platforms (SDKs) built in
except for the macOS platform.

Pick-to: 6.12
Change-Id: I83200553f52b9edf80212a12bb9abd6a26f27407
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2026-06-08 22:30:41 +00:00
Tor Arne Vestbø c22a682b4f Move iOS minimal static tests to shared minimal-static-test file
Pick-to: 6.12
Change-Id: Ia83e315e1d01f61380d1da530c556a3f4fe7a0a9
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2026-06-08 22:30:40 +00:00
Elias Toivola 6ead7af28d Windows arm64 msvc2026: set tests as blocking
This amends 6d676db849

Pick-to: 6.12
Task-number: QTQAINFRA-7559
Change-Id: Iaf869b781280e050b1e0140dd7de815806dd7ebf
Reviewed-by: Simo Fält <simo.falt@qt.io>
2026-06-08 10:23:13 +00:00