Commit Graph

6101 Commits

Author SHA1 Message Date
Alexey Edelev
b2e1673d99 Update Protobuf ROOT env variable match package name
find_package looks for PackageName_ROOT and the package is now
named 'protobuf'.

Fixes: QTBUG-132901
Pick-to: 6.9
Change-Id: Ifb956e4ab52c3df059d2624eb989c97473a662a2
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
2025-01-31 08:18:15 +01:00
Tor Arne Vestbø
ac2b15075c macOS: Set Protobuf_ROOT during provisioning rather than in each config
Decouples provisioning from build configurations.

Pick-to: 6.9 6.8
Change-Id: Ied2b60b360ef5ec5aab1dd4b2e6a0b81032d2938
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
2025-01-31 08:18:13 +01:00
Tor Arne Vestbø
124957a8cb Use correct path for libiodbc and forward via ODBC_ROOT env var
The hard-coded path paths added to LIBRARY_PATH and CPLUS_INCLUDE_PATH
was not correct on Apple Silicon Macs, where homebrew installs into
/opt/homebrew/.

There's also no point in passing on the library location via compiler
environment variables, when we can use ODBC_ROOT. And we don't need
to pass it on as a CMake define, as a environment variable works just
fine. This decouples the provisioning of libiodbc from the build
configurations.

Pick-to: 6.9 6.8
Change-Id: I40aa3c1852fb0baf3366fa1a9dab85a66eef95e2
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2025-01-31 08:18:12 +01:00
Tuomas Vaarala
f82829a1a2 Set CMAKE_OBJCOPY for QNX builds in toolchain file
Fixes: QTBUG-132801
Pick-to: 6.8 6.9
Change-Id: I9b68ac60cc540524c789fad7af0107b8b023af8e
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2025-01-30 07:31:23 +02:00
Matti Paaso
007ff995a9 Increase VM size for axivion analysis
Axivion analysis for qt5 started to fail at out of memory.
Increasing virtual machine size to correct the problem.

Task-number: QTQAINFRA-6931
Change-Id: I2d0f1ee655a1449926f9938dbae6f4be0afbce8f
Reviewed-by: Toni Saario <toni.saario@qt.io>
2025-01-30 07:31:20 +02:00
Piotr Wiercinski
ae85de3cf8 wasm tests: Update Chrome to 131 and use headless mode
Newer version of Chrome together with healdess mode
should provide more stability.

Pick-to: 6.9
Change-Id: Ifb6b326b90067d9e069ebef662356d28e2c9edd7
Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
2025-01-28 17:00:28 +01:00
Timur Pocheptsov
1968adc126 Update provisioning script to build FFmpeg for iOS
as xcframeworks, so that we can provide both arm64 and arm64-simulator
versions (the former can be used in App Store, the latter when
working with a simulator).

Pick-to: 6.8 6.9
Task-number: QTBUG-132313
Change-Id: Ic683f58dffcef8a06adb4a915c4e3abc4ab219e5
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
2025-01-27 22:31:52 +01:00
Toni Saario
14ca3bbb75 Revert arm side of VxWorks VSB/VIP update
This caused tst_qplaintextedit to start flaking a lot.

Partially reverts b25251e2ba.

Task-number: QTBUG-133243
Change-Id: I348faa09831720a43aeb1f8097c42185e32c31dd
Reviewed-by: Jukka Jokiniva <jukka.jokiniva@qt.io>
2025-01-27 15:48:52 +02:00
Even Oscar Andersen
6224b4be91 wasm: Enable the mosquitto test broker on Ubuntu and windows
The test broker will later be used by the mqtt tests

There are 4 variants using two ports each

2883, 3883  -> Tcp
9883, 10883 -> Ssl
9080, 10080 -> WebSocket
9081, 10081 -> WebSocketSecure

For each of the 4 variants we test 3 protocols:
3.1, 3.1.1, 5.0

Task-number: QTBUG-129171
Change-Id: If000dd333221e7296499fc756ef97a074cf97273
Reviewed-by: Elias Toivola <elias.toivola@qt.io>
Reviewed-by: Jøger Hansegård <joger.hansegard@qt.io>
Reviewed-by: Jukka Jokiniva <jukka.jokiniva@qt.io>
2025-01-26 19:05:29 +01:00
Toni Saario
fbed6e5f0c Coin: Use 16GB of memory for VxWorks x86_64 qemu
A test requires this much memory.

Change-Id: I85063fbe911317035a6de3e85354ffb243d0cd7f
Reviewed-by: Simo Fält <simo.falt@qt.io>
Reviewed-by: Aku Pietikäinen <aku.pietikainen@qt.io>
2025-01-23 19:50:23 +02:00
Toni Saario
b25251e2ba Update intel VxWorks VSB and VIP
Increases stack size for intel.

Pick-to: 6.9
Change-Id: Ic40b87582940d03abf4430e2664e55e0a7d322be
Reviewed-by: Simo Fält <simo.falt@qt.io>
2025-01-23 17:50:21 +00:00
Dimitrios Apostolou
8bec383a8e Disable Super-key causing windows-overview effect on Ubuntu
When it activates, all calls to qWaitForWindowActive() fail causing a
barrage of test failures.

Fixes: QTBUG-132070
Change-Id: I4d414e34d91d54f3edac9a476d66d5db8dab6c7b
Reviewed-by: Toni Saario <toni.saario@qt.io>
2025-01-22 15:37:56 +01:00
Dimitrios Apostolou
6ef00a5912 pre-provisioning: Install QEMU guest agent on all windows versions
It seems it has been forgotten from some versions.
It helps with monitoring the IP address the VM gets via DHCP and
offers other useful functionality to the KVM hypervisor.

Task-number: QTQAINFRA-6610
Change-Id: Ie4b3ab7794ae2bafe53224006b2417d73851b495
Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
2025-01-22 15:37:43 +01:00
Dimitrios Apostolou
f7797ab9ca Pre-provisioning: Install qemu-guest-agent on Linux distros
It helps to monitor the IP address assigned by DHCP from they
hypervisor.

Task-number: QTQAINFRA-6610
Change-Id: I51c85b341b039a0625e0362f018c547127083dcc
Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
2025-01-22 15:37:39 +01:00
Artem Dyomin
39ad0317d1 Decouple install-ffmpeg on linux and macos specific files
The FFmpeg building flow has become too different on linux and macos.
Decoupling the logic makes it more simple to follow.

The CR also fixes nits and shellcheck warnings in install-ffmpeg.

Pick-to: 6.8 6.9
Change-Id: I28639d28c7210809e52ff18ce612da52f8754285
Reviewed-by: Jøger Hansegård <joger.hansegard@qt.io>
2025-01-17 07:15:13 +01:00
Tero Heikkinen
8d0f126d85 SLES 15 SP5: Update timezone package
Updates:
  - Timezone package from 2023c to 2024a
  - qtci-linux-SLES-15_SP5-x86_64-50 --> 51

Task-number: QTQAINFRA-6901
Pick-to: 6.9 6.8
Change-Id: I8ae65d0f8729e9dcf9147f45b09279fb805027ef
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Jukka Jokiniva <jukka.jokiniva@qt.io>
2025-01-17 08:15:12 +02:00
Tor Arne Vestbø
a8dd351338 coin: Make macOS 15 test configurations conditionally significant
By removing the InsignificantTests flag and adding the
COIN_CTEST_IGNORE_EXIT_CODE env var we can control the
significance at the module level.

Change-Id: I89171f6dbed8c38aed279aec01e3bad36a157f5e
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
2025-01-17 00:59:12 +01:00
Alexey Edelev
6f0c6b1614 Disable top-level configure run for the cross-builds
The 'target' configurations currently trigger the 'host'
configure command line, and are duplication of the existing
rule we have for the host machines. Disable the top-level
configure checks for the 'target' builds completely.

Fixes: QTBUG-132799
Pick-to: 6.8 6.9
Change-Id: Ia06dde53825e882e78a8c6be9e62779aaedcebf4
Reviewed-by: Toni Saario <toni.saario@qt.io>
2025-01-16 13:53:31 +01:00
Qt Submodule Update Bot
7b2df7878c Update submodules on 'dev in qt/qt5'
Change-Id: I827dbf09b1fb718d8a803b082562a62ae75b7dd8
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-01-16 12:53:29 +00:00
Teemu Holappa
9fca80b5d2 Remove macOS-13 builds and tests from qtsaferenderer.yaml
Fixes dependency update failure.

Change-Id: I8019e4e17bacefe35670326a975feaaffc35d3c7
Reviewed-by: Jukka Jokiniva <jukka.jokiniva@qt.io>
2025-01-15 12:45:09 +00:00
Matti Paaso
45491c61fc Provisioning: Update Axivion bauhaus suite and license file
Task-number: QTQAINFRA-6880
Pick-to: 6.5
Change-Id: I92a70dcb14bbba0ded889894059f2de849b1f557
Reviewed-by: Simo Fält <simo.falt@qt.io>
2025-01-14 18:41:50 +02:00
Tero Heikkinen
6c6faeefd2 Add Perl JSON module
Needed with all the machines generating SBOM

Task-number: QTQAINFRA-6871
Task-number: QTBUG-131434
Pick-to: 6.9
Change-Id: I15a79c005f530c551f9026e2cbfb465ed1211e98
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2025-01-14 18:41:47 +02:00
Piotr Wierciński
c052b991b0 wasm: Update Emscripten to 3.1.70
Pick-to: 6.9
Change-Id: I2a1250d2744d12f5d3f8122f7931c821c607f71b
Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
Reviewed-by: Piotr Wierciński <piotr.wiercinski@qt.io>
2025-01-14 05:24:20 +00:00
Tor Arne Vestbø
a8b2d9bcdc Enable crash reporting via Swift on macOS 15
Swift 5.9 includes built in crash reporting, printing stack traces,
libraries, and registers to stdout/err.

https://www.swift.org/blog/swift-5.9-backtraces/

As (Core)Foundation is written in Swift nowadays, we get this feature
for free even in our "C++" apps, as we always link to CoreFoundation.

Our test binaries have been taught how to hook into this, so the
remaining step is to enable it via the SWIFT_BACKTRACE env var.

Pick-to: 6.9
Change-Id: I72dbd9ea934ecc3091766456509f4bd42b2bdab8
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2025-01-14 06:24:18 +01:00
Rami Potinkara
2c85a91e07 Android: Android 15 as maximum supported version
This patch
- Replaces Android 14 with Android 15 as a maximum version
- Introduces Android 15 system image to CI cache
- Sets Android 15 as significant

Task-number: QTQAINFRA-6478
Fixes: QTQAINFRA-6652
Pick-to: 6.9 6.8 6.5
Change-Id: Icb6de43f3e2c2f7f98f3172c83d66bebf9603d24
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
2025-01-11 10:31:58 +02:00
Tor Arne Vestbø
2114880512 coin: Add visionOS developer build configuration
Change-Id: Id3943167f94eff4171513f7c1328bbc8100b791a
Reviewed-by: Christian Strømme <christian.stromme@qt.io>
2025-01-11 02:07:14 +00:00
Artem Dyomin
51dad84914 Add ffmpeg-installation-utils.sh file
There're code duplications in install-ffmpeg scripts.
Let's have a file with FFmpeg installation utils and reuse
the functionality on unix platforms.
The utility functions make the code more robust and get
around code duplications.

Pick-to: 6.9 6.8 6.5
Change-Id: I28639d18c7110109e52ff09ce602da52f8857281
Reviewed-by: Jøger Hansegård <joger.hansegard@qt.io>
2025-01-10 08:35:00 +01:00
Qt Submodule Update Bot
c7f209fab8 Update submodules on 'dev in qt/qt5'
Change-Id: I36162fdbebe772d4d0a59fa142f825fd169b39ef
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-01-08 07:10:46 +00:00
Samuli Piippo
69dfa0449c WoA: update template
WoA template got updated in 2151c5510f
and 0f18b0bc2f, but not everywhere.

Pick-to: 6.9 6.8
Change-Id: Ie2ee9e62f9bc10753bd527a2b1a7edc5de46ca60
Reviewed-by: Tero Heikkinen <tero.heikkinen@qt.io>
Reviewed-by: Simo Fält <simo.falt@qt.io>
2025-01-03 14:29:37 +02:00
Antti Kokko
e1f67cc3e6 Add missing documentation target for QtAA build
Pick-to: 6.9
Task-number: QAA-2754
Change-Id: Icfd3bbeb94287e6e9a325af7785df173778044d9
Reviewed-by: Maija Metso <maija.metso@qt.io>
2025-01-02 09:30:51 +00:00
Johanna Äijälä
30a5af347f Provisioning: update Squish 8.1
Remove Squish provisioning from Debian11.6: Squish wont work
due GLIBC versiom mismatch.

Pick-to: 6.9
Pick-to: 6.8
Change-Id: I7bac15d585a87b402e41c9ab09099e2cabbd09d1
Reviewed-by: Matti Paaso <matti.paaso@qt.io>
2024-12-30 08:05:28 +02:00
Michal Klocek
f8e873b188 Add html5lib to python.3.11
RHEL 8 installs python3-html5lib, however this only affects
installed pythnon 3.6, webengine should use
3.11 therefore add it to pip installer.

The change for switching webengine to 3.11 is in
so installing of python3-htmllib can be removed.

Change-Id: Ia6f4262971f60b960a61a466f418750c0d956cbc
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2024-12-20 19:47:50 +01:00
Timur Pocheptsov
ae8395afa7 Build ffmpeg for iOS as frameworks
While dylibs embedded in app bundle work locally on a device,
Apple Connect rejects such an app complaining about missing
Swift Runtime Support. Instead we must create frameworks.

Pick-to: 6.9 6.8
Task-number: QTBUG-130813
Change-Id: Ifd6eed227478bc29702b3b59968fcbfe2839ca82
Reviewed-by: Jukka Jokiniva <jukka.jokiniva@qt.io>
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
2024-12-18 15:42:14 +02:00
Tero Heikkinen
54c7225ed4 Remove openSUSE 15.5 from CI
openSUSE 15.6 is replacing openSUSE 15.5 [CI Platforms]

Task-number: QTQAINFRA-6740
Pick-to: 6.9
Change-Id: I7b1fcced5d27533c9d42c290e6f0106bdf35dfd6
Reviewed-by: Jukka Jokiniva <jukka.jokiniva@qt.io>
2024-12-18 10:44:08 +02:00
Elias Toivola
0f18b0bc2f WoA: Install Windows SDK 10.0.26100.1742
Change Windows 22h2 arm64 tier-1 template -54 -> -55, where Windows
SDK 10.0.26100.1742 is installed.

Task-number: COIN-1206
Change-Id: Id4b008d12ee092daa1e84c50d9a36240ee680483
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
2024-12-16 10:24:14 +00:00
Elias Toivola
75578f016a Windows 10: Install Windows SDK 10.0.26100.1742
Change Windows 10 22h2 x86_64 tier-1 template -52 -> -53, where Windows
SDK 10.0.26100.1742 is installed.

Task-number: COIN-1206
Change-Id: Ia78f8d3b67c3aa546a4f47ad503f44782722631f
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
2024-12-16 10:24:12 +00:00
Elias Toivola
4bfe8b9d71 Windows 11 23h2: Install Windows SDK 10.0.26100.1742
Change Windows 11 23h2 x86_64 tier-1 template -53 -> -54, where Windows SDK 10.0.26100.1742 is installed.

Task-number: COIN-1206
Change-Id: I713ea4d5032145a92d7bcbccec6c98543cbc90d2
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
2024-12-16 10:24:11 +00:00
Ari Parkkila
05a35d6bcc Add platform configs for meta-boot2qt-qcom-hwe
CI configs for new Boot2Qt repo.

Task-number: QTBUG-127698
Change-Id: I26fcc8c6a2224959a670290f7fcfe402ed7be137
Reviewed-by: Tero Heikkinen <tero.heikkinen@qt.io>
Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
2024-12-13 09:10:34 +02:00
Tero Heikkinen
565847e632 wasm: enable exceptions for autotests build for openSUSE 15.6
Qt auto tests now require exceptions due to usage of
QTEST_THROW_ON_FAIL and QTEST_THROW_ON_SKIP.

(Amends 72e2341971)

Task-number: QTBUG-121822
Pick-to: 6.9
Change-Id: I175ce8459660465477a0ac29d65353c871df69b9
Reviewed-by: Toni Saario <toni.saario@qt.io>
2024-12-12 21:15:27 +02:00
Alexandru Croitor
ffef920337 CMake: Raise CI-tested minimum CMake version to 3.22.6
Also change the upper case L to lower case l, because it's changed
upstream.

Amends 0cfa1fa561

Pick-to: 6.9
Task-number: QTBUG-131169
Change-Id: I5e501e37bb5516e15a2cbb68cb523ebc5e88d47c
Reviewed-by: Nicholas Bennett <nicholas.bennett@qt.io>
2024-12-12 16:36:48 +00:00
Toni Saario
90071f1d7c Make VxWorks tests more significant
This makes ARM target tests significant for qtbase, qtgraphs and
qtgrpc. Intel target tests for qtgraphs, qtgrpc, qtlanguageserver,
qtquicktimeline, qtmultimedia, qtshadertools and qtsvg.

Pick-to: 6.9
Change-Id: I4ae3591dacb21207d5aaf65c1fdff4fd19c3903c
Reviewed-by: Tero Heikkinen <tero.heikkinen@qt.io>
Reviewed-by: Simo Fält <simo.falt@qt.io>
2024-12-12 16:36:46 +00:00
Tero Heikkinen
d3ff4a42f6 Make openSUSE 15.6 tests as blocking in CI
[CI Platforms]

Task-number: QTQAINFRA-6740
Pick-to: 6.9
Change-Id: I844ef1e36d99a9cee2aaa5abf2050ed30b7e043f
Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
2024-12-12 18:36:43 +02:00
Tero Heikkinen
1c4e0928ff Extend usage of pin cores feature for all targets running tests
Extending feature usage with newest and recently added CI platforms
  - openSUSE 15.6
  - SLES 15 SP6

The feature enables 1:1 pinning of CPU cores for VM, which should mean
more stable CPU allocation from host and fewer sporadic failure.

The down side of this is that the targets will effectively use double
the capacity from the host that they previously would. It is to be seen
how effective this is in reducing flakiness, which would counter the
increased usage by reducing staging needed.

In Coin the feature is limited so that it only affects test VMs.

(Amends cf237ca8dc)

Task-number: QTQAINFRA-6702
Pick-to: 6.9
Change-Id: I34f76b127899a878ef2ddf8f3c09904d8e21f493
Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
2024-12-12 18:36:41 +02:00
Ville-Pekka Karhu
a4314266ba Provisioning: More repo-clones to SLES 15 SP 6
Task-number: QTQAINFRA-6467
Change-Id: Ifa74f35d0d5c896d357bf40fb4b10756c5908658
Reviewed-by: Ville-Pekka Karhu <ville-pekka.karhu@qt.io>
Reviewed-by: Tero Heikkinen <tero.heikkinen@qt.io>
2024-12-12 09:34:12 +00:00
Tero Heikkinen
e179279962 Provisioning: Add missing Vulkan library to Windows on ARM
Fixes: QTQAINFRA-6830
Pick-to: 6.9 6.8
Change-Id: Ia074c55ddd20414f0d6b0dbcc674cc8eb82b1cf8
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
Reviewed-by: Jonas Karlsson <jonas.karlsson@qt.io>
2024-12-11 12:12:33 +02:00
Ville-Pekka Karhu
f707ca408a Provisioning: Add more repo-clones to openSUSE 15.6
Task-number: QTQAINFRA-6467
Change-Id: Iab6b5ac8fc2fdd43fa28914ac8688dea4592b047
Reviewed-by: Tero Heikkinen <tero.heikkinen@qt.io>
Reviewed-by: Ville-Pekka Karhu <ville-pekka.karhu@qt.io>
2024-12-11 10:12:33 +00:00
Elias Toivola
9078baf0a9 Android: update emulator version to 35.2.10
The newest stable version of Android emulator should bring more
stability.

Pick-to: 6.9 6.8 6.5
Fixes: QTQAINFRA-6805
Change-Id: Id67d3ec888b486e6aae862588928528788583aae
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
2024-12-11 06:10:08 +00:00
Oliver Wolff
8319245b04 README.md: Update minimal versions of Windows compilers
Pick-to: 6.8 6.9
Change-Id: Id743e89d0858fde4678b7ba4e848d780d19771fc
Reviewed-by: Kai Köhne <kai.koehne@qt.io>
2024-12-11 06:10:05 +00:00
Olli Vuolteenaho
33a2e6f311 Add Qt Gradle Plugin platform config
We want automated testing for QtGP. Test cases that can be run with
Gradle have been made a while ago, but they were only run locally by the
developers.

This commit adds Linux/macOS/Windows configurations for QtGP. These are
marked TestOnly as the build/test process in Gradle is packaged together
and we don't want to initiate builds for the Qt side.

Task-number: QTTA-217
Change-Id: I777d191596f43089d0ad80cbb6470c62a0eee257
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
2024-12-11 06:10:02 +00:00
Jari Helaakoski
41b18fcbfd Enable qtlite compilation for qtquick3d component
Task-number: QTBUG-124703
Change-Id: Ie6b730b8e51f0e3ce2933933679cd45e78ebe80e
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2024-12-11 08:09:59 +02:00