Commit Graph

5350 Commits

Author SHA1 Message Date
Alexandru Croitor
f8eb9916f1 CMake: Remove feature workarounds now that we ignore strawberry perl
Now that we ignore the libraries shipped within the strawberry perl
distribution, we can remove the explicit FEATURE_system_foo flags
because we'll default to using the qt provided libraries by default.

Task-number: QTBUG-113726
Change-Id: I0ef7ae2afd489107a4d5b2c4f859e1e3590ca5e9
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
(cherry picked from commit 3ed21fda1a)
2023-08-01 17:36:09 +02:00
Alexandru Croitor
6529d1bb4e CMake: Ignore libraries provided by strawberry perl
Because we have strawberry perl's bin dir in the PATH, CMake considers
that a find_package prefix, and thus finds includes and libraries
that are shipped with strawberry perl.
That causes problems because the 3rd party runtime libraries are not
installed by the Qt installer, so any Qt modules / plugins that depend
on the 3rd party libraries will fail to load.

Use CMake 3.23's CMAKE_IGNORE_PREFIX_PATH option to tell it to ignore
strawberry headers and libraries.

We need to repeat it both for qtbase and non-qtbase args, to ensure
the libraries are not picked up for all of Qt.

This is a more general fix for problems like the one fixed by
a97bdde4d4

Task-number: QTBUG-113726
Change-Id: I706bf9ac945a47dc809bbb6eb9eda4ca93f84695
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
(cherry picked from commit 9b7dcd94df)
2023-08-01 17:36:08 +02:00
Qt Submodule Update Bot
59da1f0dfe Update submodules on '6.6 in qt/qt5'
Change-Id: I701a58a01612e2aaf4503c3eaac802f9d20fdb3d
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-08-01 01:10:15 +00:00
Assam Boudjelthia
dc3866067a Coin: temporarily set ubuntu-22.04-documentation targets insignificant
... and the targets that depend on it, to deal with a cyclic dependency
in qtwebengine chromium update.

Change-Id: If5f64aed4d5e6ce34b8c6e58b3657fc3a438cb8c
Reviewed-by: Simo Fält <simo.falt@qt.io>
(cherry picked from commit c0cf9e7b28)
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
2023-07-30 17:13:31 +00:00
Assam Boudjelthia
caf1273921 Coin: install specific version of openjdk 11
Android's sdkmanager seems to fail with openjdk 11 version 11.0.20.0.8.
The previous version 11.0.19.0.7 seems to work. the error is failure to
find /usr/lib/jvm/java-11-openjdk-11.0.20.0.8-2.el8.x86_64/lib/tzdb.dat.

This is more of a workaround for now to unblock provisioning.

Change-Id: Ib50b497c6e8b6bffd0739bf665ab1deb5bd51666
Reviewed-by: Simo Fält <simo.falt@qt.io>
(cherry picked from commit 8b6151e23d)
2023-07-30 17:13:28 +00:00
Qt Submodule Update Bot
284d879f7c Update submodules on '6.6 in qt/qt5'
Change-Id: I905455264c25bdb7ea621ea7e8deced949491604
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-07-30 17:13:25 +00:00
Dominik Holland
48b2b39a11 Provisioning: Remove the special wheel cache for python3 packages
It should be replaced with a global pip cache in the long run.
Removing it should make the maintenance of the required packages easier
as it can be done within the modules instead of in the global
provisioing scripts.

Change-Id: Ief9832a8a640ce98325cda015d0a9e89d6cb16af
Reviewed-by: Simo Fält <simo.falt@qt.io>
(cherry picked from commit b87b44168c)
Reviewed-by: Daniel Smith <Daniel.Smith@qt.io>
2023-07-30 17:13:22 +00:00
Allan Sandfeld Jensen
3a69f0d31b Add libva-devel and gbm-devel packages for qtwebengine
Will be needed in Qt 6.6 for VA-API

Change-Id: I4389ee03eb85a05f9bce37a0eb4629d30e1aefd1
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
(cherry picked from commit d1552c26a8)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2023-07-30 17:13:19 +00:00
Simo Fält
4bbc98ff43 Upgrade MSVC 2022 and 2019 for Windows 11 22H2
Change upgrades also build tools for both visual studios

MSVC 2022: 17.6.4
MSVC 2019: 16.11.27

Change-Id: Icb847704636467d133fa578e46e93b6973aeb0a9
Task-number: COIN-1059
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
(cherry picked from commit 497bd051e4)
2023-07-30 17:13:17 +00:00
Alexey Edelev
bc90fcb4a4 Disable native_grpc feature for "Packaging" platforms
Native gRPC channels rely on the reference gRPC implementation that
doesn't guarantee the ABI compatibility between different versions. We
shouldn't link libQt6GRPC to any 3rdparty libraries that are not
delivered as part of Qt when make packaging builds in CI.

Task-number: QTBUG-115055
Task-number: QTBUG-110107
Change-Id: Ie099b0af833d87308179d3b4eecc47738078010c
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
(cherry picked from commit b028d7499f)
2023-07-28 15:30:50 +02:00
Assam Boudjelthia
72a2c43bb5 Add file names to .gitignore
* CMake's .user files created by Qt Creator.
* .vscode Visual Studio Code config folder.
* .DS_Store macOS files.
* In tree build folders.

Change-Id: Id23358759c1e18d72fd88c399732ea58693af09d
Reviewed-by: Simo Fält <simo.falt@qt.io>
(cherry picked from commit f6d8a7ddb9)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2023-07-20 18:12:08 +00:00
Qt Submodule Update Bot
7a1acaea39 Update submodules on '6.6 in qt/qt5'
Change-Id: I185e06796d445876c9e3128781b9cfdc0215c488
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-07-12 22:38:00 +00:00
Joerg Bornemann
f03e39cb56 init-repository: Fix wrong remote URLs in cloned submodules
The cloned submodules had a wrong origin remote URL if the origin remote
of the local qt5.git repository had a trailing slash.

Fix this by stripping the trailing slash when stripping the trailing
".git" from qt5.git's remote.

Fixes: QTBUG-113793
Change-Id: I199b6e1915f67558ecfe69f7300d0f9ef0d4b232
Reviewed-by: Alexandru Croitor (OOO) <alexandru.croitor@qt.io>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
(cherry picked from commit 6c40b6160e)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2023-07-12 08:48:27 +00:00
Alexandru Croitor
152b5beb8c CMake: Don't load QtAutoDetect for top-level standalone tests
We don't load it for qtbase standalone tests, we shouldn't for
top-level builds as well.

This brings us one step closer to fixing top-level standalone tests.

Change-Id: I7c2710e61951f6789fea63422bc575a1ac611cdc
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
(cherry picked from commit c971db7e5b)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2023-07-10 08:07:15 +00:00
Allan Sandfeld Jensen
839385fc1e Update node.js on Linux/macOS
Qt WebEngine 6.6 need 14.19+

Change-Id: Idf2d54fcdc55762cd9d8cfe5248858bd00afe89c
Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
(cherry picked from commit d764e8fe39)
Reviewed-by: Jukka Jokiniva <jukka.jokiniva@qt.io>
2023-07-10 08:50:34 +02:00
Qt Submodule Update Bot
2da4760c21 Update submodules on '6.6 in qt/qt5'
Change-Id: Id0c16cbb8ede64dd9053e91eb946768699ad14a5
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
v6.6.0-beta2
2023-07-09 00:03:23 +00:00
Heikki Halmet
a4c0d0104b Upgrade MSVC 2022 and 2019 for Windows 10 22H2
Change upgrades also build tools for both visual studios

MSVC 2022: 17.6.4
MSVC 2019: 16.11.27

Task-number: COIN-1059
Change-Id: Id212d396a58827d5794158a4b314ec65ad5a3f47
Reviewed-by: Michael Brüning <michael.bruning@qt.io>
(cherry picked from commit 6341108c6f)
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
2023-07-09 02:03:22 +02:00
Allan Sandfeld Jensen
349d3e1a2f Fix SetEnvVar for Debian
Change-Id: I4152575cc071ea7f51e102a3807b05ed9f89d2fd
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
(cherry picked from commit 14f7603e91)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2023-07-06 06:41:47 +00:00
Amir Masoud Abdol
235cb3b7b0 Show an error when a submodule is missing, or misspelled
Stop the configuration and show an error if one of the submodules is
missing, or misspelled in `-submodules` option.

Fixes: QTBUG-114133
Change-Id: I890d4f5f0614288a2be422f839e04a0086a58403
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Reviewed-by: Alexandru Croitor (OOO) <alexandru.croitor@qt.io>
(cherry picked from commit bb13b7dadf)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2023-07-06 05:17:38 +00:00
Fredrik Ålund
33a76dfc57 Add missing provisioning scripts for Mimer SQL for RHEL 8.6 and RHEL 8.8
The provisioning scripts for Mimer SQL is missing in RHEL 8.6 and
RHEL 8.8 and therefore the Mimer SQL QtSql plugin is not built

Fixes: QTBUG-111219
Change-Id: I9c12b7d94ab7b047ed08b46043ad16586968ecfd
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
(cherry picked from commit af7c74313d)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2023-07-05 14:47:48 +00:00
Qt Submodule Update Bot
4986b4d90f Update submodules on '6.6 in qt/qt5'
Change-Id: I05f3cc9ba1f3a4d488c14d27b22c81944afe4bc5
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-07-03 19:56:53 +00:00
Allan Sandfeld Jensen
52394ad84a Update node.js on Windows to 18.16.0
Needs to be at least 14.19 for Qt WebEngine 6.6

Change-Id: I1d4b8b241d18eeeffa1b2a9eed0e85cbf54e49ba
Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
(cherry picked from commit de0104b3ed)
Reviewed-by: Jukka Jokiniva <jukka.jokiniva@qt.io>
2023-07-03 14:25:14 +02:00
Simo Fält
6bedd9ec81 Add qtmultimedia as a recommended dependency for qt3d
Qt CI requires qtmultimedia binaries to create debian packages.

Pick-to: dev
Change-Id: Ib29cefe15db7f32fb9457320d899a4996bda6cba
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2023-06-30 04:03:05 +00:00
Tor Arne Vestbø
f624ee6402 Remove conan profiles
The conan experiment has ended, and the files are only bitrotting
nowadays.

Change-Id: Iefdc6fa1a48bb4062b15cf035f372a2d44bddda9
Reviewed-by: Toni Saario <toni.saario@qt.io>
(cherry picked from commit 8214de5e0e)
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
2023-06-28 10:59:35 +00:00
Tor Arne Vestbø
45e3f4a6d4 Remove CMake and Ninja version requirements from README
There are many details, as documented by the online documentation.

Task-number: QTBUG-114869
Change-Id: I3b5b6679264a7cb0f5deddad3385af9bd46693f8
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
(cherry picked from commit 2802d1debb)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2023-06-28 10:59:34 +00:00
Jøger Hansegård
55ca61922c Add CMakeUserPresets.json to .gitignore
The CMakeUserPresets.json file can be used to simplify configuring Qt,
particularly with tools such as Visual Studio and Visual Studio Code.

As opposed to the CMakePresets.json, the CMakeUserPresets.json should
only contain user specific configurations, and should never be checked
into source code management system. Therefore it makes sense to ignore
it globally.

Change-Id: I971d4505b302dc40e3dd33b6d4680c2067047c27
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
(cherry picked from commit cf4eabc8c2)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2023-06-28 08:24:46 +00:00
Jøger Hansegård
24e23c04e5 Enable rebuilding FFMPEG for MSVC without deleting lib files first
To simplify testing modifications to the FFMPEG library, it is nice to
be able to rebuild FFMPEG without having to manually delete lib files
first. This change makes this possible because it uses powershell
Move-Item instead of Rename-Item to rename .o files to .lib files.
Move-Item's -Force argument allows renaming files to destination that
already exists.

Change-Id: I0a56776d38c37d38d1cd74b5186881fc955d51f0
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
(cherry picked from commit c4d26fe1d2)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2023-06-27 10:12:19 +00:00
Piotr Wierciński
2a9e989c97 wasm: update emscripten to 3.1.37
Qt 6.6 will require emscripten 3.1.37

Change-Id: I24d172b9ba055c690274a99af109b50cd2f79b88
Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Mikołaj Boc <Mikolaj.Boc@qt.io>
(cherry picked from commit 13c53ef79f)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2023-06-27 10:12:17 +00:00
Assam Boudjelthia
9075653904 Coin:Android: unify and update OpenSSL provisioning scripts
Use the same prebuilt pacakges for all platforms since the prebuilt libs
are going to be used for the target and they are not tied to the host.

Task-number: QTBUG-110025
Change-Id: I2c79722989902b16883b31cbc6e140855239fcc8
Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
(cherry picked from commit 4e59702b14)
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
2023-06-27 10:12:15 +00:00
Assam Boudjelthia
ba9dfd1769 Android: fix outdated target id names in tqtc-android-automotive target
Amends ef12163e25.

Task-number: QTQAINFRA-5431
Change-Id: Ifa8446b1432223924d8af15322b1982bc33fa29c
Reviewed-by: Toni Saario <toni.saario@qt.io>
Reviewed-by: Zoltan Gera <zoltan.gera@qt.io>
Reviewed-by: Petri Virkkunen <petri.virkkunen@qt.io>
(cherry picked from commit 501087faf6)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2023-06-27 10:12:12 +00:00
Qt Submodule Update Bot
8c07ec9845 Update submodules on '6.6 in qt/qt5'
Change-Id: Ifff5f4ae7bf439080761fd4944ae7e63ea198ebd
Reviewed-by: Tarja Sundqvist <tarja.sundqvist@qt.io>
Reviewed-by: Toni Saario <toni.saario@qt.io>
2023-06-27 10:11:11 +00:00
Simo Fält
3e7b47c402 COIN: Disable linux on arm config again
The only host is down for now.

Change-Id: I82cc9461a16d054da6611f2e2ee0be6426755660
Reviewed-by: Jukka Jokiniva <jukka.jokiniva@qt.io>
(cherry picked from commit 82327bfc4d)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2023-06-15 07:34:18 +00:00
Qt Submodule Update Bot
8528bcd555 Update submodules on '6.6 in qt/qt5'
Change-Id: If8c186c9cef7436b4434db82bed212ee98a641bc
Reviewed-by: Daniel Smith <Daniel.Smith@qt.io>
v6.6.0-beta1
2023-06-09 19:37:17 +03:00
Jani Heikkinen
dd66d962bd Adjust submodule branches
Change-Id: I416489d90c9619ad8142d8fc83db34e7c1c0b667
2023-06-05 07:40:43 +03:00
Qt Submodule Update Bot
5dee3f7812 Update submodules on 'dev in qt/qt5'
Change-Id: I3975fc15037301d5e615fe777fd971541c3034ab
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-05-31 07:50:45 +00:00
Qt Submodule Update Bot
d53ea49973 Update submodules on 'dev in qt/qt5'
Change-Id: I741901fb948981d14fa1ee7944e5722076178430
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-05-27 08:15:50 +00:00
Samuli Piippo
2a8927e1ac Add more Yocto repository configs
Use common yaml config for all Yocto meta layers.

Change-Id: I72fcdf1bd4fbba81346629537ad748d8e7cd5249
Reviewed-by: Toni Saario <toni.saario@qt.io>
2023-05-26 12:15:36 +03:00
Qt Submodule Update Bot
1b6cab3295 Update submodules on 'dev in qt/qt5'
Change-Id: If1f0bb9e4abd2c9a50528b2e7c8cc7dd7038ba4f
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-05-25 14:02:39 +00:00
Teemu Holappa
eb838ea957 Add Axivion support for Qt Safe Renderer
This commit adds Axivion build configuration for Qt Safe Renderer.

Change-Id: I61acecc79552534f1fa37bc40bfeea469c68e9b6
Reviewed-by: Matti Paaso <matti.paaso@qt.io>
2023-05-24 06:55:54 +00:00
Qt Submodule Update Bot
78d15ca741 Update submodules on 'dev in qt/qt5'
Change-Id: I4455587c0b449f53ce19e4b84e3e70ac75f9f0b6
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-05-23 11:02:06 +00:00
Qt Submodule Update Bot
85e1b5954b Update submodules on 'dev in qt/qt5'
Change-Id: Ie19cbdda4f31956a9d01ead2ccd4850cdb6c57ad
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-05-20 13:20:49 +00:00
Alexey Edelev
e1b7e865ec Disable openssl for ffmpeg library
Openssl library causes backward compatibility issues. We need to disable
it to make ffmpegmediaplugin work on all supported linux platforms.

Fixes: QTBUG-113324
Pick-to: 6.5 6.5.1
Change-Id: Ib266e2cf67e9336fb206735b8b2418fccd8f7b00
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2023-05-20 03:20:04 +02:00
Heikki Halmet
3d149e8ff1 Provisining: Disable auto upgrades for Ubuntu 22.04
Auto upgrade can lock apt which cause provisoning failure

Task-number: QTQAINFRA-3054
Pick-to: 6.5 6.2
Change-Id: I7d8b8b9baf8b48f00d62dba2f810bf12aaa3c8a0
Reviewed-by: Ville-Pekka Karhu <ville-pekka.karhu@qt.io>
2023-05-19 11:40:43 +00:00
Heikki Halmet
090ce999db Provisioning: Wait apt lock with Ubuntu 22.04
Task-number: QTQAINFRA-3054
Pick-to: 6.5 6.2
Change-Id: Ief47a92c063ed31f930394ade54418e8f50c8358
Reviewed-by: Jukka Jokiniva <jukka.jokiniva@qt.io>
2023-05-19 11:40:41 +00:00
Matti Paaso
376d7cea83 Add Axivion toolchain and platform config nightly builds
Task-number: QTQAINFRA-5244
Change-Id: I08e9bf2f2066addb112888f791f7c9f0bd2659d6
Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
2023-05-19 07:42:58 +03:00
Qt Submodule Update Bot
b5bea16752 Update submodules on 'dev in qt/qt5'
Change-Id: I48e7216331c8f6ed31c77e4c2e0d13e3e9570ee1
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-05-18 11:17:14 +00:00
Jani Heikkinen
9aae493bc6 Update Appendix 9 in LICENSE.QT-LICENSE-AGREEMENT
Task-number: QTBUG-113132
Pick-to: 6.5 6.4 6.2 5.15
Change-Id: I1244bd0e7318120cf5ebde4daae38b9fba862237
Reviewed-by: Akseli Salovaara <akseli.salovaara@qt.io>
2023-05-18 11:17:13 +00:00
Simo Fält
95d035a0e5 Revert "Remove arm on linux config for now"
This reverts commit dbbcf2fa3a.

Reason for revert: Host config should be ok again.

Change-Id: Iaf5d54f1ea16055f00b072bc18c5da1605be42a1
Reviewed-by: Toni Saario <toni.saario@qt.io>
2023-05-17 12:58:42 +00:00
Rami Potinkara
ef12163e25 Android: Android OS 13 API 33 to CI as maximum version
Android 13 replaces Android 12 as max version in CI.
Android 6 kept as minimum version of Android in CI.

Task-number: QTQAINFRA-5392
Task-number: QTQAINFRA-5431
Change-Id: If85c6f63d52055e2ba95f92c154b20a6b809c7dc
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
2023-05-17 08:24:02 +03:00
Samuel Mira
2751db4d29 Fix FFmpeg provisioning for Android armv7a
Altered install-ffmpeg.ps1 script to build android armv7a archicture

Task-number: QTQAINFRA-5476
Pick-to: 6.5
Change-Id: I5179174c8676a3016df2922c00030e9d45a9009c
Reviewed-by: Lars Knoll <lars@knoll.priv.no>
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
2023-05-16 18:35:23 +02:00