Commit Graph

6167 Commits

Author SHA1 Message Date
Olli Vuolteenaho
ea1abd55ce QtAA: Add "documentation-warnings" config
Starting from 6.9 the "ubuntu-22.04-documentation-x11-tests" config
was replaced by "ubuntu-22.04-developer-build-x11-tests". The new
configuration doesn't test the documentation for warnings which is
why we had failures in 6.8 where to docs were checked but not in 6.9
or dev.

This commit fixes the issue by adding the relatively new
"documentation-warnings" configuration, which will once again check
our documentation.

See also 434e4a224a .

Task-number: QAA-2878
Pick-to: 6.9 6.9.0
Change-Id: I479a9606ab16f8b87009d26ab03636c4c658fcb5
Reviewed-by: Liang Qi <liang.qi@qt.io>
Reviewed-by: Jukka Jokiniva <jukka.jokiniva@qt.io>
2025-04-02 17:02:26 +00:00
Alexandru Croitor
20e23e79cd coin: Add instructions to run RunCMake tests
Add instructions to run cmake on the qt5/tests/manual/RunCMake
directory followed by ctest.
These are only executed on platforms that set the
TopLevelRunCMakeTests feature.

Change-Id: I336f9395e5d9d580619eac028fbfc1d6c14bf805
Reviewed-by: Toni Saario <toni.saario@qt.io>
2025-04-02 19:02:23 +02:00
Alexandru Croitor
b305a2d04a CMake: Make the InitRepository test work in Coin CI
Coin CI doesn't provide git info for the qt5.git repo, but only a
source archive. The InitRepository test needs the git info to work
correctly.

When we detect that the test is run in the CI, instead of using the
source archive, clone the qt5.git repo from code.qt.io instead. Then
fetch and checkout the exact tested ref.

Change-Id: I892545c083288a8d32d3f8957bfc64984d52f5fc
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
2025-04-02 18:02:19 +01:00
Alexandru Croitor
ef26460476 CMake: Make the InitRepository test stdout checking more robust
The previous stdout regular expressions were expect the build dir to
be in the source dir. Relax that constraint, so any build dir can be
used.
Keep the generated 'tmp' part as the indicator for the build dir.

Change-Id: Ib8c2bf31f80926b9209948a5c70859e086ed71a1
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
2025-04-02 18:02:16 +01:00
Alexandru Croitor
f1b7f8c83f CMake: Add check.cmake to check for errors in commands
RunCMake uses SEND_ERROR instead of FATAL_ERROR in run_cmake(),
which means that the script will continue to run even if a command
fails.

This change adds a check.cmake file and modifies run_suite_command to
ensure that we exit early if a command fails.

Change-Id: I8175ddc91144e3d0dea131857138af7940626208
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
2025-04-02 18:02:13 +01:00
Alexandru Croitor
2642218358 CMake: Adjust InitRepository test std output to current state
The test has bit-rotted a bit since the last manual run.

Adapt the modified litehtml submodule URL.
Add the additional git config command to the output.

Change-Id: I240274a0772d6024401e8d08f6c150d4f12ac8cb
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
2025-04-02 18:02:10 +01:00
Alexandru Croitor
a848d20880 CMake: Adjust to new location of RunCMakeTestHelpers in qtbase
Adjust the path to where expect to find the QtRunCMakeTestHelpers
module in qtbase.

Replace the usage of 'QtIRRunCMake' with 'RunCMake' in the root test
CMakeLists.txt.

Pass the current source dir as an extra module path to the RunCMake
test, so it can find the Common module without relying on relative
paths, so that any build dir works.

Remove the unnecessary forwarding of CMAKE_SYSTEM_NAME.

Amends e552513c9f

Change-Id: If804bcb36a0bd3df6e4617e56c146094793138c4
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
2025-04-02 18:02:06 +01:00
Qt Submodule Update Bot
04771d15e7 Update submodules on 'dev in qt/qt5'
Change-Id: If7324a58e94b795b8014f03256b12b3a56064d76
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-04-02 13:13:05 +00:00
Nils Petter Skålerud
c4315452cb iOS, FFmpeg: Improve variable naming in FFmpeg provisioning
Currently this script overwrites a local variables and reuses it for
a (slightly) different purpose. This makes the code a bit hard to
follow.

This patch introduces a separate local variable to improve readability.

No functional changes.

Pick-to: 6.9 6.8
Change-Id: Ifa1904482f498d9b380d1ed19ab6b0104afda19b
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
2025-04-01 05:36:01 +01:00
Nils Petter Skålerud
aa613ed85d iOS, FFmpeg: Replace arm64-simulator build with x86_64
Currently this provisioning script builds for arm64 architecture
when on iOS simulator. Qt ships x86_64 binaries for iOS simulator, and
we should build FFmpeg similarly.

This patch introduces support for x86_64-simulator in the iOS FFmpeg
provisioning script and uses it in place of arm64-simulator.

Pick-to: 6.9 6.8
Task-number: QTQAINFRA-7034
Change-Id: Ie93cffba51924cd1d78651d20dec211817cb0cef
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
2025-04-01 05:35:53 +01:00
Timur Pocheptsov
d7d7c522b6 install-ffmpeg-ios.sh: remove redundant configure options
While writing a documentation for FFmpeg build on iOS it was found that
many options are redundant. Remove them to simplify the provisioning
script and to reduce the amount of cargo cult code.

Pick-to: 6.8 6.9
Fixes: QTBUG-133502
Change-Id: I26aab49365eaca83bcdbfeb86de0638ac701bb80
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
Reviewed-by: Jukka Jokiniva <jukka.jokiniva@qt.io>
2025-04-01 04:35:47 +00:00
Artem Dyomin
a442e4893f Improve the script fix_ffmpeg_dependencies
* add FFmpeg stubs to the 'Required.private' section.
  This will make the logic more robust after integration this
  in qt multimedia.
* add some script comments.
* fix shellcheck.
* add validity checks.

Pick-to: 6.8 6.9
Change-Id: I28639d21c7210109e52ff98ce682da51f8744287
Reviewed-by: Jøger Hansegård <jogerh@gmail.com>
Reviewed-by: Pavel Dubsky <pavel.dubsky@qt.io>
2025-04-01 04:35:41 +00:00
Nils Petter Skålerud
07775b2ad2 Android, FFmpeg: Allow specifying target output in FFpeg install script
The provisioning script install-ffmpeg-android.sh can be useful to run
locally to make sure we build FFmpeg with the same configuration as we
do in CI.

This patch introduce an optional parameter to this provisioning script
that allows us to specify where to install the compiled binaries.

Pick-to: 6.9
Change-Id: I7ea30bffa4753ac1fab707ed2876ddcbbca06175
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
2025-04-01 04:35:30 +00:00
Artem Dyomin
151c0dd58f Cleanup in install-ffmpeg-android.sh
Non-functional changes:
* fix alignment
* add the keyword 'local' to local function variables

Pick-to: 6.8 6.9
Change-Id: I28639d28c7211809e52f118c1612db52f8954286
Reviewed-by: Jøger Hansegård <jogerh@gmail.com>
Reviewed-by: Pavel Dubsky <pavel.dubsky@qt.io>
2025-04-01 04:35:22 +00:00
Tero Heikkinen
ebcc9a1d10 Provisioning: Add Root Certificate update for Windows
Windows usually updates certificates once a week, but due
to disabling Windows background updates there is need to
install and update certificates manually.

Updating certificates during provisioning is selected method
as it's aligned with the same procedure how linux machines have
handled the same.

Task-number: QTQAINFRA-7001
Pick-to: 6.9 6.8 5.15
Change-Id: I7c077b5e08328b12c481a3501736f06baf85e71e
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Reviewed-by: Matti Paaso <matti.paaso@qt.io>
2025-03-31 07:21:38 +02:00
Aku Pietikäinen
cf026224dd Add missing escape when adding Homebrew to PATH
Task-number: QTQAINFRA-6903
Pick-to: 6.9 6.8 6.5 5.15
Change-Id: I2f97621d3413df17f9b969113e863974bd739cac
Reviewed-by: Ville-Pekka Karhu <ville-pekka.karhu@qt.io>
2025-03-31 07:21:36 +02:00
Tero Heikkinen
882e6e61af Fix System's openssl version read for openSUSE 15.6
openSUSE 15.6 doesn't have explicit openssl-3,
same was earlier seen with SLES 15.6 as well.

Therefore System's OpenSSL is read from openssl.

Pick-to: 6.9 6.8
Change-Id: I38d81b5484732e225036530e5326433ab90ef92b
Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
2025-03-31 07:21:34 +02:00
Elias Toivola
078bd29e24 RTA: disable auto-upgrades in Ubuntu 22.04 aarch64
Disable auto-upgrades as it may lock and block scripts from running, resulting an error in /var/lib/dpkg/lock-frontend. Also remove 01-disable_auto_suspend.sh as auto suspend is already disabled in tier-1.

Pick-to: 6.9 6.8
Change-Id: Ia4420de72b26c7b4fd851f079fd4686624e5bf02
Reviewed-by: Matti Paaso <matti.paaso@qt.io>
2025-03-27 17:32:22 +00:00
Elias Toivola
6170adb71f RTA: remove Squish from Ubuntu 22.04 aarch64 provisioning
Squish for Qt 6.8 has glibc 2.38 and glibcxx 3.4.32 dependencies, while
Ubuntu 22.04 LTS supports glibc 2.35 and glibcxx 3.4.30.

Pick-to: 6.9 6.8
Change-Id: Ia401daf444fbc3e460477fd1f5397781b902cf9d
Reviewed-by: Johanna Äijälä <johanna.aijala@qt.io>
Reviewed-by: Matti Paaso <matti.paaso@qt.io>
2025-03-27 19:32:15 +02:00
Elias Toivola
52584c9efc Windows: Add nightly targets to check namespace functionality
Bug reports from the nightly targets are updated to the ticket.

Task-number: QTQAINFRA-6540
Change-Id: Ie60275b20a30bac5517a1599050feba6286a624c
Reviewed-by: Tero Heikkinen <tero.heikkinen@qt.io>
2025-03-27 19:32:10 +02:00
Simo Fält
4506fdb537 Move Android MacOS build from x86_64 host to arm host
Task-number: QTQAINFRA-6379
Change-Id: I07b21dbc38550f2134b386bff116a741dc5fa770
Reviewed-by: Jukka Jokiniva <jukka.jokiniva@qt.io>
2025-03-27 19:32:04 +02:00
Assam Boudjelthia
1c20066c69 Android: update the sha for Gradle script for provisioning
Use the sha from last update of Gradle and update AGP version
to match qtbase's 0e4f9ffa55c2b77fbe79e96362bc68a968982b48 commit.

Task-number: QTBUG-132852
Pick-to: 6.9
Change-Id: Iab851b08bc11290ee51a22f3bdd64369928dff22
Reviewed-by: Tero Heikkinen <tero.heikkinen@qt.io>
2025-03-27 17:31:59 +00:00
Rami Potinkara
ed0dc6ad5a Provisioning: update Gradle cache to Android SDK 35
This task updated the build.gradle of Gradle cache
to use SDK 35 for compile and target.

Task-number: QTBUG-130285
Task-number: QTBUG-129461
Pick-to: 6.9 6.8 6.5
Change-Id: I076211baf896e65aae3b616a3d6286258c3d0640
Reviewed-by: Rami Potinkara <rami.potinkara@qt.io>
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
2025-03-27 17:31:53 +00:00
Liang Qi
7111a62bb1 Reapply "platform_configs: remove InsignificantTests for u2404 x11 non-dev"
This reverts commit 7525c795e7.

Task-number: QTQAINFRA-6898
Task-number: QTQAINFRA-6098
Pick-to: 6.9 6.8
Change-Id: I74f3d4de45c6f4aa99ef397b19906fcef44c2a16
Reviewed-by: Tero Heikkinen <tero.heikkinen@qt.io>
2025-03-27 18:31:47 +01:00
Qt Submodule Update Bot
b52f8d7e9d Update submodules on 'dev in qt/qt5'
Change-Id: Ia2de236679a0104542a3d9e76b3cafdd7575c2e5
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-03-26 08:14:09 +00:00
Qt Submodule Update Bot
8f108aab07 Update submodules on 'dev in qt/qt5'
Change-Id: Ibda4928ebd8bb02d4f53590e3a84221c0ff901bf
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-03-14 07:06:37 +00:00
Tero Heikkinen
1144b14584 RHEL: Add ca-certificate install to fix missing certificate issues
Other linux distros have similar ca-certificate install/update in use.

Issue was noticed in RTA, and if similar happens again, these RHELs
need new provisioning to get up-to-date ca-certificates available.

Task-number: QTQAINFRA-7014
Pick-to: 6.9 6.8
Change-Id: Id0ef369b0d714b40b66117d6e62ddd6a787cae71
Reviewed-by: Simo Fält <simo.falt@qt.io>
2025-03-13 12:09:28 +02:00
Simo Fält
2035320e57 COIN: Add Debian packaging config for Debian 12
Pick-to: 6.9 6.8
Change-Id: Ifaf0db9b9d39c6e66003e34e6c19957b60d0289f
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
(cherry picked from commit 9babd80169)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-03-13 10:09:24 +00:00
Marianne Yrjänä
c47f750e65 Fix QNX nightly build config for Windows host
Previous dependency platform had been removed from CI, leading nightly
builds failing silently. Changed also from MSCV to mingw since it seems
to be more commonly used among customers.

Task-number: QTQAINFRA-7017
Task-number: QTQAINFRA-7000
Pick-to: 6.9 6.8
Change-Id: I009dd5e5c5ad28434816f831de37849a53f2c24f
Reviewed-by: Jukka Jokiniva <jukka.jokiniva@qt.io>
Reviewed-by: Tero Heikkinen <tero.heikkinen@qt.io>
2025-03-13 10:09:20 +00:00
Toni Saario
a660f59335 Add VxWorks imx8 build target
Running tests in QEMU for imx8 currently is not reasonably possible,
mostly due to lack of support from QEMU to emulate imx8 board.

Set qtmultimedia and it's dependees qtcharts and VKB as insignificant.

Change-Id: Iffc9c2e7df4bc06fd5b3c77124c650dda5696236
Reviewed-by: Simo Fält <simo.falt@qt.io>
2025-03-13 12:09:16 +02:00
Rami Potinkara
a242bb2e3e Provisioning: Update Android NDK to LTS version r27c
This patch updates Android NDK from LTS r26b to LTS r27c.
The version is 27.2.12479018

Task-number: QTQAINFRA-6479
Task-number: QTQAINFRA-6655
Pick-to: 6.9.0 6.9 6.8.3 6.8 6.5
Change-Id: Ic791cfd5d5dd2a439f96590b6f6f8ca0ac4fb5ae
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
Reviewed-by: Rami Potinkara <rami.potinkara@qt.io>
2025-03-13 10:09:08 +00:00
Axel Spoerl
abbffb449e Add Linux provisioning script for network test
Implement installation script in common/linux and call it from all
distros except arm (for which currently no binary exists).

Run executable after installation.
Warn only, to enable integration.

Task-number: QTQAINFRA-6796
Change-Id: Id0ebed7ae7d43733acb53d908750174634a4e676
Reviewed-by: Dimitrios Apostolou <jimis@qt.io>
2025-03-13 11:09:05 +01:00
Axel Spoerl
03d05c8781 Handle tgz extensions in InstallFromCompressedFileFromURL.sh
InstallFromCompressedFileFromURL.sh handles tar.gz, but not tgz.
Add the missing extension.

Pick-to: 6.9
Change-Id: Ie7e10e9b6963d5c24e21818dfd67bea9ab571541
Reviewed-by: Dimitrios Apostolou <jimis@qt.io>
2025-03-13 11:09:00 +01:00
Matti Paaso
87588710d2 Change axivion nigthly yaml
Using original platform config to prevent unnecessary failures
in Axivion analysis.

Task-number: QTQAINFRA-7009
Change-Id: If4b35b1401226c515efd7a29ce73b2fbe408c762
Reviewed-by: Toni Saario <toni.saario@qt.io>
2025-03-10 10:24:30 +02:00
Paul Wicking
9ff9d34626 Update Clang libraries for QDoc to 19.1.7
* Update the version variable used to identify the correct package for
  download and cache sites.
* Update the file names for all platforms, as these libraries are built
  directly from upstream without other patches applied on top.
* Add provisioning package locations for Windows VS2022 x64.
* Set 'vs2022' as default toolchain on Windows.
* Update call sites for `libclang.ps1` to pass `vs2022` as argument to
  the script.
* Drop Windows configurations with VS2019.
* Update cached and official URLs with the major version for Windows
  platforms.
* Update SHA1 for provisioning packages on all platforms.
* Move from RHEL 8.8 to 8.10.
* Move from RHEL 9.2 to 9.4.

Fixes: QTBUG-129506
Fixes: QTQAINFRA-6605
Task-number: QTBUG-129373
Pick-to: 6.8 6.9
Change-Id: I5146e6551a1b3c83133803f61ca6f8428cb6a14f
Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
2025-03-10 05:21:48 +01:00
Qt Submodule Update Bot
9a3f36f1ec Update submodules on 'dev in qt/qt5'
Change-Id: Iaaa2493709a3973e433a689fa9abf457af407142
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-03-07 03:33:51 +00:00
Qt Submodule Update Bot
4c17442844 Update submodules on 'dev in qt/qt5'
Change-Id: Iaef6f920c3f97ac9e729ee0c9857a7118eb441d3
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-03-03 16:58:58 +00:00
Tor Arne Vestbø
7853bee060 Make macOS 15 a fully significant config
In practice it already is, because qtbase sets COIN_CTEST_IGNORE_EXIT_CODE
to 0 for macOS 15, and this change has propagated to qt5.git now, but this
makes it official.

macOS 15 is now a significant platform [CI Platforms]

Change-Id: I9dc8b0f56582e08560859a17304e886e7fc3020b
Reviewed-by: Jukka Jokiniva <jukka.jokiniva@qt.io>
2025-02-27 21:47:28 +01:00
Tero Heikkinen
98e55af0f2 Synchronize GNOME based Linux gsettings into a common script
Pick-to: 6.9 6.8
Task-number: QTQAINFRA-6967
Change-Id: Ib2f17a49931dc546af82f1e0384814f9f359a3f3
Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
2025-02-27 14:34:43 +02:00
Timur Pocheptsov
a4110ed94f FFmpeg: reduce the number of frameworks we create
to the same libraries we build e.g. on macOS. Also, clean up the
script a bit removing a duplicate configure option.

Pick-to: 6.9 6.8
Task-number: QTBUG-133502
Change-Id: If06aad102783bc3025155d3427aa68d87ad4d179
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
2025-02-27 12:34:41 +00:00
Olli Vuolteenaho
5be87122b1 QtGP: Update CI Windows test host template
The Windows template was upgraded from -53 to -54 just after the
qtgradleplugin platform config was added, and I guess that's why this
one was missed.

Change-Id: Ibc2250a40d6e67e409cee323cb305a93e65ee7ff
Reviewed-by: Tero Heikkinen <tero.heikkinen@qt.io>
2025-02-27 14:34:38 +02:00
Eike Ziller
75f99d20a7 COIN/QtCreator: Update to qtci-windows-11_23H2-x86_64-54
Use same as other products

Pick-to: 6.9
Change-Id: I2a289cce1a7716017bae6ad3f28d088e322fdc3a
Reviewed-by: Tero Heikkinen <tero.heikkinen@qt.io>
2025-02-27 13:34:36 +01:00
Aku Pietikäinen
f23cd54e7f Homebrew flakiness improvements
Use prebuilt package stored in intranet when possible and use
intranet mirror when git is required.

Task-number: QTQAINFRA-6903
Pick-to: 6.9 6.8 6.5 5.15
Change-Id: I1630098756c2e9b4f551686679e98a40af5eef2d
Reviewed-by: Simo Fält <simo.falt@qt.io>
2025-02-25 21:36:41 +02:00
Rami Potinkara
9e5bb886b0 Provisioning: bump Android sdkBuildToolsVersion to 35
This patch bumps the sdkBuildToolsVersion used in Coin to 35.

Task-number: QTBUG-129461
Task-number: QTBUG-130283
Pick-to: 6.9 6.8 6.5
Change-Id: I2e1fbdfd23cb854ec50625ff29331adc61abc32c
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
2025-02-25 21:36:35 +02:00
Simo Fält
fda391a753 Provisioning: Allow retry when disabling spotlight indexing
Task-number: QTQAINFRA-5996
Change-Id: I05ef6d33d74448ee830d137b137c6ee73f6e0518
Reviewed-by: Ville-Pekka Karhu <ville-pekka.karhu@qt.io>
2025-02-25 19:36:29 +00:00
Alexandru Croitor
dc25215462 coin: Add a nightly job that configures qt5 in-tree examples and tests
To catch potential top-level build issues like non-unique example
names, missing AUTOGEN / moc does not exist workarounds and other
issues.

The nightly platform uses the newly introduced
'NoSubmoduleDependencies' Coin feature, which will ensure that we
only configure the qt5.git top-level build, not any of the submodules.

Change-Id: Idb79d768749311b4184e211cd54d38219bcba7c6
Reviewed-by: Toni Saario <toni.saario@qt.io>
2025-02-25 20:36:22 +01:00
Konsta Alajärvi
b0d999c087 Provisioning: bump Android sdkApiLevel to 35
This patch bumps the sdkApiLevel used in Coin to 35.

Task-number: QTBUG-129461
Task-number: QTBUG-130283
Pick-to: 6.9 6.8 6.5
Change-Id: Ia26248982a2807b2d3554d1a7a7394efcf13f834
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
2025-02-25 21:36:17 +02:00
Tero Heikkinen
5f627786ef Linux: Add GCC versions visible in versions.txt
Currently only SLES and openSUSE has GCC in versions.txt.
Will also make GCC versions visible in Tools and Versions pages.

Task-number: QTQAINFRA-5901
Pick-to: 6.9 6.8 6.5
Change-Id: I9742c3151e074c503947018a0c7f7c2e0c1077bd
Reviewed-by: Ville-Pekka Karhu <ville-pekka.karhu@qt.io>
2025-02-25 21:36:09 +02:00
Toni Saario
4781f83f32 Add platform config file for qtgamepad
Task-number: QTQAINFRA-6937
Change-Id: I1d869b7e1c760fab0a1171225605face0251e6a6
Reviewed-by: Matti Paaso <matti.paaso@qt.io>
2025-02-25 21:36:02 +02:00
Qt Submodule Update Bot
1d1897b1cf Update submodules on 'dev in qt/qt5'
Change-Id: I1bcd9283c85a0ff535ca9ba43538eb9001b3b16f
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-02-25 05:37:10 +00:00