Commit Graph

5055 Commits

Author SHA1 Message Date
Axel Spoerl
aa6a82d990 Implement cache cleanup script for openSuSE
Provisioning openSuSE VMs with a populated /home/qt.cache creates
flaky crashes of plasmashell during KDE/Plasma startup.
This scrip wipes the directory at the end of provisioning

Pick-to: 6.4 6.3 6.2 5.15
Fixes: COIN-897
Change-Id: If61f86843e7b81dfee85610b1cd73bb15ce26658
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2022-07-20 01:48:56 +00:00
Ivan Solovev
a0a56986e5 qt5: update qtlocation sha
qtlocation is an ignored module, because it's not yet officially
supported in Qt 6. However, it is checked out when someone clones the
repo and wants to build Qt from sources.
The sha of the checked-out commit for qtlocation is very old, the repo
contains both qtlocation and qtpositioning sources at that revision.
It is causing configuration errors, because we now have qtpositioning in
its own repo, so we get duplicated targets.

This commit bumps the revision of qtlocation submodule to the current
dev HEAD. This will eliminate the configuration problems.

Change-Id: Ia5de4d1357ea657b42465e473d5b6e02a2bb6f30
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2022-07-19 18:02:46 +02:00
Assam Boudjelthia
39efd3c35f Coin:Android: Use VMSize8 for Android test targets
Ensure to explicitly use 8 cores for Android targets runnining
tests to reduce the amount of flaky fails due to the emulator
crashing or freezing.

Pick-to: 6.4 6.3 6.2
Task-number: COIN-896
Change-Id: I8b0cfac34aa7fc416166b9f7ae0b3e9d72c62e55
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2022-07-19 10:22:41 +00:00
Alexandru Croitor
032dfe48fa coin: Use configure for newly added mac configuration
Use the configure script to configure Qt in the CI, instead of calling
CMake directly.

Amends 21ed2db77b

Pick-to: 6.4
Task-number: QTQAINFRA-4357
Task-number: QTQAINFRA-4815
Change-Id: Ibd4ae9bb7dfdbff0cc1ae7803a6aaf5e0c504d2e
Reviewed-by: Toni Saario <toni.saario@qt.io>
2022-07-18 12:05:49 +00:00
Simo Fält
2f3432fe0d Use gold linker with Android Automotive documentation config
Pick-to: 6.4
Change-Id: I8d282e015a0e195da2ad764516d3df1a48e6bff7
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2022-07-18 10:38:01 +03:00
Volker Hilsheimer
72ac097082 Add script to create shared folders for testing Qt I/O with UNC paths
Once these paths exist reliably on the Windows VM running the test, and
are shared, we can access them through UNC paths as

\\${COMPUTERNAME}\testshare

This allows us to remove dependencies to network infrastructure from
those QtCore tests.

The test needs to run last, as otherwise the Visual Studio installer
mysteriously fails to execute. So make some space at the end of the
script list.

Pick-to: 6.4
Change-Id: Ie11b894f000722a7d99b2c5e279c1b0b63021003
Reviewed-by: Simo Fält <simo.falt@qt.io>
2022-07-17 14:45:22 +02:00
Axel Spoerl
171a3e85f7 Provision flite library on openSuSE Leap 15.3
Add flite install script for linux and integrate it in provisioning
for openSuSE Leap 15.3.

Pick-to: 6.4
Change-Id: Ie99271b115ba5c7b1f0177e09f38a4729de2b6cd
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2022-07-17 08:30:31 +02:00
Qt Submodule Update Bot
d29223e03f Update submodules on 'dev in qt/qt5'
Change-Id: Idc5d12890e557d1ebf6c9d4ea0b471a8c407d739
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-07-16 03:51:03 +00:00
Assam Boudjelthia
dcc3d699fb Use 4 CPU cores for tqtc-android-automotive test VM
The current cores count is 2 and that's leading to failures
in tests execution.

Pick-to: 6.4 6.3 6.2
Change-Id: Ia442c66f0c6246114f43f812240ad469dc705424
Reviewed-by: Jukka Jokiniva <jukka.jokiniva@qt.io>
2022-07-15 19:49:05 +03:00
Qt Submodule Update Bot
d5afa47ad1 Update submodules on 'dev in qt/qt5'
Change-Id: Ic415d1259c0fd49b3121e11f464fae7a2e5e0ddf
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-07-15 04:46:34 +00:00
Samuli Piippo
4ec187cd4c QNX: generate wrapper scripts for all hosts
The QNX build done on linux host can be used in installer for all host,
make sure that the wrapper scripts are also available for all hosts.

Pick-to: 6.4 6.3 6.2
Change-Id: I564b66682cdfd514e165dfb1542683e9a542a53d
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2022-07-15 04:46:32 +00:00
Allan Sandfeld Jensen
49e7ee7913 Use gold linker on Ubuntu 20.04 developer build
Faster, uses less memory, and has better debugging. Also needed to link
qtwebengine debug-builds on this arch.

Pick-to: 6.4
Change-Id: I337798a9191cb4a764de4b0251349e4e86b0288a
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2022-07-13 07:29:08 +00:00
Jukka Jokiniva
9aa0ec5040 Revert "Change QNX temporarily insignificant"
This reverts commit 60cb5adc2e.

Reason for revert: QNX licenses fixed

Pick-to: 6.4 6.3 6.2
Change-Id: I50bdff9b416c10d0a9181cded524c37681a8723e
Reviewed-by: Simo Fält <simo.falt@qt.io>
2022-07-05 10:14:01 +00:00
Jukka Jokiniva
60cb5adc2e Change QNX temporarily insignificant
QNX licenses expired. Temporarily remove QNX from
blocking CI.

Pick-to: 6.4 6.3 6.2
Change-Id: I96f9b2d4c07c1921736c929971ec1e716d7d6131
Reviewed-by: Tarja Sundqvist <tarja.sundqvist@qt.io>
2022-07-04 11:03:29 +03:00
Assam Boudjelthia
1d4f821520 Coin:Android: Enable tests for default packaging target - Part 5
This makes sure Android tests are run by default for packaging
targets for various integrations including qt5 integrations and
potential issues are caught up early on especially when doing
sumobules updates and coin scripts updates.

Also, this makes it easier to manage instead of having the tests
enabled per module. Thus, this removes the Android test include
from the individual modules because it will be retrieved directly
from cmake_platforms_target_android_host_linux.yaml which is included
by cmake_platforms.yaml.

Pick-to: 6.2 6.3 6.4
Task-number: QTBUG-88846
Change-Id: I8bc1638df48ad27781160df943c0126ffe495a3e
Reviewed-by: Toni Saario <toni.saario@qt.io>
2022-07-02 21:25:26 +03:00
Dimitrios Apostolou
76ca35c6e7 Enable ASAN build for qtbase in CI
This reverts commit 8412bddcf8.

Fixes: QTQAINFRA-5025
Change-Id: I5f92ea1760fb1864b0668031e6f693167d793ff8
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2022-06-29 23:19:50 +02:00
Eike Ziller
58ebc95561 COIN/Qt Creator: Run tests
Pick-to: 6.2 6.3 6.4
Change-Id: I73247d88fcd5539c2d3748af7619c2223c237d9c
Reviewed-by: Antti Kokko <antti.kokko@qt.io>
2022-06-28 06:39:49 +00:00
Kai Köhne
16b504254e Update README.git to mention Qt 6
Change-Id: Ic5e05251bc2b4c2422f8ef6d98fb48867b1991b5
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
Reviewed-by: Nicholas Bennett <nicholas.bennett@qt.io>
2022-06-23 08:18:48 +02:00
Andreas Buhr
65f50d4d22 Also let Linux Android developer build use configure
Pick-to: 6.3 6.4
Change-Id: I31bfab26a28aa60354608dfe6531d9605f556c33
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by: Toni Saario <toni.saario@qt.io>
2022-06-23 06:50:20 +02:00
Qt Submodule Update Bot
f8551472dc Update submodules on 'dev in qt/qt5'
Change-Id: Ie9adf6688840000e499d32730242d25b74da88ad
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-06-23 00:38:44 +00:00
Dimitrios Apostolou
8412bddcf8 Disable ASAN build for qtbase
This reverts commit 37fed2c22e.

Two new ASAN issues came up, disable ASAN build until they are fixed.

Change-Id: Id3815b891ec735d893375c02688383817d864719
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2022-06-17 09:01:21 +00:00
Dimitrios Apostolou
37fed2c22e Enable address sanitizer
The last bugs have been fixed, and a test run built with ASAN is
not finding any issues on qtbase, so it is ready to be part of CI.

Fixes: QTQAINFRA-5025
Change-Id: I1905daaf5b19b41d8daa3f2c47958515b4afaded
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2022-06-16 12:58:58 +02:00
Toni Saario
8a2aed58ff Add env vars to android doc target
If the target does not match to the one used by qt5 it cannot find the
doc tar in the module doc build.

Change-Id: I1f3b86b72fb7c03c064ee1cbbd2d67653562c802
Reviewed-by: Jukka Jokiniva <jukka.jokiniva@qt.io>
2022-06-16 10:58:58 +00:00
Toni Saario
e9b5cfc634 Precheck: Run only configs used in cmake_platforms.yaml
Most of the modules do not have all configurations from different
yamls. Using configs from yamls only used in some modules will
lead to precheck using configs which are not used on normal
integrations.

Pick-to: 6.3 6.4
Change-Id: I7712db05eee485692d0363326194f02e21a40b9a
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2022-06-16 13:58:58 +03:00
Joerg Bornemann
96be84d703 CMake: Take custom libdir into account
When configuring with -libdir set to something that is not recognized
by CMake's find_package search procedure, top-level builds failed to
configure.  This was due to a hard-coded lib/cmake directory added to
CMAKE_PREFIX_PATH.

Fixes: QTBUG-103823
Pick-to: 6.2 6.3 6.4
Change-Id: If8b48e35e654089f32cbe4af9936238cd82b3dbb
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2022-06-16 09:28:52 +02:00
Kai Köhne
6a4dab1134 Make sure clang-format doesn't reformat SPDX-License-Identifier
SPDX-License-Identifier needs to stay on one line to be machine
readable, even if this goes above the 100 chars limit.

Pick-to: 6.4
Change-Id: I2cc3d556e30e8d169224cc87a97a2042b47e43f7
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
2022-06-14 08:33:07 +02:00
Qt Submodule Update Bot
895475d6f2 Update submodules on 'dev in qt/qt5'
Change-Id: Ie39a884accdf1b5e518a49643a3fe80d304ae683
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-06-14 05:35:18 +00:00
Tommi Mänttäri
e487623c0d CI: make Linux host builds to use the common QNX SDP
To ensure that both Linux and Windows host builds are equivalent
the Linux host builds need to use the common QNX SDP file that
support both host environments.

Task-number: QTBUG-101292
Pick-to: 6.4 6.3 6.2
Change-Id: Iaf3fe0de1bce64918165555bff07f5cb423fef32
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2022-06-14 05:04:06 +00:00
Tommi Mänttäri
857ae6e1e1 CI Nightly: add Windows host support for QNX
Add required configurations to Nightly run for building
Qt SW in Windows host for QNX OS.

Task-number: QTBUG-101292
Pick-to: 6.4 6.3 6.2
Change-Id: I689abd6596bf1ab1f30ba07c198e12569dbf2164
Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
2022-06-14 08:03:59 +03:00
Alexandru Croitor
6e95fb2f93 coin: Fix android automotive configuration to use configure
The UseConfigure feature was enabled, but the configure arguments were
not ported.

Amends 5e9653ef97

Pick-to: 6.2 6.3 6.4
Task-number: QTQAINFRA-4357
Task-number: QTQAINFRA-4815
Change-Id: I89607aef275370dc27910a5cd1fec7603a1fd576
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
2022-06-13 11:50:14 +02:00
Alexandru Croitor
64cf9a03b7 coin: Use configure for QEMU Boot2Qt configurations
Use the configure script to configure Qt in the CI, instead of calling
CMake directly.

Pick-to: 6.2 6.3 6.4
Task-number: QTQAINFRA-4357
Task-number: QTQAINFRA-4815
Change-Id: I9aacf3e6f15fc074b52e85da9e3f671b4f58a135
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
2022-06-13 11:50:12 +02:00
Piotr Srebrny
a273e9f11c Provision FFmpeg library for QtMultimedia plugin
One of the QtMultimedia backends is implemented using FFmpeg.
This provisioning enables building and testing of this backend.

Change-Id: Ia196c2ae4b457aa6b8e3ee8e0f367197aadfe0d9
Reviewed-by: Simo Fält <simo.falt@qt.io>
2022-06-13 09:56:56 +02:00
Alexandru Croitor
6b2298dacf coin: Fix iOS tests configuration to pass -debug-and-release
Pick-to: 6.2 6.3 6.4
Task-number: QTQAINFRA-4357
Task-number: QTQAINFRA-4815
Change-Id: I578e1238ea187ade908d8174c0c6e5f7a9a9f66f
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2022-06-10 11:16:18 +02:00
David Skoland
9246ebe17f Fix Coin prebuilt GCC download
We already have the DownloadURL function which is used pretty
much everywhere except here, so it makes sense to use it here too.

Change-Id: Icc1d3db7e4e3d3f61f6cd6a22b35e2ef007ff40c
Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
2022-06-09 09:20:29 +01:00
Alexandru Croitor
2566bbfe71 coin: Use configure for static tests configurations
Use the configure script to configure Qt in the CI, instead of calling
CMake directly.

Pick-to: 6.2 6.3 6.4
Task-number: QTQAINFRA-4357
Task-number: QTQAINFRA-4815
Change-Id: I2d35724074f4180775ca28c4befea1b9de838ecf
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
2022-06-08 23:28:17 +02:00
Alexandru Croitor
6ec880ea47 coin: Use configure for Integrity configurations
Use the configure script to configure Qt in the CI, instead of calling
CMake directly.

Pick-to: 6.2 6.3 6.4
Task-number: QTQAINFRA-4357
Task-number: QTQAINFRA-4815
Change-Id: I128f5e424481ba8fbb4649c75be818abee57e03e
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
2022-06-08 23:28:14 +02:00
Alexandru Croitor
7c9601115d coin: Use configure for QNX configurations
Use the configure script to configure Qt in the CI, instead of calling
CMake directly.

Pick-to: 6.2 6.3 6.4
Task-number: QTQAINFRA-4357
Task-number: QTQAINFRA-4815
Change-Id: Ibb84a88f7f1ebd1f98e9998fac4180b257e80461
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
2022-06-08 23:28:10 +02:00
Alexandru Croitor
615091a6a8 coin: Use configure for WASM configurations
Use the configure script to configure Qt in the CI, instead of calling
CMake directly.

Pick-to: 6.2 6.3 6.4
Task-number: QTQAINFRA-4357
Task-number: QTQAINFRA-4815
Change-Id: I534b630946f1fd9f79e8466886ea727697cabbc4
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
2022-06-08 23:28:02 +02:00
Alexandru Croitor
5e9653ef97 coin: Use configure for Android automotive configurations
Use the configure script to configure Qt in the CI, instead of calling
CMake directly.

Pick-to: 6.2 6.3 6.4
Task-number: QTQAINFRA-4357
Task-number: QTQAINFRA-4815
Change-Id: I6fa9d75fab32f7355847a09996876f7e6c0a8b1c
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
2022-06-08 23:27:58 +02:00
Alexandru Croitor
d65844f4a2 coin: Use configure for Android configurations
Use the configure script to configure Qt in the CI, instead of calling
CMake directly.

Pick-to: 6.2 6.3 6.4
Task-number: QTQAINFRA-4357
Task-number: QTQAINFRA-4815
Change-Id: I008dd8dfca800e94ea3448bfd2c7ebae3266983e
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
2022-06-08 23:27:54 +02:00
Alexandru Croitor
98bcf11bf8 coin: Use configure for Windows MinGW + LLVM configurations
Use the configure script to configure Qt in the CI, instead of calling
CMake directly.

As a drive-by, remove the qt tiff option from qtbase configure args.
The feature is only available in qtimageformats.

Amends a97bdde4d4 and
4b4f0be08d

Also remove redundant compiler launcher assignments.

Pick-to: 6.2 6.3 6.4
Task-number: QTQAINFRA-4357
Task-number: QTQAINFRA-4815
Change-Id: I5cfcf5ddf60e9dd77cb67f41bb75525b44ad78d3
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
2022-06-08 23:27:50 +02:00
Alexandru Croitor
bcada10a9e coin: Use configure for Windows MinGW + GCC configurations
Use the configure script to configure Qt in the CI, instead of calling
CMake directly.

As a drive-by, remove the qt tiff option from qtbase configure args.
The feature is only available in qtimageformats.

Amends a97bdde4d4 and
4b4f0be08d

Pick-to: 6.2 6.3 6.4
Task-number: QTQAINFRA-4357
Task-number: QTQAINFRA-4815
Change-Id: I722bd869315b9059f5cadc5e935ed5173edf370d
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
2022-06-08 23:27:47 +02:00
Alexandru Croitor
ce76bcd8e2 coin: Use configure for Windows MSVC arm64 configurations
Use the configure script to configure Qt in the CI, instead of calling
CMake directly.

As a drive-by, remove compiler launcher assignments. They are
handled automatically by the qtbase instructions.

Pick-to: 6.2 6.3 6.4
Task-number: QTQAINFRA-4357
Task-number: QTQAINFRA-4815
Change-Id: Id7b02804aa2c931e81f227cae64b19ab0e40f82d
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
2022-06-08 23:27:43 +02:00
Alexandru Croitor
aa0c9d4943 coin: Use configure for Windows MSVC desktop configurations
Use the configure script to configure Qt in the CI, instead of calling
CMake directly.

Pick-to: 6.2 6.3 6.4
Task-number: QTQAINFRA-4357
Task-number: QTQAINFRA-4815
Change-Id: I153b9268f8795c33a44f85a316fa7c1c31ac0492
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
2022-06-08 23:27:38 +02:00
Alexandru Croitor
4810eb2f61 coin: Use configure for RHEL configurations
Use the configure script to configure Qt in the CI, instead of calling
CMake directly.

Pick-to: 6.2 6.3 6.4
Task-number: QTQAINFRA-4357
Task-number: QTQAINFRA-4815
Change-Id: I1fef5b57c493d1e32080fad393e4e531e441e142
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
2022-06-08 23:27:35 +02:00
Alexandru Croitor
07f418d415 coin: Use configure for iOS configurations
Use the configure script to configure Qt in the CI, instead of calling
CMake directly.

Pick-to: 6.2 6.3 6.4
Task-number: QTQAINFRA-4357
Task-number: QTQAINFRA-4815
Change-Id: If84d580bdcf166f07ecd1f6fb20e3404e1fb0e1c
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
2022-06-08 23:27:31 +02:00
Alexandru Croitor
e0c0aaade4 coin: Use configure for macOS desktop configurations
Use the configure script to configure Qt in the CI, instead of calling
CMake directly.

Pick-to: 6.2 6.3 6.4
Task-number: QTQAINFRA-4357
Task-number: QTQAINFRA-4815
Change-Id: I38e038e6682f77a5ea3f2335f24f8bcbd2e7c605
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
2022-06-08 23:27:27 +02:00
Alexandru Croitor
6d6eccab34 coin: Use configure for OpenSUSE and SLES configurations
Use the configure script to configure Qt in the CI, instead of calling
CMake directly.

Pick-to: 6.2 6.3 6.4
Task-number: QTQAINFRA-4357
Task-number: QTQAINFRA-4815
Change-Id: Ia2461f24ba526702196f72ea492b59cc2b1abf5a
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
2022-06-08 23:27:23 +02:00
Alexandru Croitor
99731bc155 coin: Use configure for Ubuntu desktop configurations
Use the configure script to configure Qt in the CI, instead of calling
CMake directly.

Pick-to: 6.2 6.3 6.4
Task-number: QTQAINFRA-4357
Task-number: QTQAINFRA-4815
Change-Id: I2620014c3858c1f343f8698fc3f8de4f9188ad4b
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
2022-06-08 23:27:19 +02:00
Kai Köhne
fe9efd3594 Fix C++ version to C++17
Cpp11 is nowadays a deprecated alias to LS_Latest

https://clang.llvm.org/docs/ClangFormatStyleOptions.html

So we might as well hard-code it to C++ 17.

Change-Id: If832c6075f9e30c340a2ac8bb3b7fe13afc0f56e
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
2022-06-08 10:25:30 +00:00