Commit Graph

6350 Commits

Author SHA1 Message Date
Simo Fält e6be06dfd1 COIN: Remove 'Packaging' feature from rhel 8.10
The release config was replaced with rhel 9.2. There is no need
to export 8.10 artifacts anymore.

Pick-to: 6.10
Change-Id: I64fe163a1ab22f4275a8c449f18b3c51d71f8633
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2025-09-16 09:49:37 +03:00
Elias Toivola 77a36c30b6 Android: move preview NDK r29-beta2 to nightly
Set Android 16 to use the _LATEST NDK instead, and create nightly
Android targets that use the _PREVIEW NDK.

Task-number: QTQAINFRA-7290
Task-number: QTQAINFRA-7291
Change-Id: I13688d2c624ba985b5d1fa7a62a2617844dfb9e2
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
Reviewed-by: Rami Potinkara <rami.potinkara@qt.io>
2025-09-15 20:59:48 +03:00
Rami Potinkara 1ce81f80e4 Android 16: Introduce NDK r29-beta2 as preview NDK
This patch introduces preview NDK. Environment variables related to
preview NDK's are marked with _PREVIEW. The patch introduces NDK
29.0.13599879-beta2 as first _PREVIEW NDK. This preview NDK will be
first used in insignificant platforms Android 16.

Task-number: QTQAINFRA-7290
Fixes: QTQAINFRA-7291
Change-Id: Id093b8f71970f77409bd805d6d1d153f47ade762
Reviewed-by: Rami Potinkara <rami.potinkara@qt.io>
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
Reviewed-by: Elias Toivola <elias.toivola@qt.io>
2025-09-15 20:59:39 +03:00
Ari Parkkila 29f432f318 Add platform configs for meta-qbsp-qcom
CI configs for new Qt on board repo.

Task-number: QTBUG-139550
Change-Id: I51a4ecf78088557a53a6754c0bcd661a1165b87f
Reviewed-by: Toni Saario <toni.saario@qt.io>
2025-09-12 09:03:50 +03:00
Matti Paaso f2303b428f Update Axivion analysis configuration
Update QR rule set and add user name mapping into email to enable
erosion notification.

Task-number: QTQAINFRA-7222
Change-Id: I98fa2f278c3fea7dde61477841ef03ce10223d58
Reviewed-by: Jukka Jokiniva <jukka.jokiniva@qt.io>
2025-09-12 09:03:47 +03:00
Simo Fält e8106d5615 Provisioning: Update python 3.9 to 3.13 for macOS packaging config
After swapping the packaging node from x86_64 to arm64 the
default python got downgraded from 3.11 to 3.9.

Pick-to: 6.10
Change-Id: Iea65e3c3d959c22e1a12d2a4f12ba466de4dbf24
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2025-09-12 07:20:18 +03:00
Tero Heikkinen 420b7fe88a Make Windows 11 23h2 ARM tests as blocking in CI
[CI Platforms]

Task-number: QTQAINFRA-6973
Pick-to: 6.10 6.9
Change-Id: I92c4785eea01dabc31e4ce5a38e8af47fad70a1d
Reviewed-by: Simo Fält <simo.falt@qt.io>
2025-09-11 16:19:11 +03:00
Tero Heikkinen 1fbc552781 CMake: Force build tools when cross-compiling for Windows 11 23h2 ARM64
(Extends 9254959ace to WoA 11 23h2)

Pick-to: 6.9 6.10
Task-number: QTBUG-138859
Task-number: QTQAINFRA-6973
Change-Id: I745f3276b115331d18ba6a9517b9d361697214a9
Reviewed-by: Simo Fält <simo.falt@qt.io>
2025-09-11 16:19:09 +03:00
Even Oscar Andersen aa81fb2989 wasm: Install dependencies of qtwasmserver for python 3.11
We provide qtwasmserver.py when running the selenium tests,
but the dependencies of it must be installed.

Change-Id: Ib12ff04ec6bed28e44b7b2517339669fde9f256a
Reviewed-by: Piotr Wierciński <piotr.wiercinski@qt.io>
2025-09-11 06:32:36 +02:00
Even Oscar Andersen f084f4f5e0 wasm: Download chromedriver 139.0.7258.138
We install the new driver alongside the old one,
to make sure that existing builds work unmodified.

The new chromedriver is needed for jspi to work.

We set environment variables:

-- for existing builds
BROWSER_FOR_WASM
CHROMEDRIVER_PATH

-- for new builds
WASM_BROWSER_JSPI
WASM_BROWSER_JSPI_ARGS
WASM_CHROMEDRIVER_PATH_JSPI
WASM_CHROMEDRIVER_PATH_JSPI_ARGS

Change-Id: Ia83d639ea2daf34cf44bd72bae455211fd64a441
Reviewed-by: Piotr Wierciński <piotr.wiercinski@qt.io>
Reviewed-by: Tero Heikkinen <tero.heikkinen@qt.io>
2025-09-10 15:58:21 +02:00
Simo Fält 202622c541 COIN: Fix Debian bookworm pgp key in Ubuntu 22.04 for debootstrap
Pick-to: 6.9 6.8
Change-Id: Ie06c37987cf21ee0f8f60528af5d70cbf8b5490d
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
(cherry picked from commit e6eaa4f3ef)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-09-10 05:43:54 +00:00
Jukka Jokiniva 2bafe451fa Update qt3d submodule
Change-Id: I4ad94f90ad101961bb87e5e3eefd7fc7ec6201d1
Reviewed-by: Simo Fält <simo.falt@qt.io>
2025-09-10 08:43:52 +03:00
Simo Fält a792a399e3 COIN: Fix Debian with missing debootstrap key
Pick-to: 6.9 6.8
Change-Id: I61f6a4834b034bb52323416499d71543f290ccf6
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
(cherry picked from commit 4bb846dd6d)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-09-10 04:29:50 +00:00
Elias Toivola 0f3d085101 Windows: Add a helper to cleanly invoke NMake with zlib
Invoke-NMake helper temporarily clears MAKE flags, such as
MAKEFLAGS='-j8', to prevent errors from GNU-style flags and to reduce
flakiness with NMAKE.

The helper is used to build zlib and to prevent:
error U1065: invalid option '-'

Pick-to: 6.10 6.9 6.8 6.5
Task-number: QTQAINFRA-7363
Change-Id: Ia80216677eba6fd8f8364741b6999e6155d678ab
Reviewed-by: Tero Heikkinen <tero.heikkinen@qt.io>
2025-09-09 14:01:45 +03:00
Toni Saario b8995e0ebc Delete macOS GCA keys and dhcp lease after provisioning
This ensures that link-local IPv6 address is unique per
each VM.

Task-number: QTQAINFRA-7383
Pick-to: 6.10 6.9 6.8 6.5
Change-Id: I53434ec3a158cec09f03c96087a401ef05f47b86
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
2025-09-09 05:01:58 +00:00
Aku Pietikäinen 1126034d5b Use common p7zip install script and remove unnecessary brew update
Change-Id: Id704953bf2eb9a2cfb11dbdb47451aed7bbc736b
Task-number: QTQAINFRA-7381
Pick-to: 6.10 6.9 6.8 6.5
Reviewed-by: Simo Fält <simo.falt@qt.io>
2025-09-09 05:01:55 +00:00
Frederic Lefebvre f9d8882a51 Provisioning: Do not hardcode dynamic libclang version in file names
libclang-v100-dyn.sh had the libclang version 10.0 hard coded in the
file name for the Windows scripts. All local provisioning scripts
calling the latter also had the same version hard coded in their
respective filenames. libclang-v100-dyn.sh also sets the version to be
downloaded in a local variable

There is a mismatch between file names and actually installed version
when the download version is modified.

Remote version from common installer and related local scripts.

Change-Id: I81773ff5a834b6f396ce17af93c6510991de129a
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2025-09-08 07:09:11 +02:00
Tero Heikkinen 0b23c3afcd macOS: Fix mdutil unknown indexing state in provisioning
Task-number: QTQAINFRA-7377
Pick-to: 6.9 6.8 6.5
Change-Id: Idf0dc607a4c6f7299412f6979f9ea6de5ea522cb
Reviewed-by: Ville-Pekka Karhu <ville-pekka.karhu@qt.io>
2025-09-05 18:35:38 +03:00
Aku Pietikäinen ae2ae67c61 Update homebrew to version 4.6.8 and git to latest installer
Change-Id: I2c13ce86b3aceae47afab7e1af1489c2d355aad2
Pick-to: 6.10 6.9 6.8 6.5
Reviewed-by: Tero Heikkinen <tero.heikkinen@qt.io>
2025-09-05 15:35:31 +00:00
Tero Heikkinen fc6aa80d32 Windows: Add virtio driver version to provision log
With possibility to extend other drivers's versions into log

Task-number: QTQAINFRA-7168
Pick-to: 6.10 6.9 6.8
Change-Id: Ib10887fb904a75ccbb91bef2e9be0e83625da784
Reviewed-by: Matti Paaso <matti.paaso@qt.io>
2025-09-05 18:35:21 +03:00
Tero Heikkinen 3745eeddb9 Linux: Fix Debian packagekit failing in provisioning
Target jammy-arm64-debian-pkg-packaging fails in
waitLoop function, which is also used by Ubuntu platforms.

Fix by extending wait loop for lock paths:
  - /var/lib/dpkg/lock
  - /var/lib/apt/lists/lock (new)

Task-number: QTQAINFRA-7361
Change-Id: If8d5eacaeb72ea6a36496093bc5c248f61997afb
Reviewed-by: Ville-Pekka Karhu <ville-pekka.karhu@qt.io>
2025-09-05 18:35:10 +03:00
Rami Potinkara 0eb085f93d Android: Fix Android 16 emulator CI start problems
This patch updates the fully booted check for Android.

Old logic used init.svc.bootanim property and it's status
"stopped", but since Android 16 forward the status is kept
empty "" if "-no-boot-anim" emulator startup parameter is used.

The new logic simplifies old and relies only to two values:
sys.boot_completed and dev.bootcomplete. These work similary
from Android 9 to 16.

Task-number: QTQAINFRA-7299
Task-number: QTQAINFRA-7298
Pick-to: 6.10 6.9 6.8
Change-Id: I62efb0b05cd9792f92040dcb98a37f4bf14022e6
Reviewed-by: Dimitrios Apostolou <jimis@qt.io>
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
Reviewed-by: Elias Toivola <elias.toivola@qt.io>
2025-09-05 15:34:46 +00:00
Axel Spoerl 07134034b7 Bump dynamically linked libclang version to 20.1.3
Libclang dyn >= 14 is needed e.g. for Squish.
As a drive-by, optimize shell script.
Bump version from 10 to 20.1.3.

Task-number: QTQAINFRA-7353
Change-Id: Iba3584c056c8f06b4efe19ac42d030b4a4049d34
Reviewed-by: Andreas Muss <andreas.muss@qt.io>
Reviewed-by: Simo Fält <simo.falt@qt.io>
Reviewed-by: Stefan Gehn <stefan.gehn@qt.io>
2025-09-04 21:25:34 +02:00
Toni Saario 185933a3a3 Cache maven dependencies for californium build
The fetching from 3rd party repos has become very flaky.
To avoid mirrors throttling us and other flaky issues cache
the dependencies and set -o to enable offline mode.

This seems to also speed up the step considerably.

Pick-to: 6.10 6.9 6.8 6.5
Change-Id: I01663e60baa44ab828d8880ab8b346034a50b60e
Reviewed-by: Jukka Jokiniva <jukka.jokiniva@qt.io>
2025-09-04 08:24:11 +03:00
Jukka Jokiniva e92d9ce4f5 Update qtremoteobjects submodule
Change-Id: I97f81082c1e668f8ca09115f64e8363a1d0330c3
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2025-09-04 08:24:09 +03:00
Qt Submodule Update Bot 138644954f Update submodules on 'dev in qt/qt5'
Change-Id: Ia5409e8ce4a4405aa702be0dcb5c40dc28060bc3
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-09-02 23:32:34 +00:00
Ville-Pekka Karhu 13487118df Provisioning: Take repo-clones-apt into use in Ubuntu 24.04
Pick-to: 6.10 6.9 6.8
Task-number: QTQAINFRA-6297
Change-Id: I7d9b3edc2b2429361e421ce13b5c36f4247693f6
Reviewed-by: Tero Heikkinen <tero.heikkinen@qt.io>
2025-09-01 12:42:18 +00:00
Axel Spoerl 75b7834370 Make ubuntu-24.04-x64-x11-tests test insignificant
Ubuntu 24.04 installs Wayland by default. The X11 version is known to
be problematic, which is why ubuntu-24.04-x64-documentation-x11-tests
has been marked InsignificantTests.

Extend this to ubuntu-24.04-x64-x11-tests.

Task-number: QTBUG-137909
Task-number: QTBUG-136092
Pick-to: 6.10 6.9 6.8 6.5
Change-Id: I38f4bb5ca59255870dc6dbbb69e9ab339c679ddc
Reviewed-by: Ville-Pekka Karhu <ville-pekka.karhu@qt.io>
2025-09-01 12:42:13 +00:00
Elias Toivola ffc15eb35f Android FFmpeg: Further fix FFmpeg build directories
This fixes "does not exist" errors when trying to build multiple NDKs.

This amends 303b4c13dc

Pick-to: 6.10 6.9 6.8 6.5
Task-number: QTQAINFRA-7069
Change-Id: I29f5cd85ffb3cf12a81b5816a5601ea37446042d
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
2025-08-31 17:38:48 +03:00
Nils Petter Skålerud 61046109cf macOS, FFmpeg: Don't use patchelf 0.18 for Android FFmpeg patching
At the time of writing, homebrew ships patchelf version 0.18.0. This
version of patchelf has a bug specific to Androd binaries. The macOS
14 arm64 host currently uses this version of patchelf. This causes an
issue during runtime linking in Qt Multimedia applications on Android.

This patch modifies the macOS 14 arm64 host to use patchelf v0.17.2
that we compile from source. It also adds warnings to the provisioning
log should someone try to use v0.18.0 in the future.

Fixes: QTBUG-136930
Pick-to: 6.10 6.9 6.8
Change-Id: Id66b560e6a1d4300a54017e9c3366720dc291944
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
2025-08-31 16:38:39 +02:00
Nils Petter Skålerud 7f416abf32 FFmpeg, Android ARMv7: Use correct build folder when fixing deps
This patch amends 133de012af95507ac485845d8de8f58da005df64.

The previous patch introduced a regression where the newer build paths
were not being passed correctly into 'fix_ffmpeg_dependencies.sh'
during FFmpeg Android builds.

This patch introduces a common function to resolve the installation
directory, which is then used both during compilation and during
FFmpeg patching.

Additionally, it introduces some basic error-handling when running
'fix_ffmpeg_dependencies.sh' so that we can catch this issue in
integration, in the future.

Pick-to: 6.10
Fixes: QTBUG-138615
Change-Id: I195ebd3034a3184bad32e75916a41a20838b2db1
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
2025-08-31 16:38:36 +02:00
Assam Boudjelthia a1e154912b Android: update provisioning to Gradle 8.14.2 and AGP 8.10.1
Task-number: QTBUG-137782
Change-Id: I522a7179e1a0be7c7bb876d935fd02ef7e049475
Reviewed-by: Simo Fält <simo.falt@qt.io>
Reviewed-by: Elias Toivola <elias.toivola@qt.io>
2025-08-28 00:24:58 +03:00
Ville-Pekka Karhu 1554708638 Update macOS 26 ARM Tier 1 to beta 7
Task-number: QTQAINFRA-7196
Change-Id: I0073e8cd326e6959cd1c9eb39c16d32535dc16f0
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
2025-08-25 15:50:49 +03:00
Axel Spoerl f379f4552f Unix provisioning: Don't hardcode dynamic libclang version in file names
coin/provisioning/common/unix/libclang-v100-dyn.sh had the libclang
version 10.0 hard coded in the filename.
All local provisioning scripts calling the latter also had the same
version hard coded in their respective filenames.
At the same time coin/provisioning/common/unix/libclang-v100-dyn.sh
sets the version to be downloaded in a local variable.

When the download version is bumped, there is a mismatch between file
names and actually installed version.

Remove version from common installer and related local scripts.

Task-number: QTQAINFRA-7353
Change-Id: I7489489056e611d6ab84862dafbe48e4e2532780
Reviewed-by: Dimitrios Apostolou <jimis@qt.io>
Reviewed-by: Simo Fält <simo.falt@qt.io>
2025-08-22 12:33:57 +02:00
Tero Heikkinen acb1eb656a Add missing static targets to Windows on ARM 11 23h2
Targets
  - windows-11_23h2-arm64-msvc2022-minimal-static-test
  - Windows-MSVC2022-arm64_Static-23H2

Task-number: QTQAINFRA-7273
Task-number: QTQAINFRA-6973
Pick-to: 6.10 6.9
Change-Id: I1e2110973d0ad0645c1f5b62c420655c94235eab
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
Reviewed-by: Simo Fält <simo.falt@qt.io>
2025-08-22 09:55:51 +03:00
Ville-Pekka Karhu 69525fdc24 Provisioning: Update Xcode for macOS 26 beta
Change-Id: If8498fd4e5a0b7d44e3601dd2ccd05cd7974d436
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
2025-08-21 15:08:56 +00:00
Tor Arne Vestbø e8f8c9e845 coin: Force detach Docker volume unmount
Change-Id: I6c19b374adf3d4cd75a3307474e973af96613378
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2025-08-21 14:48:16 +02:00
Aku Pietikäinen a9b7487138 Change libiodbc brew to use local tap
Installing directly from rb file no longer supported by
homebrew without HOMEBREW_DEVELOPER set after https://github.com/Homebrew/brew/pull/20414
was merged.

Create local tap for install to avoid need for homebrew developer mode.

Task-number: QTQAINFRA-7344
Change-Id: Id59af01875b16d1757b1dba36c2ba04bf973c212
Reviewed-by: Simo Fält <simo.falt@qt.io>
2025-08-21 15:48:13 +03:00
Aku Pietikäinen f73de1b6a8 Use correct PATH for homebrew based on architecture
Task-number: QTQAINFRA-6903
Change-Id: I1b5f529e8e94a7e609b5be1704ed83f6380f4cc5
Reviewed-by: Ville-Pekka Karhu <ville-pekka.karhu@qt.io>
2025-08-21 15:48:10 +03:00
Simo Fält 77eb380ac0 COIN: Replace Debian stable with bookworm chroot
Stable is debian codename and the script was ran in Ubuntu, so it makes
me wonder how did this warm in the first place.

Change-Id: I6d907ce11d53aa498ea93522539891f38e7c8388
Reviewed-by: Tero Heikkinen <tero.heikkinen@qt.io>
2025-08-20 05:25:27 +00:00
Simo Fält d7166acfae COIN: Fix Debian bookworm chroot
Debian stable codename is now trixie.

Pick-to: 6.10 6.9 6.8
Change-Id: I296782cef2a4329e359413cd7515a8dfca271095
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
(cherry picked from commit 2dbbd0853f)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-08-20 05:12:01 +00:00
Tero Heikkinen 3ba1fb95be Linux: Add glibc versions visible in versions.txt
Will also make glibc versions visible in Tools and Versions pages.

Task-number: QTQAINFRA-7333
Pick-to: 6.10 6.9 6.8 6.5
Change-Id: Ic0274822f326e4b23ed423d8da20002bc6d4f20a
Reviewed-by: Simo Fält <simo.falt@qt.io>
2025-08-20 08:11:50 +03:00
Jarek Kobus 6261736208 QtTaskTree: Add qttasktree.yaml
Change-Id: I8f7028a84fcc1cfb27a081eb38765e324cbed306
Reviewed-by: Toni Saario <toni.saario@qt.io>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
2025-08-19 15:30:33 +00:00
Michal Klocek 493b592568 Add qt-zlib config to cross-compile window target
After shocking realization that build artifacts are mixed between
cross-compiled and native window arm builds for installer add missing qt-zlib config, so configs match better.

The -no-opengl mismatch is covered in different patch.

Any auto detected platform configs and features mismatch is unknown,
but let's do hope it works (as the final output is not covered by
single ci test).

Pick-to: 6.10 6.9
Task-number: QTBUG-138859
Change-Id: I03562f1b518cf711cee894b5cf3f4512e2521f77
Reviewed-by: Tero Heikkinen <tero.heikkinen@qt.io>
2025-08-18 04:40:51 +00:00
Pavel Dubsky f7af78977c Enable zlib in FFmpeg configuration
Fixes: QTBUG-103332
Pick-to: 6.10 6.9 6.8 6.5
Change-Id: I87a760edcd4d8a77966ec5a692cb1f1f4242b647
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
2025-08-12 14:54:31 +00:00
Tero Heikkinen d48682bcdf Windows ARM: Enable OpenGL for WoA 11 23h2
OpenCL, OpenGL, and Vulkan Compatibility pack has been
installed to WoA 11 23h2 Tier1 images to support OpenGL
usage with these modules:
  - QtBase
    - QtGui
    - QtWidgets
  - QtDeclarative
    - QtQuick
  - Qt3D

Enabling OpenGL by removing tags:
-no-opengl
-no-feature-run-opengl-tests

Introduce new cross-compile build target for WoA 11 23h2
  - windows-11_24H2-msvc2022-arm64-23H2
  - Which has OpenGL enabled
  - Should not be used with WoA 11 22h2 as it doesn't have OpenGL

New build will be used only for WoA 11 23h2 tests
  - windows-11-x86_64-arm64-tests-23H2
  - Which has OpenGL tests enabled

Names for these build and test targets will be renamed later when
WoA 11 23h2 replaces WoA 11 22h2 by removing '-23H2' suffix from names.

Task-number: QTQAINFRA-6973
Task-number: QTQAINFRA-6109
Task-number: QTBUG-126030
Pick-to: 6.10 6.9 6.9.2
Change-Id: Ifa29d93d996ac4884a86835328170d857bf91f33
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
2025-08-12 12:22:58 +03:00
Tim Blechmann c52c9ef8b8 provisioning: openSUSE-15.6 - fix gstreamer h264 codec installation
the gstreamer-1.20-plugin-openh264 package seems to be outdated, as
opensuse's openh264 repo seems to have moved to gstreamer-1.24 and
renamed the package to gstreamer-plugin-openh264:
https://codecs.opensuse.org/openh264/openSUSE_Leap/x86_64/

This partially reverts 69f651b01794c93da20894a7ea5728a332903850.

Pick-to: 6.10 6.9
Change-Id: Ie159ec48f83a7b7d10671d2200f7eb4fbcf93db3
Reviewed-by: Lars Sutterud <lars.sutterud@qt.io>
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
2025-08-12 13:29:44 +08:00
Lars Sutterud 9c0de61c89 Temporarily remove open264 GStremer plugin from openSUSE builds on CI
Fix build issue for openSUSE on CI, probably related to the
gstreamer-plugin-openh264 plugin being obsolete for the latest
gstreamer-plugins-bad package
https://forums.opensuse.org/t/gstreamer-plugins-bad-wants-to-obsolete-gstreamer-plugin-openh264/186318

GStreamer tests are disabled on openSUSE anyway atm.

Pick-to: 6.10 6.9 6.8
Change-Id: I6e19e655c8753de879d6bbf82e532d18b25a01cb
Reviewed-by: Tim Blechmann <tim.blechmann@qt.io>
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
2025-08-12 07:29:41 +02:00
Alexandru Croitor 9254959ace CMake: Force build tools when cross-compiling for Windows ARM64
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 6.10
Task-number: QTBUG-138859
Change-Id: I8270731a4afef7ab9af8df63326fb838e02968e8
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
2025-08-08 18:31:36 +02:00
Alexandru Croitor c3f303b50b Provisioning: Add arm64 libclang for Windows 11 24H2
So it can be used during cross-compilation of arm64 packages.

To ensure the env variable set does not conflict with the x86_64
version, the env variable is suffixed with "arm64".

Pick-to: 6.9 6.10
Change-Id: I117f6c4a8431058b9af22390942539a49c632d6a
Reviewed-by: Toni Saario <toni.saario@qt.io>
2025-08-08 18:31:35 +02:00