Commit Graph

4325 Commits

Author SHA1 Message Date
Qt Submodule Update Bot
768edb9eeb Update submodules on 'dev' in qt/qt5
Change-Id: Ia116b16307f6234996bb79c703a94ed6aff1b2eb
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2020-11-18 15:28:47 +02:00
Volker Hilsheimer
c47432eda3 Make syncing script capable of setting up new worktrees and clones
For missing dependencies, create worktrees from existing clones if
found, otherwise clone from the same remote.

Change-Id: Ie624e6c1b3f621dce43ee8cc7f06ce469851285b
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2020-11-17 16:40:45 +01:00
Volker Hilsheimer
f8b8a9a59f Add a script to synchronize the repo to a consistent (sub)set
Make a few modifications to the dependency evaluation to include the
revision of each dependency, and a method that checks each dependency
out to the revision necessary to create a consistent set for the
requested module.

If the requested module is ".", check all modules out to the given
revision.

Can be called (ideally from a git-sync-to alias script):

cmake -DSYNC_TO_MODULE="$1" -DSYNC_TO_BRANCH="$2" \
      -P cmake/QtSynchronizeRepo.cmake

Change-Id: I007e9f9023bae949907b64e264ae7869dff1da2e
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2020-11-17 16:40:41 +01:00
Tony Sarajärvi
c4c11e016f Remove icu provisioning from 32 bit Windows 10
Fixes 2fb5125e5b which was incomplete

Change-Id: I80392c63fff1de53780416fa8e3e04ef2990323d
Reviewed-by: Matti Paaso <matti.paaso@qt.io>
2020-11-17 12:28:33 +00:00
Tony Sarajärvi
66b345fdbb Swap static builds between openSUSE and SLES
By moving the static build to SLES, we can run autotests on openSUSE.
It also makes sense to move the developer build at the same time.

Change-Id: I5e0c4b0caf2bbd5a0d419555b1e270673adfc890
Reviewed-by: Liang Qi <liang.qi@qt.io>
2020-11-17 13:19:53 +01:00
Ville-Pekka Karhu
dac8188d90 Provisioning: Install QEMU Guest Agent to Linux
Task-number: QTQAINFRA-2462
Change-Id: I1d74a886a3056d3d8b7ca7bce676701c15e67c6f
Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
2020-11-16 15:13:21 +02:00
Tony Sarajärvi
2fb5125e5b Clean up unused provisioning scripts
Change-Id: Id6c5de28bde4a7870eb33d685c948bfcf48cb367
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
2020-11-16 12:29:22 +00:00
Alexey Edelev
c7c8d1e064 CMake: Check module dependency before configure
Move all modules dependency check before actual configuration of
any module.

Change-Id: I40838ab59de1be1cd8ca3a006e195455f2692982
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2020-11-16 12:56:01 +01:00
Heikki Halmet
b34fa5f9cf Remove RedHat 7.6 from CI
CentOS 8.1 is now in CI without Insignificant flags so
Rhel 7.6 can be removed.

Task-number: QTQAINFRA-2760
Change-Id: Id797a6ea5bf9c4d64929b4d6e183d0c7146309ca
Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
2020-11-16 07:38:21 +02:00
Heikki Halmet
4a435f6012 Move coredump script under SLES 15 SP2
SLES 15 was replaced by SLES 15 SP2

Change-Id: Ia15e59ecb5407b9432ea82171c73a4576b162c35
Reviewed-by: Toni Saario <toni.saario@qt.io>
2020-11-16 07:38:19 +02:00
Heikki Halmet
268fda09d8 Provisioning: Update MSVC 2015 version number
Add correct version for Visual Studio 2015 and also
update the script name to point to MSVC 2015

Change-Id: Ice9b8359fbdcd885227eb94f6ef8cbbb5a02f099
Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
2020-11-16 08:38:16 +03:00
Qt Submodule Update Bot
4913a6d9b9 Update submodules on 'dev' in qt/qt5
Change-Id: I6d4c4249e8e77112e3a691c89453755f8d98716f
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2020-11-16 06:31:31 +02:00
Alexey Edelev
a2683113e2 CMake: Fix dependency handling when module is skipped
Put dependencies of all modules to top-level variables and
check for unmet dependencies before module configuring.

Fixes: QTBUG-88214
Change-Id: I089feb474687652f3f8fd1bb1959179ea1114983
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2020-11-14 13:10:30 +00:00
Qt Submodule Update Bot
4e2e65c7f1 Update submodules on 'dev' in qt/qt5
Change-Id: I0179edf47aef1e48f6a6b8dafb8ba05a1344b22d
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2020-11-14 11:46:04 +02:00
Qt Submodule Update Bot
a18871f371 Update submodules on 'dev' in qt/qt5
Change-Id: Ibce70929d2ab0fde99a642742eb777aad4ce9622
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2020-11-14 06:37:08 +02:00
Qt Submodule Update Bot
027f659e44 Update submodules on 'dev' in qt/qt5
Change-Id: I4f4bf3edf52471d2e424d2191be5e592435e2d6e
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
v6.0.0-beta5
2020-11-13 19:56:01 +02:00
Alexandru Croitor
b6fa6cada0 CMake: Mirror missing -no-gui Ubuntu config
Amends 57ae486e36

Fixes: QTBUG-88343
Task-number: QTBUG-86053
Change-Id: Icabf4cda23a61845b7f21b4d9f2e70e05ced0256
Reviewed-by: Toni Saario <toni.saario@qt.io>
2020-11-13 13:07:00 +01:00
Alexandru Croitor
dc84140127 CMake: Update provisioned CMake to version 3.19.0-rc2
We want to be able to build qdoc and lupdate on MSVC with
Ninja Multi-Config.

Task-number: QTBUG-85411
Task-number: QTBUG-88139
Task-number: QTBUG-87315
Change-Id: I53b705535981b67c817f4d49d435e8f2a0553f74
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
2020-11-12 18:21:53 +01:00
Qt Submodule Update Bot
4b97dafe86 Update submodules on 'dev' in qt/qt5
Change-Id: I53ce2d70cfe5cd1f07f5d24590cba5f0502844a2
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2020-11-12 05:31:01 +02:00
Tony Sarajärvi
fd4264aa63 Update Strawberry Perl to 5.32.0.1
Change-Id: I79f1f65af473f4925342267ab000d6261d3a7e42
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Ville-Pekka Karhu <ville-pekka.karhu@qt.io>
Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
2020-11-11 19:55:57 +00:00
Liang Qi
919253da5c CI: remove InsignificantTests flag for Ubuntu 20.04 hosts
Change-Id: I50ee36c93e084d5bd8cf97a29a44c66698cc4f5a
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2020-11-11 17:12:48 +01:00
Liang Qi
4cbe441322 Update submodules on 'dev' in qt/qt5 manually
Change-Id: I94ee49436645e1831050d80e3ccdf6f4b966bbae
Reviewed-by: Liang Qi <liang.qi@qt.io>
2020-11-11 17:12:46 +01:00
Volker Hilsheimer
da25b7f149 Use dependencies.yaml to order sub modules
Don't rely on .gitmodules, instead parse the dependencies.yaml file from
every subdirectory with a CMakeLists.txt, and sort all projects based
on that data. Projects with no dependencies are added last.

This allows us to get rid of the duplication of dependency information
in .gitmodules, and makes each module the authoritative source of its
own dependencies.

Change-Id: Ib1ec6c63bde2aa1852399d598dac5b8e1efda31d
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2020-11-11 11:44:25 +01:00
Maurice Kalinowski
9a82a87954 Update MQTT test broker
Latest additions of CentOS cause troubles due to
- Updated SSL to set up tls servers
- Updated Python version, which removed API calls

For the latter, we only need to update the broker. TLS test servers
are not used in our setup. However, qtmqtt.git requires on further
update to load a different configuration.

Task-number: QTBUG-88189
Change-Id: I2d6e559a21dff41deca94aeec8c5db6fdf72a0ac
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
2020-11-11 07:59:22 +01:00
Tony Sarajärvi
64eecbf317 Upgrade GCC from 7 to 9 in openSUSE
Task-number: QTQAINFRA-4006
Change-Id: I2cfce8fbae5974474e349342450d91e29314a8f1
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Ville-Pekka Karhu <ville-pekka.karhu@qt.io>
Reviewed-by: Liang Qi <liang.qi@qt.io>
2020-11-10 13:15:09 +00:00
Qt Submodule Update Bot
5dc2c5d94f Update submodules on 'dev' in qt/qt5
Change-Id: Idaaed4151eebe32797fbc53ee4a1d230ac893e75
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
v6.0.0-beta4
2020-11-09 17:31:59 +02:00
Toni Saario
54ffdc3f2f Change sccache provisioning priority
With value 100 the sccache would provision between 10 and 20, which
might lead to unexpected behavior.

Change-Id: I3143d2102ff03c744476910dffdb924ca3164d26
Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
2020-11-09 17:11:10 +02:00
Qt Submodule Update Bot
2f3fb49637 Update submodules on 'dev' in qt/qt5
Change-Id: Ic83483978c86b85e7b709b3174598f97a64bf2c0
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2020-11-09 12:09:58 +02:00
Qt Submodule Update Bot
a6c3df1ae8 Update submodules on 'dev' in qt/qt5
Change-Id: Ieff76e7d9c500f37687f83204792c1d8846eef05
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2020-11-09 08:08:55 +02:00
Qt Submodule Update Bot
63a27753cf Update submodules on 'dev' in qt/qt5
Change-Id: Iefc90b0d1bedf2d84663203ecd07bde80b4a2df3
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2020-11-09 04:13:07 +02:00
Kai Koehne
c7e8d91332 Windows: Fix lookup of LLVM_INSTALL_DIR environment variables
"_ARCH_" was dynamically replaced by either 32 or 64 in
qttools/configure.pri. Anyhow, this is not supported by the
CMake build, and not needed, since we only build with 64
toolchains on Windows.

the qmake builds can still automatically select the "right"
toolchain by either loading LLVM_INSTALL_DIR_msvc,
LLVM_INSTALL_DIR_mingw. But for CMake builds
we now explicitly set LLVM_INSTALL_DIR in each configuration.

Fixes: QTBUG-87215
Change-Id: Iaa7e6eab676c03b34ea723d9f71888ca9ee7bb1f
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2020-11-08 16:57:21 +01:00
Kai Koehne
f19703b0d8 Provisioning: Do not install llvm 32 bit anymore
Task-number: QTBUG-87215
Change-Id: Idf0f06fa91e7a9e5e23c1395a90e0733622064d3
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2020-11-08 16:57:18 +01:00
Qt Submodule Update Bot
fa410e3f5a Update submodules on 'dev' in qt/qt5
Change-Id: Ic4bb0dbbaafc156532d1b05967eb811b9c86fc6d
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2020-11-08 12:46:20 +02:00
Qt Submodule Update Bot
43291fd110 Update submodules on 'dev' in qt/qt5
Change-Id: I4b38af69da0ac6c5880aee6d4940bc3f00d7d62e
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2020-11-06 19:33:03 +02:00
Alexandru Croitor
992cbdfd01 CMake: Add documentation building CI instructions
Replicate the instructions that Coin does for qmake configurations.
Build all of qttools and its dependencies and then build the top-level
docs.

Task-number: QTBUG-87012
Change-Id: Iac70172cf13d8943e60c26a1f2ee3ddf5bae6667
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2020-11-06 17:26:00 +01:00
Alexandru Croitor
187b80e140 CMake: Mirror missing -no-widgets Ubuntu config
Task-number: QTBUG-86053
Change-Id: I791a84b5dc2c159007b2a122ea4c35c97a180c7a
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2020-11-06 17:18:13 +01:00
Alexandru Croitor
cb0a002ba3 CMake: Adjust qemu configs to include qmake specific settings
Task-number: QTBUG-86053
Change-Id: Idb43b9c847f42d1a576fea1c3b2775fd4acbde7f
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2020-11-06 17:17:55 +01:00
Alexandru Croitor
605e0b3996 CMake: Enable usage of bundled xinput sources like in qmake configs
Task-number: QTBUG-86053
Change-Id: I888b557626146460d1734c04fae8bb819ebf266c
Reviewed-by: Simon Hausmann <hausmann@gmail.com>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2020-11-06 17:17:49 +01:00
Alexandru Croitor
28be349bd7 CMake: Bump the minimum required CMake version to 3.18
This is the top-level counterpart change that uses the infra
introduced in qtbase.

Task-number: QTBUG-88086
Change-Id: I2524cd88da43cffb2b3742caedd1cd2f3130dff5
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
2020-11-06 17:17:21 +01:00
Alexandru Croitor
7ccc1420f2 CMake: Deduplicate qtbase source path references
Change-Id: I857d97c3844ab0a9fe728a499aac1ecd07a1c779
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
2020-11-06 17:17:21 +01:00
Qt Submodule Update Bot
22d80b5489 Update submodules on 'dev' in qt/qt5
Change-Id: I310004ae9e8895f9f936c13098b1f73bbd17d66a
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2020-11-06 18:17:21 +02:00
Qt Submodule Update Bot
f5aa1b2957 Update submodules on 'dev' in qt/qt5
Change-Id: If31d3e48baab2785da242b2b3058de7f801f3bdc
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2020-11-06 02:13:29 +02:00
Edward Welbourne
cd48b6f971 Fix breakage in Coin caused by -verbose going to cmake configure
Fixes commit 57ae486e36

Change-Id: I6a20580c27c9474c9507c5f346b78a2a3f793169
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2020-11-05 17:07:03 +01:00
Heikki Halmet
013e6972ce Change Insignificant flag to InsignificantTests for MSVC developer build
Builds are passing, but tests still failing

Task-number: QTQAINFRA-3949
Change-Id: Ieca2512e06ca09cabf042ee3c966dae65c9e5e86
Reviewed-by: Simo Fält <simo.falt@qt.io>
2020-11-05 18:07:03 +02:00
Tony Sarajärvi
57ae486e36 Bring back the -no-gui build in the CI
Task-number: QTQAINFRA-3999
Change-Id: Ifd1c76fc1eadf34a1024e7591f14ab6ab2c4bb56
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Liang Qi <liang.qi@qt.io>
2020-11-05 10:29:17 +00:00
Liang Qi
01f0e37b48 CI: remove InsignificantTestsflag for two CentOS 8.1
Task-number: QTQAINFRA-2760
Task-number: QTQAINFRA-3065
Change-Id: Ic221b9c63ddfe5b5f62e3900f11fa0a27371e401
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2020-11-05 09:48:04 +01:00
Liang Qi
f641b7112e Update submodules on 'dev' in qt/qt5 manually
Change-Id: If7e047d3054a2a1816372c1350d0664d10f62e63
Reviewed-by: Liang Qi <liang.qi@qt.io>
v6.0.0-beta3
2020-11-04 15:05:32 +01:00
Liang Qi
47b8427b15 coin: guard Ubuntu 20.04 for qtbase first
Task-number: QTBUG-86187
Change-Id: I677eec9b80ae7389fe63adc58a38979556654a8a
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
2020-10-30 21:34:54 +01:00
Heikki Halmet
134c2a1cb0 Upgrade msys2 package and the installation script
This change will upgrade the msys2 package

Change also updates the script to use cached
prebuilt package if available.

This will also remove unneeded x86 installation

Pick-to: 5.15
Pick-to: 5.12
Task-number: QTQAINFRA-3986
Change-Id: Ia6299f9d4750376676276a75613e7f1098de4102
Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
2020-10-30 16:14:37 +02:00
Liang Qi
4e39bfd760 Update submodules on 'dev' in qt/qt5 manually
Need to include a fix in qtquick3d for cmake developer build on
Ubuntu 20.04.

Change-Id: I18b87aef320fc3b36d1383ff58efff51a605bc71
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by: Daniel Smith <Daniel.Smith@qt.io>
2020-10-30 12:35:00 +01:00