Commit Graph

5994 Commits

Author SHA1 Message Date
Elias Toivola
ee8ee93d91 Add Red Hat 9.4 with non-blocking tests in CI
RHEL-9.4 will be run in parallel with RHEL-9.2 with insignificant tests
until RHEL-9.4 is confirmed stable, then it will replace RHEL-9.2.
[CI Platforms]

Pick-to: 6.8
Task-number: QTQAINFRA-6362
Change-Id: I92c10a15346e7bd0c0190a8d6a6513cf6143d2a8
Reviewed-by: Simo Fält <simo.falt@qt.io>
Reviewed-by: Tero Heikkinen <tero.heikkinen@qt.io>
2024-11-06 08:11:26 +02:00
Jukka Jokiniva
fa9a258429 Revert "Temporarily remove Integrity from CI"
This reverts commit e306818660.

Reason for revert: GHS compiler licenses renewed.

Change-Id: I60fa9412ffcc1a247d30afad93f6e843ad2918f2
Reviewed-by: Jukka Jokiniva <jukka.jokiniva@qt.io>
Reviewed-by: Kimmo Ollila <kimmo.ollila@qt.io>
2024-11-05 14:45:26 +00:00
Jukka Jokiniva
e306818660 Temporarily remove Integrity from CI
GHS compiler license has expired.

Change-Id: I5f495d24b5693c1841cb292d791188e1f3896d93
Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
Reviewed-by: Toni Saario <toni.saario@qt.io>
2024-11-05 08:13:05 +00:00
Eike Ziller
c4d897e380 QtCreator: Remove unused 'Packaging' feature
We don't use any configurations for packaging, the feature doesn't
trigger anything.

Pick-to: 6.8
Change-Id: I977566123b491284e029cf1d828c0ce0a36703f2
Reviewed-by: David Schulz <david.schulz@qt.io>
2024-11-04 14:46:50 +01:00
Simo Fält
9260c9bf97 COIN: Add nightly configuration for qtsaferenderer coverage build
Task-number: QSR-2578
Change-Id: I2cdde779c895668e3f64e3b0eb71160b73ef1a61
Reviewed-by: Toni Saario <toni.saario@qt.io>
2024-11-03 10:42:14 +00:00
Elias Toivola
b99f11d3c2 Fix/unmix Ninja download priority
The download helper for .ps1 scripts takes in parameters in order:
1. The external URL (this is 2nd priority DL source)
2. The internal / cache URL (this is 1st priority source)
3. Download location
The URL variables were inputted to the function in wrong order. And URL
variables for x64 were named incorrectly. This change fixes that.

Pick-to: 6.8
Task-number: QTQAINFRA-6296
Change-Id: Ic4f939448a4ac39e4fd7d52e5b80132b02c38dc2
Reviewed-by: Elias Toivola <elias.toivola@qt.io>
Reviewed-by: Matti Paaso <matti.paaso@qt.io>
2024-11-03 12:42:12 +02:00
Even Oscar Andersen
153ac6480b Add qtwebsockets as dependency for qtmqtt
I add qtwebsockets as dependency because that allows us to use
it for webassembly (in a later change).

Task-number: QTBUG-129171
Change-Id: I8fa1604488e5351b7a5628361137be0e35051c47
Reviewed-by: Jøger Hansegård <joger.hansegard@qt.io>
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2024-11-03 11:42:09 +01:00
Matti Paaso
cf921a5146 Provisioning: Update Axivion bauhaus suite to 7.8.4
Task-number: QTQAINFRA-6720
Pick-to: 6.5
Change-Id: Idb303652355b8937ea199a3415101d49f27a2e98
Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
2024-11-02 12:51:51 +02:00
Tim Blechmann
cc17f25cd1 ubuntu: install pulseaudio 16 with time smoother bugfixes
The GStreamer backend of Qt Multimedia has known issues with pulseaudio,
caused by bugs in the time smoother. We therefore install pulseaudio 16
from a PPA on our ubuntu testers.

Task-number: QTBUG-112014
Task-number: QTBUG-124372
Task-number: QTBUG-126799
Pick-to: 6.5 6.8
Change-Id: Ifd18ff4b9904ac0ee022c9158e96ebca8768599f
Reviewed-by: Jøger Hansegård <joger.hansegard@qt.io>
Reviewed-by: Dimitrios Apostolou <jimis@qt.io>
2024-11-02 09:57:01 +08:00
Alexandru Croitor
b6b6fac86a coin: Bump ios-universal config macos version to get iOS SDK 17
Pick-to: 6.8
Task-number: QTBUG-119490
Change-Id: Icaf2ed63daecbc25dc18dd4a7b7733029a02be19
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
2024-11-01 07:30:53 +01:00
Jani Heikkinen
0149acd42b Add 'QT_FEATURE_open62541_security=OFF' for macOS packaging build
Fixes: QTBUG-125252
Pick-to: 6.8 6.5
Change-Id: Ic6daa4c589dda54294a787261be6884cdbf3dff0
Reviewed-by: Simo Fält <simo.falt@qt.io>
2024-11-01 08:30:51 +02:00
Alexandru Croitor
710bc2d90e CMake: Improve qt5.git "QtSynchronizeRepo.cmake" / sync-to script
The QtSynchronizeRepo.cmake script, which is meant to be driven by a
git-sync-to script, has been rewritten to support more use cases, as
well as improve the code readability and error reporting.

The script now supports the following additional use cases:
 - Clone a specified qt/{repo} submodule from code.qt.io into the
   current directory, and initialize (clone) its dependencies

- Initialize a submodule and its dependencies in an existing qt5.git
  super repo. This is similar to what init-repository does, except
  instead of using the qt5.git sha1s, it uses the dependencies.yaml
  of the specified submodule

- Support for git fetch --depth, to allow shallow cloning of the
  specified submodule and its dependencies. This is useful for CI
  where only a specific revision needs to be checked out.

The main incentive for this change is allow cloning qttools/dev/HEAD
and its dependencies in a CI run, but it's useful for daily work as
well. At some point we should check what can be merged together with
the existing init-repository script.

Pick-to: 6.8
Task-number: QTBUG-128730
Change-Id: Ie6d49d253223cc93b8831ef41d25e0adeac39b8b
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
2024-11-01 07:30:42 +01:00
Nils Petter Skålerud
03ffb92263 coin, macOS: Add arm64 support to fix-ffmpeg-dependencies.sh
This file is used by the script common/unix/install-ffmpeg-android.sh.
This script is useful for compiling FFmpeg for Android locally
on macOS. Currently the script assumes the Homebrew installation
of readelf is that of x86. The Homebrews path for readelf is different
under arm64 and this change accounts for this.

Pick-to: 6.8 6.5
Change-Id: I7ec1d4173e35fe91bc988492e56dd9a5fcbad072
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
2024-11-01 07:30:40 +01:00
Artem Dyomin
6cd74e132a Replace static FFmpeg build with shared on rhel8
On RHEL8, openssl1.x.x is default, and openssl3 pc files
are with the suffix "3", so FFmpeg cannot find them.

The patch fixes pc files so that ffmpeg can find them.

Task-number: QTBUG-130257
Change-Id: I5a95daae0a78aadede109535b2823483bfcbc09d
Pick-to: 6.8
Reviewed-by: Tim Blechmann <tim.blechmann@qt.io>
Reviewed-by: Pavel Dubsky <pavel.dubsky@qt.io>
Reviewed-by: Jøger Hansegård <joger.hansegard@qt.io>
2024-11-01 06:22:28 +00:00
Ville-Pekka Karhu
2f3d052720 Provisioning: Add Docker installation to macOS 13 x64
Task-number: QTQAINFRA-6714
Pick-to: 6.8 6.5
Change-Id: I5044ca4fc8f965e31720e7a94820153213afc14d
Reviewed-by: Milla Pohjanheimo <milla.pohjanheimo@qt.io>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
2024-10-30 20:27:33 +02:00
Simo Fält
e7ef5d8f1b Provisioning: Fix once more the SBOM_PYTHON_APPS_PATH in macOS
Pick-to: 6.8
Change-Id: I733a6b2ea25e4d76c19ef921b7706cd0464c3120
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2024-10-30 06:17:35 +00:00
Jøger Hansegård
2728b7ac6f Add provisioning of FFmpeg for Android and iOS with qtci-macos
This patch adds FFmpeg provisioning for Android and iOS for
qtci-macos-12..15-arm..x86-64 by syncing with qtci-macos-13-x86_64
where this was already done.

Pick-to: 6.8
Change-Id: I070514cbff12504db7c6fa77111e12d7e500ce30
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
2024-10-30 08:17:28 +02:00
Simo Fält
ec0228377d CI: Move ios-universal config to Arm host
Task-number: QTQAINFRA-6378
Change-Id: I7f8147f4c2c8c138d55558cd5a7d8d976d2e2b82
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
2024-10-30 06:17:21 +00:00
Jukka Jokiniva
c5ab2fe4fa Add -force-asserts to developer builds with -release
Fixes: QTQAINFRA-6624
Pick-to: 6.8
Change-Id: Ia8741e4a92774fee3af78c3292fa47677b36158d
Reviewed-by: Simo Fält <simo.falt@qt.io>
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Dimitrios Apostolou <jimis@qt.io>
2024-10-27 11:14:36 +03:00
Jari Helaakoski
e0443312fe Add unit test job for QtLite configuration
Change build to x86 and add unit tests

Task-number: QTBUG-122999
Change-Id: I1698f623d40d87d6bb5cda0188accbd6c45b7dd4
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2024-10-27 11:14:29 +03:00
Tor Arne Vestbø
b3758bde8d coin: Fix or silence shellcheck warnings in TCC permissions script
Change-Id: I4905e062532518b02ad4c4187057028484fc8e1d
Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
2024-10-27 10:14:19 +02:00
Nils Petter Skålerud
8f47837a59 coin, macOS, FFmpeg: Fix incorrect popd in install-ffmpeg-android.sh
popd was placed incorrectly and caused the script to be unable to find
the fix_ffmpeg_dependencies.sh file.

Pick-to: 6.8
Change-Id: I7922a698e90d1b3899ecc7b2240a260ea706707f
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
2024-10-27 10:14:12 +02:00
Nils Petter Skålerud
758ac7896f coin, macOS, FFmpeg: Fix install-ffmpeg-android.sh
Script would previously unconditionally run ln even if target file
sometimes exists in precompiled OpenSSL library.

Pick-to: 6.8
Change-Id: I90c4ad7c6cbf9207c2c82114936b478a9ba4ae54
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
2024-10-27 10:14:04 +02:00
Alexandru Croitor
400776459b CMake: Update provisioned CMake to version 3.30.5
Pick-to: 6.8
Fixes: QTQAINFRA-6484
Change-Id: Iacccb9f43059c78080e338da6680f5c50284c057
Reviewed-by: Simo Fält <simo.falt@qt.io>
2024-10-27 10:13:54 +02:00
Jukka Jokiniva
5bd133d752 Remove macOS 12 configuration from CI
Change-Id: Id11a67532cf8373ce0c5ead2d5b4502ffc46b4ab
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
2024-10-25 17:13:33 +03:00
Jukka Jokiniva
33a60fa057 Update qtsaferenderer to use macOS 13
Change-Id: I579be9741446c3f01649107700fdaf758d60eb51
Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
2024-10-25 14:13:32 +00:00
Alexandru Croitor
6f991b55a3 coin: Explicitly specify SBOM_PYTHON_APPS_PATH for all platforms
Instead of relying on the qtbase coin instructions to compute the
SBOM_PYTHON_APPS_PATH path based on the platform, which does not work
reliably, especially when multiple python installations are present,
explicitly specify the path in the provisioning scripts.

Amends 1f2fb6312c

Pick-to: 6.8
Task-number: QTBUG-122899
Task-number: QTBUG-124453
Task-number: QTBUG-125211
Change-Id: I097fd1c4119a203d82f88c477dbf0fc0f67f19f2
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
2024-10-25 16:13:04 +02:00
Alexandru Croitor
e874a76a48 coin: Explicitly specify Python 3.10 for SBOM processing on Windows
The 'reuse' tool installed into the Python 3.8 environment on Windows
has a broken 'jinja2' package, due to conan being installed
after the sbom tool, which replaces the jinja package. pip reports the
issue but does not actually exit with a non-zero status for some
reason, thus not blocking the initial provisioning.

The jinja2 version installed in the Python 3.10 environment on Windows
is compatible with both conan and reuse.

To work around the issue, explicitly install the sbom tools only for
Python 3.10 on Windows platforms, and specify the path to the Python
interpreter in an environment variable for the build system to use.

Amends 1f2fb6312c

Pick-to: 6.8
Task-number: QTBUG-122899
Task-number: QTBUG-124453
Task-number: QTBUG-125211
Change-Id: I386da17a1902dd26af332cef3482dbcb2221a1b3
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Reviewed-by: Simo Fält <simo.falt@qt.io>
2024-10-25 16:13:03 +02:00
Qt Submodule Update Bot
0face33946 Update submodules on 'dev in qt/qt5'
Change-Id: Ic9a912f8a70e103ce787eb3f02763d8b13176bdd
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-10-24 07:15:03 +00:00
Piotr Wierciński
554f8977f4 Coin: Build WebAssembly for dynamic linking in CI
We are planning to push WebAssembly dynamic linking
out of technical preview. Building this version on CI
is natural step.
This is minimal build, without tests and examples which
will be added in future after testing.

Change-Id: I2407121cd029f9640b69175a134c911cf8900f5e
Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
2024-10-23 11:52:58 +02:00
Tero Heikkinen
01256c68c2 Provisioning: Fix missing libtommath-dev for Firebird in RTA
Needed for these (Linux x64):
  - Rhel 9.2
  - SLES 15 SP5
  - OpenSUSE 15.5
  - Ubuntu 22.04

SLES 15 SP5 needs to activate PackageHub/15.5/x86_64 -module

Firebird was enabled in here:
333cbd0592

Task-number: QTBUG-129845
Change-Id: Ia3a270502e6985a7edab5c9dc937491c7ac6038f
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2024-10-23 00:23:03 +03:00
Tor Arne Vestbø
aae4bb3c7e Add insignificant test configs for macOS 15 arm64
Change-Id: Ie0ec24faa92179d72910ce0a02e9994f9465415a
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
2024-10-22 14:02:06 +02:00
Ville-Pekka Karhu
eb53082753 Nightly: Update ARM macOS 15 Tier1 version
Change-Id: Ib77aefeac75290b1a9cb4b225d41026211d4713c
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
2024-10-22 13:48:23 +03:00
Tor Arne Vestbø
39786a9931 coin: Skip running Qt auto tests for the documentation warning build
Take two. The qtbase TestDoc instructions should not be complete.

We only need the documentation-specific instructions to build the docs,
so instruct the test instructions in qtbase to skip the auto test.

This saves time during integration, and also avoids polluting test
results in our Grafana dashboards with test failures in a
"documentation" build.

Change-Id: Ie7114816ca35a578f01deb9946a2a6bb2e577c94
Reviewed-by: Jukka Jokiniva <jukka.jokiniva@qt.io>
Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
2024-10-21 14:41:39 +00:00
Elias Toivola
293aeab453 Fix SSH for RHEL-8.10
Red Hat 8.10 VM template -50 does not have a user set for SSH. This is
fixed in template -51.

Pick-to: 6.8
Change-Id: I602976a0214f6e0f4661e6b876c0710bc3ea9df9
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
2024-10-21 07:24:34 +03:00
Alexey Edelev
f747d2dec7 Add the missing archiving tool to QNX toolchain files
Pick-to: 6.8 6.7
Fixes: QTBUG-128747
Change-Id: Iee9eca2ef8c53e1171b8d88ded6d313a6b096bea
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
2024-10-21 06:24:32 +02:00
Alexandru Croitor
da3c68ba0c coin: Provision ninja 1.12.1 for RHEL 8.10 and 9.2
It is needed to successfully build Qt with CMake 3.30.

Pick-to: 6.8
Fixes: QTQAINFRA-6484
Change-Id: I70b7d91571f5b20a008947eb0837dd8351965665
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
2024-10-19 21:17:40 +02:00
Alexandru Croitor
2dce30db01 coin: Build MSVC as standalone examples in a separate build directory
The MSVC platform was not there when the rest of the platforms where
adjusted to build examples as standalone. Now that it's here, add it.

This is a pre-requisite for building examples as external projects
with MSVC.

Augments d278e682c6

Pick-to: 6.8
Task-number: QTBUG-90820
Task-number: QTBUG-96232
Change-Id: I4a77d16e0f683f5984beeedb6e6d32707847383b
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
2024-10-19 21:15:58 +02:00
Aku Pietikäinen
cfd06e54fd Enable vnc remote management on macOS
Task-number: QTQAINFRA-6668
Pick-to: 6.8 6.5
Change-Id: I5af8e460059cdcaad22f637e1c92d9a46950f775
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-10-19 11:33:33 +03:00
Axel Spoerl
5d2c8c929f macOS pre-provisioning: Add instruction to enable VNC
VNC access has not been enabled on macOS tier1 images.
Add instruction.

Task-number: QTQAINFRA-6626
Change-Id: I1824705aa49b9f5192460e87e5285976bc8176eb
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
2024-10-17 06:54:05 +02:00
Tero Heikkinen
d197f06634 Provisioning: Fix ci-files01-hki to use correct URL
Replace ci-files01-hki.intra.qt.io
with    ci-files01-hki.ci.qt.io

Task-number: QTQAINFRA-6663
Pick-to: 6.8 6.5 5.15
Change-Id: Ia9a6b1fc5a23b6f1a393d6e4be8be41e2991e876
Reviewed-by: Simo Fält <simo.falt@qt.io>
2024-10-17 01:11:07 +03:00
Tim Blechmann
8ba7d0c382 Provisioning: linux - install virtual video test driver vivid
The vivid kernel module emulates a v4l2 video devices like webcams. We
instantiate two devices via vivid to allow qt multimedia unit tests
requiring multiple cameras to run correctly.

Pick-to: 6.5 6.7 6.8
Change-Id: I1b87954e3c8af797f5b09dabf2d4939d8320db06
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
Reviewed-by: Jøger Hansegård <joger.hansegard@qt.io>
2024-10-14 21:31:43 +08:00
Toni Saario
e03054f587 Make VxWorks blocking on modules that pass
Change-Id: I0aff00ce149bee2cd07ae75be21cd8c2fac608b4
Reviewed-by: Simo Fält <simo.falt@qt.io>
2024-10-13 11:37:28 +03:00
Toni Saario
25b69fec2c Coin: Update VxWorks intel VSB
Adds patch for xf86drm.

Change-Id: I9f3b17626ddf0047477995d4d3b6387a16ded8c8
Reviewed-by: Simo Fält <simo.falt@qt.io>
2024-10-13 11:37:26 +03:00
Axel Spoerl
03f00931ec macOS platform configs: Bump image version to 107
qtci-macos-11-x86_64-107 and qtci-macos-12-x86_64-107 have been created
to add VNC accessibility.

Bump the image version used in CI, in order access debug VMs.

Task-number: QTQAINFRA-5815
Task-number: QTQAINFRA-6626
Pick-to: 6.8 6.5
Change-Id: I42c6602f9524b1fbfe47da081a7a15deff001f68
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
2024-10-11 12:04:16 +00:00
Eike Ziller
3369aab7fb COIN: Add libsecret-dev on Linux machines for Qt Creator
Qt Creator uses libsecret for saving passwords.
It is dynamically resolved during runtime, but we need the
development package at build time to enable the feature.

Fixes: QTCREATORBUG-31381
Pick-to: 6.8
Change-Id: I71077694ff0f4d04b1d85215791dc7f6f6663f64
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2024-10-11 07:08:42 +02:00
Oliver Wolff
ea2fb795aa Fix macos precheck configuration
Include also macos-14-arm64-developer-build.

This change amends 49b80c57c6

Change-Id: I40ef2ddbdd0c73ef4573d1d4b9f2012ae1ec8611
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
2024-10-09 09:20:06 +00:00
Tor Arne Vestbø
23fc6d392a Add insignificant test configs for macOS 15 x86_64
Change-Id: If21e5bb4c0fa85d6c4b46f00ed6ffb6531704976
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2024-10-09 07:02:36 +02:00
Jukka Jokiniva
49b80c57c6 Change precheck on Windows and macOS to developer build
Task-number: COIN-1181
Pick-to: 6.8
Change-Id: I91b156bf4217aba517d02d9003605b09edb08ec6
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
2024-10-09 05:02:33 +00:00
Tero Heikkinen
8cde06eae2 Provisioning: Enable QDoc for Windows on ARM
Task-number: QTBUG-129256
Pick-to: 6.8
Change-Id: Iabf378f4ae00efcce8cd0608969a08f5ce997fa9
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
2024-10-08 22:09:18 +02:00