Commit Graph

6700 Commits

Author SHA1 Message Date
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
Joerg Bornemann
2b6e156008 Build WoA arm64 tests natively using the cross-built toolchain
Rename windows-11-x86_64-arm64-tests to
windows-11-x86_64-arm64-native-tests and switch it from the host-side
cross-compile-tests flow to the native-build-tests flow:

* Features BuildTestsInTest + UseToolchainFromTargetDir build tests in
  the test stage on the arm64 worker using the cross-built toolchain
  (qtbase change 238400b22f3b327c05a51a913b279d4bf37f4adf).
* OpenSSL and FFmpeg env vars unblock qtnetwork and qtmultimedia.

Pick-to: 6.12
Change-Id: Idd0565ceee0714d3f4fbe34ebf8d6373f7315cc1
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2026-06-07 09:23:46 +00:00
Tuomas Vaarala
00177db989 Coin: QNX QEMU: add localhost to /etc/hosts
The Coin hosts file fully overrides the SDP default, which
had 127.0.0.1 and ::1 entries. Combined with nsswitch
"hosts: files mdnsd dns" and resolv.conf -> 172.31.1.1, any
test resolving http(s)://localhost fell through to NXDOMAIN.

Fixes tst_QHttpServer (229 HostNotFoundError asserts) and
tst_abstractoauth2 (silent crash) on QNX 8.0 QEMU. Applied
to 710/ too so the same latent issue can't surface there.

Pick-to: 6.8 6.11 6.12
Change-Id: I2aaa782980cb44afe3499ba8bd35fd7d3c093043
Reviewed-by: Simo Fält <simo.falt@qt.io>
Reviewed-by: Marianne Yrjänä <marianne.yrjana@qt.io>
2026-06-06 08:26:04 +00:00
Dimitrios Apostolou
23c201ac4e Update sccache to v0.15.0
Also set SCCACHE_DIRECT in an effort to counter the error:

    cc1plus: error: .../CMakeFiles/....dir/cmake_pch.hxx.gch: \
        created by a different GCC executable [-Werror=invalid-pch]

Pick-to: 6.12 6.11 6.8
Change-Id: Ic7a3743642ff69495309794f6d17fc9b98d7f338
Reviewed-by: Toni Saario <toni.saario@qt.io>
2026-06-06 08:26:01 +00:00
Joerg Bornemann
41986ce213 coin: Add arm64-ohos-qt vcpkg overlay triplet
The upstream vcpkg *-ohos triplets have been changed to build static
libraries in multi-config mode. Add (and use) an arm64-ohos-qt triplet
that builds shared libs in release mode.

The triplet differs from the upstream one only in the values
VCPKG_LIBRARY_LINKAGE and VCPKG_BUILD_TYPE.

This patch is a preparation for merging vcpkg upstream back to our
fork.

Pick-to: 6.12
Change-Id: Iac6a4798b0322e9c57cf09ca35a408c66504ba46
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2026-06-06 08:25:59 +00:00
Simo Fält
596f204006 COIN: Add QT_HARMONYOS_HVIGOR variable for HarmonyOS to build hap
Pick-to: 6.12
Change-Id: Ie59fe187381c46ced5b1b8370363b3bafb330230
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
2026-06-06 08:25:57 +00:00
Elias Toivola
a10af2c0e8 Ubuntu: install xclip
This simplifies RTA tasks

Pick-to: 6.12 6.11 6.8
Fixes: QTQAINFRA-7368
Change-Id: I3fa030f8c2655c62427348d328a44f7751d2e578
Reviewed-by: Tero Heikkinen <tero.heikkinen@qt.io>
2026-06-04 16:26:55 +00:00
hjk
cc750dc924 Disable Qt-StrictIterators
The rule in this form is not as helpful as intented.

Paraphrasing comments from the linked issue:

This rule was created based on clazy's “Warn when iterator objects are
implicitly cast to const_iterator" which was likely an attempt to limit
hidden detaches of implicitly-shared Qt containers.

But mixing const_iterator and iterator is not the problem. The problem
is calling a non-const begin()/end()/find()/etc when you only need
const_iterators. So if you ban the implicit conversion from iterator to
const_iterator, you will catch these, theoretically. Practically, no-one
writes QList<Foo>::const_iterator it = l.begin() these days anymore,
everyone is using auto, so the check can never actually trigger for True
Positives.

As-is, it produces False Positives which has a potential to make the
code actually worse.

An alternative to reach a similar goal is to use QT_STRICT_ITERATORS, so
there’s no need for an Axivion check for it.

Task-number: BAUHAUS-29596
Pick-to: 6.12
Change-Id: I910e9ecc89c3db497c046f6d15ff07ab2ecc470a
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2026-06-04 16:26:51 +00:00
Tor Arne Vestbø
4826d56e8d configure: Only consider qt-prefixed directories as potential submodules
People might have other non-submodule directories in their Qt checkout,
e.g. ~/dev/qt/tasks, ~/qt/dev/research, ~/dev/qt/6.10, etc

We don't want to treat these as potential submodules.

Pick-to: 6.12
Change-Id: I0765f1832e71fb541be3976810cd6b192fea17a2
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2026-06-04 16:26:47 +00:00
Joerg Bornemann
d6ac43b433 configure: Sanitize -submodules arguments
Allow (and ignore) leading, trailing, and repeated commas in the
-submodules argument.

Fixes: QTBUG-147198
Pick-to: 6.11 6.12
Change-Id: I8901a65c6754c58ea3d51cb715932e7b328af445
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2026-06-04 16:26:42 +00:00
Joerg Bornemann
8d4971fd6e coin: Download vcpkg-tool from upstream again
vcpkg-tool release tag 2026-05-27 contains the patch necessary for
HarmonyOS support. We can use the unpatched upstream vcpkg-tool again.
Change the provisioning scripts back to fetch the tool from upstream's
release artifacts page.

Pick-to: 6.12
Fixes: QTQAINFRA-7902
Change-Id: I84ef4582ef8ff5ca6e8e135128fe515438ac2a22
Reviewed-by: Elias Toivola <elias.toivola@qt.io>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2026-06-04 16:26:38 +00:00
Tor Arne Vestbø
d43a68e9b4 Build macOS universal packaging config on macOS 26 / with Xcode 26
Pick-to: 6.12
Change-Id: I53424902311028736a71afe097339a270538fa32
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2026-06-04 16:26:34 +00:00
Tero Heikkinen
393b7adc1f Make openSUSE 16.0 tests as blocking in CI
And Packaging -flag moved from openSUSE 15.6
to a new openSUSE 16.0 [CI Platforms]

Pick-to: 6.12 6.11
Task-number: QTQAINFRA-7455
Task-number: QTQAINFRA-7452
Change-Id: I5726f5610fb3bde618e83468d1f9d3ed5083d51b
Reviewed-by: Simo Fält <simo.falt@qt.io>
2026-06-04 16:26:29 +00:00
Liang Qi
38e3864f3e coin: add platform configs for HarmonyOS - step 2
A few modules were added HarmonyOS support.

Pick-to: 6.12
Change-Id: Idf04de728aae7dbf0b0939a4110a225bff2d18b3
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
2026-06-04 16:26:25 +00:00
Joerg Bornemann
4df5cb5b02 coin: Enable building examples for HarmonyOS developer build
Pick-to: 6.12
Change-Id: I865db714dac9f0b0a9c75b2ddd6c1350f257fc70
Reviewed-by: Liang Qi <liang.qi@qt.io>
Reviewed-by: Jukka Jokiniva <jukka.jokiniva@qt.io>
2026-06-04 16:26:21 +00:00
Qt Submodule Update Bot
f505ed1baf Update submodules on 'dev in qt/qt5'
Change-Id: I408895bd11a7641e8f39728a06f787d5ab14081f
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2026-06-03 22:34:45 +00:00
Qt Submodule Update Bot
ec2e17e25d Update submodules on 'dev in qt/qt5'
Change-Id: I4cd445cc604f4659c94ddb08cd77737bf4e39898
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2026-06-03 12:55:39 +00:00
Matti Paaso
36efc0bfb0 Remove libusb installation from macos
Pick-to: 6.12
Change-Id: I5f69afe376087958ef5a6a2985bd87170e3f8a8d
Reviewed-by: Ville-Pekka Karhu <ville-pekka.karhu@qt.io>
2026-06-03 04:22:17 +00:00
Patrik Teivonen
f0ab3c330f Provisioning: Point pinned EPEL repo at archive mirror for RHEL 10.0
EPEL 10.0 has been moved under `archive.fedoraproject.org` now that
10.1 is the current release, so the pinned baseurl on `dl.` 404s and
breaks provisioning. Switch to the archive URL to preserve the
exact-release pin.

Pick-to: 6.12 6.11
Change-Id: I0bff932e4aaa11515ca28aa18af5cea73a9e2b05
Reviewed-by: Elias Toivola <elias.toivola@qt.io>
Reviewed-by: Simo Fält <simo.falt@qt.io>
Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
2026-06-03 04:22:14 +00:00
Qt Submodule Update Bot
9448447668 Update submodules on 'dev in qt/qt5'
Change-Id: Ia665dbfd95052893203b8e1ed2759205667db613
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2026-06-02 17:49:27 +00:00
Juha Vuolle
063d3b1b85 Add rust bridge CI config for macOS ARM64
Task-number: QTBRIDGES-182
Change-Id: I0f9e7adddeee915a4df87197bcfc7d5447d4ac3c
Reviewed-by: Simo Fält <simo.falt@qt.io>
2026-05-28 08:12:28 +00:00
Aku Pietikäinen
e80a64ab16 Platform Configs: Update macOS 26 Tier1 images for ARM
Increase image disk size to 300 GB.

Task-number: QTQAINFRA-7890
Change-Id: I7e0d84007ae448d14f2f8246fd8c7bc2a5e505af
Reviewed-by: Simo Fält <simo.falt@qt.io>
2026-05-25 10:12:00 +00:00
Lorn Potter
d9938ec5cf wasm: update emscripten to 5.0.5 for 6.12
Change-Id: I430cc0e8675ab76932117534a86d563a20efba3c
Reviewed-by: Tero Heikkinen <tero.heikkinen@qt.io>
2026-05-23 15:57:25 +00:00
Liang Qi
548f241460 coin: upgrade to 6.1.0.850(API 23) for HarmonyOS
Change-Id: Ia7b8ed8fcb6c521fb8461adf68791e123e980180
Reviewed-by: Liang Qi <liang.qi@qt.io>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
2026-05-23 08:33:53 +00:00
Alexandru Croitor
8dc4442f30 coin: Build universal vcpkg ports for macOS 26 x86_64 and arm64
This makes it consistent with what we do for the older macOS
platforms.

It's also meant to fix the issue of mistakenly running arm protoc on
an x86_64 host in qtgrpc tests which was meant to be fixed by
35389bc1be but was never enabled for the
x86_64 macOS 26 CI job.

To build the universal ports, also make sure to provision the
lipomerge tool which was previously missing on these platforms.

Amends 9a13282256

Fixes: QTBUG-145933
Fixes: QTBUG-146676
Fixes: QTBUG-146677
Change-Id: Ic136a3cab9d4499a0f852cef66a523dd6a53eb9e
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
2026-05-16 11:05:09 +00:00
Mårten Nordheim
edfe3794c9 Provision liburing development packages for linux distros
Change-Id: I99a6c52be86f87a436dee8a7b571d5548368735d
Reviewed-by: Tero Heikkinen <tero.heikkinen@qt.io>
2026-05-16 06:02:43 +00:00
Tuomas Vaarala
18f42f3a87 Coin: QNX 8.0: add Windows provisioning script
Mirror the existing Windows qnx710.ps1 for the 20260410 SDP
patchset and pull the 2026a tzdata overlay alongside it, same
pattern as the Linux common/linux/qnx_800.sh script.

Pick-to: 6.10 6.11
Change-Id: I5b718de8274ba2e1dc174199736c26ecdb5ea44e
Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
2026-05-16 06:02:40 +00:00
Marc Mutz
669f354e20 remove all status=ignore submodules
It makes little sense to carry these around when they don't compile
and require users to use a Perl script instead of raw git commands to
establish a working qt5.git, or else keep them wondering about these
dead bodies laying aorund. If someone wants to work on them, we can
always partially revert this commit to bring them back.

With this patch, you can now just

   git clone path/to/qt5.git
   cd qt5.git
   git submodule update --init --recursive

and you're set.

Pick-to: 6.11 6.8
Change-Id: Iac0cf516eca7169fb092aa3e86de1722d0ac9c5b
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2026-05-15 14:15:23 +00:00
Liang Qi
addc61e193 coin: add platform configs for HarmonyOS
Only enable qtbase in first round.

Done-with: Joerg Bornemann <joerg.bornemann@qt.io>
Change-Id: I1e659ce7dfcb5229e7ebf6a04bb9828d5616c7c0
Reviewed-by: Tero Heikkinen <tero.heikkinen@qt.io>
2026-05-15 14:15:20 +00:00
Toni Saario
a315c3b3b7 Include Ubuntu 24.04 in precheck
Qemu config requires it after 9578c28d7e.
22.04 is still required by QNX.

Change-Id: Id64a5aa986e0b6667394e30bd3118ce06ae77379
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2026-05-15 14:15:17 +00:00
Alexandru Croitor
7ebe94dfaf CMake: Raise CI-tested minimum CMake version to 3.25.3
Amends ffef920337

Task-number: QTBUG-146221
Change-Id: I80632d555a88ca0641f7cb9e10953a4dc66c565b
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
2026-05-15 10:40:48 +00:00
Matti Paaso
ed57ce2618 Update Java version into 21 for Debian 11.6
Jenkins dropped Java 17 support, only Java versions 21 and 25 are
supported.

Task-number: QTQAINFRA-7848
Pick-to: 6.11
Change-Id: Ic5c24ad81dbc1779ac40b38ffd92328a989aa867
Reviewed-by: Simo Fält <simo.falt@qt.io>
Reviewed-by: Patrik Teivonen <patrik.teivonen@qt.io>
2026-05-14 19:04:46 +00:00
Matti Paaso
9bdaa61dc4 Run Axivion analysis only for security critical files
Task-number: QTQAINFRA-7720
Pick-to: 6.11 6.8
Change-Id: Ic3c0ba96421b94e5024ae887e32d51e879305739
Reviewed-by: Toni Saario <toni.saario@qt.io>
2026-05-14 19:04:40 +00:00
Johanna Äijälä
28217d187f Provisioning: update Java to 21 in Ubuntu22.04 arm64 (RTA)
RTA Jenkins needs Java >=21.

Pick-to: 6.11
Change-Id: Ide00e3542bd69ec1e4d44612db57c753a73248db
Reviewed-by: Matti Paaso <matti.paaso@qt.io>
2026-05-14 19:04:29 +00:00
Elias Toivola
9578c28d7e Move QEMU/Yocto to Ubuntu 24.04 and update it to 5.0.8
This replaces a6e7d2acc6d252640e1244375f1056436a55641b

Task-number: QTQAINFRA-4666
Change-Id: Ib6a0d362deff1213338685b4d64e2508780f2a08
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2026-05-14 09:14:57 +00:00
Elias Toivola
6d676db849 Windows arm64: set InsignificantTests on msvc2026 targets
Task-number: QTQAINFRA-7559
Change-Id: Idbb1dadbcfc69d6612683a4f2001af9702b132f6
Reviewed-by: Tero Heikkinen <tero.heikkinen@qt.io>
2026-05-14 06:01:30 +00:00
Elias Toivola
83ed587573 Windows arm64: add MSVC2026 cross-compile targets
Task-number: QTQAINFRA-7559
Task-number: QTQAINFRA-5417
Change-Id: If5b265333ccdc621b0f284e7db7331c760129b6b
Reviewed-by: Tero Heikkinen <tero.heikkinen@qt.io>
2026-05-14 06:01:26 +00:00
Elias Toivola
9d137b8ca5 Windows arm64: add Visual Studio 2026 / MSVC2026 target
Included in tier-1 image qtci-windows-11_23H2-aarch64-54:
- MSVC v.19.50.35729.0
- Windows SDK 10.0.26100.7705
- dotnet 10.0 components
- Visual Studio now has 'ci_msvs' user added in which has license to use
  debugger tools.
- Resolution is set to 1280x1024. It was reset to 1024x768 by an ON
  update. This should fix mouse pointer desync in tier-1.
- Visual Studio 2022 is removed to simplify vs2026 use.

Task-number: QTQAINFRA-7559
Task-number: QTQAINFRA-5417
Change-Id: I297aaf569b28be570c1fbefc821370ae711b5ec2
Reviewed-by: Tero Heikkinen <tero.heikkinen@qt.io>
2026-05-14 06:01:23 +00:00
Liang Qi
6a9966d4fb coin: instruction modifications for HarmonyOS
Done-with: Joerg Bornemann <joerg.bornemann@qt.io>
Change-Id: I8f664de2f50c73eeaeed3fdbd0ff89d3ace693b3
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2026-05-14 00:25:03 +00:00
Liang Qi
a6d9551cd7 coin: vcpkg install ports for HarmonyOS
Done-with: Joerg Bornemann <joerg.bornemann@qt.io>
Change-Id: I18b27db3e37a3ff892b985e34d4d43bca81eb0e5
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2026-05-14 00:25:03 +00:00
Liang Qi
25748b508a coin: add provisioning scripts for HarmonyOS
Done-with: Joerg Bornemann <joerg.bornemann@qt.io>
Change-Id: I9b4ce2855b7661065a903e0d9568254f02dddd62
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2026-05-14 00:25:02 +00:00
Liang Qi
7c29d9c099 coin: switch vcpkg configuration
The new tag and new baseline include the previous qt port
customizations, but also brings in new necessary port changes
to install ohos-related packages.

Done-with: Joerg Bornemann <joerg.bornemann@qt.io>
Change-Id: I813e84b7708656329b3373073a795ed0b9ac45d8
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2026-05-14 00:25:01 +00:00
Liang Qi
7bfd22157a coin: vcpkg build changes for HarmonyOS
Done-with: Joerg Bornemann <joerg.bornemann@qt.io>
Change-Id: I48c0fa7ef9c774588791008d06ca8734dabde7da
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2026-05-14 00:25:00 +00:00
Elias Toivola
75cdce7b2c Unix: clean up vcpkg buildtrees and packages in provisioning
After vcpkg has done installing, only the contents of
$vcpkgRoot/installed are needed by Qt builds. The vcpkg /buildtrees and
/packages directories should be deleted to reduce tier-2 image size in
Unix targets.

Pick-to: 6.11 6.8
Task-number: QTBUG-115715
Change-Id: Ia23ddacde218ba4c6d3276108fbf6a9754f14923
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
2026-05-14 00:24:59 +00:00
Elias Toivola
0dab9c3637 Windows: clean up vcpkg buildtrees and packages in provisioning
After vcpkg has installed libraries, only the contents of
$vcpkgRoot\installed are needed by Qt builds. The vcpkg \buildtrees and
\packages directories should be deleted to significantly reduce Windows
tier-2 image size.

Pick-to: 6.11 6.8
Task-number: QTBUG-115715
Change-Id: I311242c61ba7000cdcc49b0f6ff92cf343e209c9
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
2026-05-14 00:24:58 +00:00
Aku Pietikäinen
57901788c3 Platform Configs: Update macOS 15 Tier1 images for ARM
Increase image disk size to 300 GB.

Task-number: QTQAINFRA-7880
Change-Id: I0382d1a23fb54db365d79663ab59753427f72f75
Pick-to: 6.11
Reviewed-by: Jukka Jokiniva <jukka.jokiniva@qt.io>
2026-05-14 00:24:57 +00:00