Commit Graph

5829 Commits

Author SHA1 Message Date
Tero Heikkinen
84bf41ba5b Provisioning: Update Java on Windows x64 to 17
Java 17 for Android, needed by RTA

Task-number: QTQAINFRA-6385
Pick-to: 6.8
Change-Id: I1200fc5fc4dfdac1faea6b262277aae525efc835
Reviewed-by: Simo Fält <simo.falt@qt.io>
2024-07-24 10:45:09 +03:00
Simo Fält
6bb27d07ff CI: Fix the target libs path for wxWorks test run
Change-Id: Id5239b2ed2cf09db2515ae03315e02a03940b285
Reviewed-by: Ville-Pekka Karhu <ville-pekka.karhu@qt.io>
Reviewed-by: Karim Pinter <karim.pinter@qt.io>
Reviewed-by: Tero Heikkinen <tero.heikkinen@qt.io>
2024-07-23 12:18:10 +03:00
Qt Submodule Update Bot
7785080699 Update submodules on 'dev in qt/qt5'
Change-Id: I56438aefe3f53cc7fcfe96a986a52c1cdd423d92
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-07-23 06:02:42 +00:00
Qt Submodule Update Bot
43a9e7c344 Update submodules on 'dev in qt/qt5'
Change-Id: Idf72d85afe518562aa6b4a56ea5a8eb43ecc6d6f
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-07-21 15:29:35 +00:00
Alexey Edelev
b3fda4d0fe Remove -DFEATURE_native_grpc=OFF
The flag was removed from qtgrpc repo and has no effect now. Clean it
up from all platform configs.

Pick-to: 6.8
Change-Id: I59e200c6bcd63e03cc7c7477d502e456af8c9b01
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2024-07-19 21:31:25 +02:00
Alexey Edelev
8d190a38ce Enable building QtProtobufWellknownTypes module on Packaging platforms
Add the missing QT_PROTOBUF_WELL_KNOWN_TYPES_PROTO_DIR for qnx and
Android 14 platforms.

Pick-to: 6.8
Fixes: QTBUG-127272
Change-Id: I60caa0141aa2d8566311d30677891201b12c4ed6
Reviewed-by: Dennis Oberst <dennis.oberst@qt.io>
2024-07-19 21:31:22 +02:00
Alexandru Croitor
b3c7f07436 coin: Add reuse python package to allow generating a source SBOM
Pick-to: 6.8
Task-number: QTBUG-122899
Task-number: QTBUG-125211
Change-Id: Iaf22d5b2ce3c5d5b0d1b22e595da9cc28d0c2719
Reviewed-by:  Alexey Edelev <alexey.edelev@qt.io>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
2024-07-19 09:56:14 +02:00
Alexandru Croitor
866b4cedaf coin: Fix pip3 installation on macOS arm
The pip3 install calls contained the word 'install' twice.

Starting with newer pip versions, this seems to fail with:

 /Users/qt/.pyenv/versions/3.9.7/bin/pip3 install --user install
   virtualenv wheel html5lib
 ERROR: Could not find a version that satisfies the requirement
   install (from versions: none)
 ERROR: No matching distribution found for install

Make sure install only appears once.

Pick-to: 6.8
Change-Id: I1bfc784d4e3d6a1c34d112e72e2739678d2f07ae
Reviewed-by: Ville-Pekka Karhu <ville-pekka.karhu@qt.io>
2024-07-19 09:56:13 +02:00
Jari Helaakoski
055cfcd501 Enable unit test build for QtLite configuration
Pick-to: 6.8
Task-number: QTBUG-122999
Change-Id: I7be6b2cd28a3e8f319f10c33d39245ccd528a552
Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
Reviewed-by: Alex Bu <alex.bu@qt.io>
Reviewed-by: Tero Heikkinen <tero.heikkinen@qt.io>
2024-07-17 13:04:43 +00:00
Dominik Holland
e6a7a49d2f Provisioning: Apply the bwrap fix also to Ubuntu 24.04_x86
Pick-to: 6.8
Change-Id: I8a5e93e7ed04ed9b090209696e649835a88604a5
Reviewed-by: Robert Griebl <robert.griebl@qt.io>
2024-07-15 10:25:55 +02:00
Simo Fält
00527a5de1 Provisioning: Install mqtt broker also for arm linux configs
Pick-to: 6.8
Task-number: QTBUG-126974
Change-Id: Ifcd61385057fcc6cef8943b3e0477d905d01b198
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
2024-07-12 07:47:29 +03:00
Simo Fält
fbf492ae2c COIN: Adjust configure args to enable vxWorks test building
Change-Id: I1bae21dd7e37e8abba9f66b6ee9c4a67c27b5e6f
Reviewed-by: Matti Paaso <matti.paaso@qt.io>
2024-07-11 17:45:06 +00:00
Simo Fält
eeef1ab9d7 Enable test building for VxWorks with qtdeclarative
This enables blocking test building.

Change-Id: I9bb1bb810c22f942ecf9e74c04b917a5c7e91c3a
Reviewed-by: Matti Paaso <matti.paaso@qt.io>
2024-07-11 17:45:05 +00:00
Matti Paaso
2b1054a505 Add module only for tqtc-qtsdk
Filtering unnecessary targets from tqtc-qtsdk for precheck

Task-number: QTQAINFRA-4066
Change-Id: If65d5212a286e0e0eb305d62b0a1dffb54c68f73
Reviewed-by: Patrik Teivonen <patrik.teivonen@qt.io>
2024-07-11 14:45:26 +03:00
Alexandru Croitor
562b56c8d7 coin: Mark platforms that should verify the generated SBOM
Pick-to: 6.8
Task-number: QTBUG-122899
Change-Id: Ia4854f3af188e971b555cc1bd7bd6463fbbf7273
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
2024-07-10 06:34:36 +02:00
Alexandru Croitor
3017e86d54 coin: Mark platforms that should generate an SBOM
Pick-to: 6.8
Task-number: QTBUG-122899
Change-Id: I3722c048ec4be894a09d3b023d6af95d4dfedc6f
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
2024-07-10 06:34:34 +02:00
Pavel Dubsky
49c03849e3 Use single installation archive for FFmpeg provisioning on all platforms
Fixes: QTBUG-125955
Pick-to: 6.8
Change-Id: Ibfa97e3d765eb3c4ff5613004bc881e49ddf10e9
Reviewed-by: Jøger Hansegård <joger.hansegard@qt.io>
2024-07-09 18:43:13 +00:00
Toni Saario
5207b5eafa Save iptable rules
Change-Id: I5c1a72c901daec388987385d31718693080e85e8
Reviewed-by: Simo Fält <simo.falt@qt.io>
2024-07-09 21:43:12 +03:00
Matti Paaso
4ee798b6ef Provisioning: Update Axivion tool and configuration
New tool version corrects crashes in Analysis. New configuration
fixes git config in Axivion dashboard server.

Task-number: QTQAINFRA-5965
Task-number: QTQAINFRA-6348
Task-number: QTQAINFRA-6260
Change-Id: Ice7c9efd398236e1f5186f756f23c321aba0cf79
Reviewed-by: Jukka Jokiniva <jukka.jokiniva@qt.io>
2024-07-09 21:43:10 +03:00
Toni Saario
af082deb40 Enable tests for VxWorks target
Updates VSB and VIP. Adds newer updated QEMU for VxWorks.
Set to build and run tests on qtbase.

Change-Id: I1dc97a48ff67dedd79de3659d2af2768616c61ca
Reviewed-by: Matti Paaso <matti.paaso@qt.io>
2024-07-09 21:43:08 +03:00
Ville-Pekka Karhu
dd235745c6 coin: Add Apple Silicon VM pre-provisioning instructions
Change-Id: I5439374d7fb8fc364612b60256b87f13dd97893c
Reviewed-by: Simo Fält <simo.falt@qt.io>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
2024-07-09 18:43:07 +00:00
Tor Arne Vestbø
3ad98d0b27 coin: Give coin agent permission to access Bluetooth
The Qt Connectivity tests rely on this.

Pick-to: 6.8
Change-Id: I7218485e583ebe2c8d381a0104012a86350e6eac
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Reviewed-by: Aku Pietikäinen <aku.pietikainen@qt.io>
2024-07-08 16:48:33 +02:00
Christian Ehrlicher
5a5567ecd1 Add provisioning scripts for Firebird 5.0.0
Add provisioning scripts for Firebird 5.0.0 to be able to compile the
QSql within the CI.

Fixes: QTQAINFRA-6303
Change-Id: I58bf45b0e291700eb1d58158b8cfd37e335d2195
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-07-06 16:02:17 +00:00
Piotr Wierciński
e4f7db1379 wasm: Update Emscripten to 3.1.56
Update Emscripten to 3.1.56 for Qt 6.8 release.

Pick-to: 6.8
Change-Id: Ic5054aa7b00fba1f155824a710b9562d2a8a2f95
Reviewed-by: Toni Saario <toni.saario@qt.io>
2024-07-05 09:55:42 +02:00
Jukka Jokiniva
b9fdfb3fb3 Change msvc packaging targets back to c++17
Packaging targets were accidentally moved to c++20.
Amends bf633f08b7
Amends b4bcf1e6ca

Fixes: QTQAINFRA-6424
Pick-to: 6.8
Change-Id: Iad6f8202329b471733cc1bc8ddf22feb3ffadfb4
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Reviewed-by: Simo Fält <simo.falt@qt.io>
2024-07-04 04:14:44 +00:00
Qt Submodule Update Bot
2d791ce507 Update submodules on 'dev in qt/qt5'
Change-Id: I7bad1bdba063c27beecaba1cf4433f6af687ddec
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-07-04 04:14:42 +00:00
Eike Ziller
6120442e7c Qt Creator: Switch to ARM macOS 14
Used for packaging now, too.

Pick-to: 6.8 6.7
Change-Id: I8b9edbff7abcc02a43011e078ec55ff195477dfa
Reviewed-by: David Schulz <david.schulz@qt.io>
2024-07-03 09:28:29 +00:00
Toni Saario
71d8f797ba Enable test building for VxWorks with qtbase
This enables blocking test building.

Pick-to: 6.7 6.8
Change-Id: I184bd16a1c6a0ec45bfd9ee9b96c478dd2cf7c33
Reviewed-by: Toni Saario <toni.saario@qt.io>
2024-07-01 07:46:56 +03:00
Liang Qi
b0dc1225cb Ubuntu 24.04 arm64: Add documentation targets as non-blocking in CI
build on wayland and test offscreen and wayland

Task-number: QTQAINFRA-6112
Task-number: QTQAINFRA-6308
Change-Id: I31a57794d455316fc98f1d84d3d275fa6e934b8e
Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
2024-06-29 15:24:43 +02:00
Liang Qi
18be2625a0 coin: force qtbase tests for offscreen on linux arm64
Task-number: QTQAINFRA-6112
Task-number: QTBUG-125446
Pick-to: 6.8
Change-Id: Id88e0b7717fdbd86fc001809073c491aaa669d61
Reviewed-by: Tero Heikkinen <tero.heikkinen@qt.io>
Reviewed-by: Simo Fält <simo.falt@qt.io>
Reviewed-by: Liang Qi <liang.qi@qt.io>
2024-06-29 15:24:42 +02:00
Luca Di Sera
6b424efcf1 Do not assume FHS in init-repository and configure
On systems that do not follow the Filesystem Hierarchy Standard, such as
guix, the hardcoded `/bin/pwd` will fail to be found so that the script
will fail.

Use `pwd`, instead, so that the command can be found through the normal
path search mechanism.

Change-Id: I519d535bcaf53119c8800cc5545da9a0e48e677a
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2024-06-28 17:41:38 +02:00
Toni Saario
e752c81add Update azure sign tool to 5.0.0
The signtool is dependent on dotnet version. This must be updated
after the dotnet has been updated.

Change-Id: I346acf6dfefc8e70e61ea05a569ebb5cfcf04c85
Reviewed-by: Simo Fält <simo.falt@qt.io>
2024-06-28 15:12:43 +03:00
Toni Saario
cb832944b2 Install azure tools on windows on arm
Installs azure sign tool.

Change-Id: I4748f9fd911582361ff5a416fa8e8b8b0aa48716
Reviewed-by: Simo Fält <simo.falt@qt.io>
2024-06-28 15:12:42 +03:00
Toni Saario
437e25844a Update and install dotnet on windows on arm
Required on arm for installing azuresigntool.

Change-Id: Ia0b2a4476338d090bc79d6a6bae46d1f09dc8600
Reviewed-by: Tero Heikkinen <tero.heikkinen@qt.io>
Reviewed-by: Simo Fält <simo.falt@qt.io>
2024-06-28 15:12:32 +03:00
Luca Di Sera
9975595a5e Update QDoc libclang to 17.0.6
The version variable that is used to define the packages to download was
updated to reflect the new version.

A new case was added for the new "Debian11" on "arm64" package which was
not a provisioned package on older version but is now provided.
As "Debian11" was not currenly loading "libclang.sh", a new script that
performs this process was added to
"coin/provisioning/qtci-linux-Debian-11.6-aarch64".

The newly sourced "libclang.sh" includes
"coin/provisiong/common/unix/common.sourced.sh", which sets up certain
common variables such as the used architecture and the platform id.
When "common.sourced.sh" sets "PROVISION_ARCH", that contains the
current platform architecture, it fails if the platform architecture is
not supported.

For "Debian11" on "arm64", the architecture, as reported by "uname -m"
is "aarch64", which is equivalent to "arm64".
"aarch64" was not handled by the script, so that a platform with that
architecture would result in a fail when sourcing "common.sourced.sh".

To avoid the failure, the case that sets "PROVISIONING_ARCH" to "arm64"
will not trigger when the reported architecture is "aarch64".

The specialized RedHat case was update to work specifically for version
9, to use the new specifically built package for Rhel9.2.

The default case, previously using an "ubuntu20.04" package, was
modified to use a "Rhel8.8" package.
A package for "Ubuntu20.04" is not currently provided anymore as the
platform was removed from CI and the new "22.04" package is not
compatible with all the platforms that would use it.

In particular, the new packages are built on a too new glibc, which will
then fail to link, due to undefined symbols in the produced Clang
libraries, when used on older-glibc platforms such as "OpenSuse15" and
"Rhel8.8".

The "Rhel8.8" package was specifically used as the platform for the
default package as it ships the older glibc, "2.28", of the supported
platforms, which should ensure that it works on the older-version platforms.

The "sha1" variables for cached downloads was updated to reflect the new
packages.

For provisioning on windows, the version variable and the sha1 variables
were updated to reflect the new version and the new packages, respectively.

Pick-to: 6.8 6.7
Task-number: QTBUG-111580
Task-number: QTBUG-121548
Change-Id: Ie7c1a8d8fe9114912d53a87f70ebfa00341a9d8a
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2024-06-28 00:25:30 +02:00
Qt Submodule Update Bot
c37f2dc5c9 Update submodules on 'dev in qt/qt5'
Change-Id: Ib9db78c9947a7c7f9cb30d8b08aec85890810fe8
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-06-27 22:25:29 +00:00
Tor Arne Vestbø
c1485ecb2c coin: Replace bare metal macOS ARM configurations with Tart VMs
Pick-to: 6.8
Change-Id: Idf84ead53ea27eedfa571ee5d7a44b7a496229bb
Reviewed-by: Aku Pietikäinen <aku.pietikainen@qt.io>
Reviewed-by: Jukka Jokiniva <jukka.jokiniva@qt.io>
2024-06-28 00:25:28 +02:00
Teemu Holappa
89d59a15c2 Fix qtsaferenderer.yaml COIN configuration
Removed missing windows-10_22h2-llvm configuration.

Change-Id: Id39f09901f20fae7692960eb5ac3ff66f1ec2155
Reviewed-by: Toni Saario <toni.saario@qt.io>
2024-06-26 06:55:04 +00:00
Eike Ziller
c872c35cc6 COIN: Fix sccache installation on ARM Macs
Install the ARM sccache binary to fix

/usr/local/sccache/sccache: Bad CPU type in executable

Pick-to: 6.8 6.7
Change-Id: I033a7c8cf88d0d1ad35a4406a5d2a878da8d17a7
Reviewed-by: Toni Saario <toni.saario@qt.io>
2024-06-25 04:21:33 +00:00
Alexey Edelev
9b5e0b581f Fix the '-submodules' argument to 'BUILD_' argument transformation
Ensure the coma-separated argument is transformed to CMake list
properly.

Amends 7c8bab37bb

Pick-to: 6.8
Task-number: QTBUG-122954
Change-Id: I082ad2c9c964c66feee3a8deff55ae137adafe8b
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2024-06-24 15:38:25 +02:00
Liang Qi
fcdce53b89 Provisioning: install pipewire dev packages on Linux
Task-number: QTBUG-121452
Pick-to: 6.8
Change-Id: I5e9087b09f64750135ebea9030073cd1a20c5f46
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
2024-06-22 09:25:54 +02:00
Timur Pocheptsov
c099afdd45 Update provisioning script to build FFmpeg as dynamic libs
Previously, iOS (where we mostly using static linking) was also using
FFmpeg built as static libs, now switch to dynamic libraries, as
it was already done for macOS. Requires changes in cmake file in
qtmultimedia in order to configure with -DQT_DEPLOY_FFMPEG=TRUE.

Pick-to: 6.8
Fixes: QTBUG-120991
Change-Id: I0b014f24db3127697b76c6d1774437faae64a7c8
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
2024-06-21 19:56:22 +02:00
Teemu Holappa
9c5df7a6f5 Fix qtsaferenderer CI configurations
Updated Windows build configurations in qtsafenderer.yaml
and qtsaferenderer-runtime.yaml.

Change-Id: I010d6ffb02e09d1ab604ebc93a39c22b1c9be1b0
Reviewed-by: Toni Saario <toni.saario@qt.io>
2024-06-21 17:56:20 +00:00
Marianne Yrjänä
9e560e22a4 QNX: Fix typos in QNX toolchain file
Fix CMAKE_SYSTEM_PROCESSOR definition for armv7le. This is needed when
using Windows host to cross-compile Qt binaries for QNX.

Fixes: QTBUG-125450
Pick-to: 6.8 6.7 6.5
Change-Id: I19df2ef9d4cc988f5acf4f09fa46b7014fac80d2
Reviewed-by: Toni Saario <toni.saario@qt.io>
2024-06-21 17:56:17 +00:00
Elias Toivola
ea425ca764 Provisioning: Update MQTT broker
There's a certificate issue in Paho MQTT which should be fixed in
the latest paho.mqtt.testing branch.

Task-number: QTBUG-126364
Change-Id: I1550122939ea8e6172dba005752978fcf3232fcb
Reviewed-by: Jukka Jokiniva <jukka.jokiniva@qt.io>
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
2024-06-21 20:56:15 +03:00
Aku Pietikäinen
f63db53d98 Provisioning: update Java 17 to Ubuntu20.04 x64
Pick-to: 6.8
Change-Id: I9eec100e11c00c1d984151b09bc1e4dc29f402c1
Reviewed-by: Toni Saario <toni.saario@qt.io>
2024-06-20 20:00:34 +00:00
Dominik Holland
5f8279db59 Provisioning: Fix bwrap with apparmor on Ubuntu 24.04 Part 2
Also make sure apparmor parses the new rule after installing it.

Pick-to: 6.8
Change-Id: I25d2e753594fa86be2151e8a8da73b15b31b1584
Reviewed-by: Robert Griebl <robert.griebl@qt.io>
2024-06-20 21:50:11 +02:00
Pavel Dubsky
eb8bbfe971 Update FFmpeg version to n7.0
Fixes: QTBUG-124482
Pick-to: 6.8 6.7 6.5
Change-Id: I69727981344d935151f19148960c711b65cb2307
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
Reviewed-by: Jøger Hansegård <joger.hansegard@qt.io>
2024-06-20 04:56:19 +00:00
Alexandru Croitor
1f2fb6312c coin: Add python packages to allow validating Qt generated SBOM files
Add a sbom_requirements.txt file and install it using the
various platform specific pip installations.

Partially restores b87b44168c but
without the wheel cache.

Pick-to: 6.8
Task-number: QTBUG-122899
Change-Id: I8002898866acbc226ffebb59dcf5b3a58237ea34
Reviewed-by: Toni Saario <toni.saario@qt.io>
2024-06-20 06:56:17 +02:00
Alexandru Croitor
6ab08cfdc4 coin: Update linux SLES Python to 3.12.3
Pick-to: 6.8
Change-Id: I217feaee4071ff06f6fd16a2f3b2111d87ce1862
Reviewed-by: Aku Pietikäinen <aku.pietikainen@qt.io>
Reviewed-by: Toni Saario <toni.saario@qt.io>
Reviewed-by: Tero Heikkinen <tero.heikkinen@qt.io>
2024-06-20 06:56:14 +02:00