Commit Graph

5290 Commits

Author SHA1 Message Date
Jani Heikkinen
912aa2eb46 Add qtgraphs submodule in qt5.git as preview module
Task-number: QTBUG-112800
Change-Id: I39384c20cdb2a83c70ea84628fa37472a62bbaf4
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
2023-04-19 05:22:20 +00:00
Jani Heikkinen
7956c13d5c Enable CI for qtgraphs repository
Task-number: QTBUG-108162
Change-Id: I757dc1818bf62969ed4fab25ee9c4446d1201415
Reviewed-by: Sami Varanka <sami.varanka@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
2023-04-19 08:22:16 +03:00
Dominik Holland
4bd1b6fad3 Provisioning: Make the dependencywalker available to python nuitka
nuitka needs the dependency walker to create standalone binaries. For
that nuitka downloads the dependency walker into its cache location.
If we copy our installation to this cache folder first, we don't need
to download it again.

Change-Id: Ib55e5ddc7cb6b482e9db0723fd015b36da01e555
Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
2023-04-18 12:20:12 +00:00
Simo Fält
e14434a7ea Provisioning: Install nodejs to enable qtwebengine on arm linux
Change-Id: Id39dd3474e0d5f8d214ecf74255073650c82ab47
Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
2023-04-18 03:48:05 +00:00
Simo Fält
89edadf3be CI: Enable packaging config on arm linux
Task-number: COIN-1029
Change-Id: I369ce20e24b9adf6b64274dfe07bdfc25888e46f
Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
2023-04-18 06:48:03 +03:00
Artem Dyomin
aed030bb90 Update ffmpeg version to n6.0
Checked the basic functionality on macOS, linux, and windows.
To be tested in detail.

Pick-to: 6.5
Change-Id: I109f52ab33d58088332a3885c83d622815edd22e
Reviewed-by: Lars Knoll <lars@knoll.priv.no>
2023-04-15 18:10:47 +00:00
Tim Jenssen
967bdc47ab coin: fix typo in mac template
Pick-to: 6.5
Change-Id: I3fe8902deb85870ecab33b1ce492386255763fc7
Reviewed-by: Toni Saario <toni.saario@qt.io>
2023-04-15 09:24:53 +02:00
Heikki Halmet
76a06d574c Update macOS Tier 1 images to use newer OS versions
macOS 11.7.5
macOS 12.6.4
macOS 13.3

Pick-to: 6.5 6.4 6.2 5.15
Change-Id: Ib3cb27fc8716baa52893a6c52fe3589f5e7daac1
Reviewed-by: Ville-Pekka Karhu <ville-pekka.karhu@qt.io>
2023-04-13 05:08:20 +00:00
Rami Potinkara
7ad2801f92 Make qtbase significant for Android 12 emulator in CI
qtbase was last insignificant module. When below "needed to"
are in, qtbase can be mark as significant.

Needed to
- increase emulator RAM to 16GB
- RAM increase to 16GB fixed tst_QByteArrayLarge cases
- SKIP tst_QRhi::tessellation(Vulkan)
- SKIP tst_QOpenGLWidget::reparentHidden
- SKIP tst_qvulkan cases

Above SKIP bugs to be fixed later in Qt 6.5 as bugs.

Task-number: QTQAINFRA-4733
Task-number: QTQAINFRA-5391
Task-number: QTBUG-108832
Task-number: QTBUG-108844
Task-number: QTBUG-111235
Task-number: QTBUG-111236
Pick-to: 6.5
Change-Id: I5d3e99ad144dbcf192873458dedd0300ed622beb
Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
2023-04-13 07:08:11 +02:00
Gaurav Guleria
889f29abc5 Add provisiong script for CPDB frontend
The Common Print Dialog Backends (CPDB) concept has
GUI-toolkit-independent backends for each print technology (CUPS, Print
to File, cloud printing services, ...) and each print dialog (GTK, Qt,
Chromium, Firefox, ...) is supposed to use this backend, so that changes
in print technologies can be centrally and quickly covered by changing
the backends and everything new gets available in all print dialogs.

This commit provides provisioning script for CPDB frontend (cpdb-libs)
for Ubuntu 22.04 x86-64.

Change-Id: Ic97c41979040adb6e9ffab540c09edadb6b5de3e
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2023-04-13 07:08:07 +02:00
Heikki Halmet
2345f01c58 Provisioning: Use cached emsdk version 3.1.25 for unix
Task-number: QTQAINFRA-5458
Pick-to: 6.5
Change-Id: Ie9a38a38175cfd03ff15a886a5cd1621ae5ced36
Reviewed-by: Ville-Pekka Karhu <ville-pekka.karhu@qt.io>
2023-04-13 05:08:01 +00:00
Heikki Halmet
13215b3aad Provisioning: Use cached emsdk version 3.1.25 for Windows
Task-number: QTQAINFRA-5458
Pick-to: 6.5
Change-Id: I6567f36e545b5100325dfa8e1895a24a41a4783c
Reviewed-by: Ville-Pekka Karhu <ville-pekka.karhu@qt.io>
2023-04-13 05:07:58 +00:00
Qt Submodule Update Bot
6fd8a319b1 Update submodules on 'dev in qt/qt5'
Change-Id: Ic463e01cbe5edb4ba8cc87dcf5021f155503e9a3
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-04-12 00:52:45 +00:00
Kalle Viironen
982f0a4657 Provisioning: Install Valgrind on Ubuntu 22.04 and openSUSE 15.4
Valgrind is needed for testlib benchlibcallgrind selftest. Valgrind is
installed on Red Hat by default but needs to be separately installed on
Ubuntu and openSUSE.

Change-Id: I4cdfca512fe3efe9338a75cadc20454ff989fcae
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
2023-04-05 10:34:39 +02:00
Topi Reinio
195a438395 coin: Update provisioned qdoc, qtattributionsscanner binaries
Update qtattributionsscanner to the latest version from dev branch,
b3630c56. This includes support for SecurityCritical and Comments
fields. It also fails the build on incorrect input files, ensuring
no incorrect content can integrate.

Update qdoc to the same version from qttools, bringing multiple
improvements.

Pick-to: 6.5
Fixes: QTQAINFRA-5450
Change-Id: I7caa59ed982d9c41efcbe3d2381d47c7d037e9c6
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Kai Köhne <kai.koehne@qt.io>
2023-03-23 12:32:27 +00:00
Shawn Rutledge
6ed6f5f220 Add shadertools and webengine to qtdoc "recommends" list
The photosurface demo uses a custom shader and the PDF image plugin.
The document viewer also needs QtPDF.

Pick-to: 6.5
Task-number: QTBUG-108924
Change-Id: I1236e6b679dc512874299747921407384ce29a67
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2023-03-22 17:23:47 +00:00
Liang Qi
204ea530a7 Enable RunDependencyTests for qtwayland
It will run all auto tests in dependency modules, such as qtbase,
qtdeclarative and etc, with QtWayland QPA plugin, but insignificant
for now.

So the time for testing will be similar like qtbase, about 1-2 hours.

Pick-to: 6.5
Task-number: QTBUG-66335
Change-Id: I66259f975e102aed90af516885fcf6b1cbddb5f6
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
2023-03-16 19:01:39 +01:00
Qt Submodule Update Bot
5521817661 Update submodules on 'dev in qt/qt5'
Change-Id: I8c696e5726c5ed43896ab67d27feed197942268b
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-03-12 15:59:19 +00:00
Artem Dyomin
9b88e24d71 Enable network support for FFmpeg
This patch configures FFmpeg with network support. This enables QtMM
to handle network source such as HTTP, HTTPS, or RTSP.
Details:
- on macOS and windows ffmpeg uses native security backend so we don't
  include openssl to the build. Additional patch for linking
  with the security backend is in QtMM commit under the same task.
- on linux we add openssl; for all CI linux platforms libssl-dev is
  installed.

Task-number: QTBUG-110708
Pick-to: 6.5
Change-Id: I80a7dfda702c4d554df3a7380aac642890a28b94
Reviewed-by: Lars Knoll <lars@knoll.priv.no>
2023-03-12 15:59:17 +00:00
Pavel Dubsky
f58afd5476 Use vswhere to find the location of Visual Studio
vswhere tool is included since Visual Studio 2017 and is always located
at the same path thus making it a more convenient way to find Visual
Studio install directory.

Pick-to: 6.5
Change-Id: I680af8f88779841108b436223b4667f8a7c91aba
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
Reviewed-by: Lars Knoll <lars@knoll.priv.no>
2023-03-12 15:59:15 +00:00
Volker Hilsheimer
8b12598bf8 Provision flite on OpenSUSE 15.4
Unclear why that didn't get added when this set of provisioing scripts
was set up.

Pick-to: 6.5
Change-Id: I70cc347f2a6109fdde773c647cbe9a5b4819517e
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2023-03-09 14:30:35 +01:00
Qt Submodule Update Bot
88f01f7f7f Update submodules on 'dev in qt/qt5'
Change-Id: Icd0138a5ac417e68c71ffcb9755ea2fd57645c61
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-03-08 13:38:04 +00:00
Alexey Edelev
e68f9a28a8 Ensure that protobuf and gRPC libraries are build with -fPIC/PIE
Need to build protobuf and gRPC libraries with PIC/PIE to make them
compatible with Qt libraries and executables that are build with
PIC PIE.

Change-Id: Ie830f359e9e0fa15af65b96330edbf7f3f52df9b
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
Reviewed-by: Konrad Kujawa <konrad.kujawa@qt.io>
2023-03-02 11:51:09 +01:00
Qt Submodule Update Bot
671da8181e Update submodules on 'dev in qt/qt5'
Change-Id: I11302395dc7f28d7caaaedfd18496dfa6f38e278
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-03-02 07:48:55 +02:00
Assam Boudjelthia
04174ab790 Android: remove duplicate configuations from tqtc-android-automotive
Only reference the existing targets without fully duplicating them.

Change-Id: I55ee4a4272956331150ed5c6098ab1d51a556f1a
Reviewed-by: Toni Saario <toni.saario@qt.io>
2023-03-01 23:16:51 +00:00
Heikki Halmet
ec2dd3438c Enable MySQL for Windows
Pick-to: 6.2
Task-number: QTQAINFRA-4999
Change-Id: Id967473858673253f536cb91f9a95d9d6a3d7f27
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2023-02-26 14:59:07 +00:00
Heikki Halmet
f080b88d85 Remove *yocto_ssh_configurations script
Not needed anymore

Pick-to: 6.4 6.2
Change-Id: I9b813a66593525a2328bed95c128b5979a410fc7
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2023-02-26 14:59:04 +00:00
Heikki Halmet
af58d89b61 Use Docker registry when pulling images
Let's pull needed images from repo-clones docker registry to avoid
reaching the Docker Hub rate limit

Task-number: QTQAINFRA-5428
Pick-to: 6.4
Change-Id: I1305ac54e68e962f52bf435c5578248d0ada02db
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2023-02-26 14:59:01 +00:00
Heikki Halmet
81d4943e27 Remove CentOS provisioning scripts
Pick-to: 6.4 6.2
Task-number: COIN-1019
Change-Id: I7a8cb4c7f23d2d1c9c1d67338479ebe2ae86b322
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2023-02-26 14:58:58 +00:00
Heikki Halmet
d5ba87dff6 Provisioning: Use Docker registry when pulling images in macOS
Task-number: QTQAINFRA-5428
Pick-to: 6.4
Change-Id: I0034922dd7cc42b55b3c1e852070df29a54c529b
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2023-02-26 14:58:55 +00:00
Johanna Äijälä
d5d0bd27f4 Provisioning: add Android SDK, NDK and openSSL to Ubuntu22.04
Needed for RTA, for better coverage RTA uses Ubuntu as a host in Android
RTA tests.

Pick-to: 6.5
Change-Id: I4670102bc865847f07dccc47ba56d09734e269cd
Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
2023-02-21 08:28:02 +02:00
Fredrik Ålund
cbebb76ee2 CI scripts for Mimer SQL
To be able to build the Mimer SQL Qt Sql plugin the Mimer SQL RDBMS needs
to be installed in the CI environment.

Add CI scripts for Mimer SQL

Task-number: QTBUG-111219
Change-Id: Iff900d49ef5b26d97f4f326b0c0e0bc584c416f9
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2023-02-18 09:44:01 +01:00
Topi Reinio
6e0a189923 Provisioning: Update qdoc/qtattributionsscanner binaries on Ubuntu 22.04
The qdoc binary was originally built against libclang from LLVM 15, and
that version has problems parsing source code when C++20 support is
enabled.

Update to a version that is built against libclang from LLVM 12.

Pick-to: 6.5
Fixes: QTBUG-111186
Change-Id: I068b3e6d4d006ba6e55e2144c0fdeaeada931b73
Reviewed-by: Liang Qi <liang.qi@qt.io>
Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
2023-02-17 19:06:51 +00:00
Mårten Nordheim
5c6814fb18 Work around glibc bug in our mdns resolution
glibc has a system where, if it fails to perform Happy Eyeballs host
name resolution in parallel, it will do it sequentially.
We triggered this because our docker setup was not responding to
systemd-resolved's AAAA queries over IPv6.
The bug in glibc was then that it would poll for 4999ms after sending
the first of the two queries. __Every time__ we do mdns host lookup.
In tst_QTcpSocket this happens multiple times in ::initTestCase for the
proxy global-datatags. That means we would be stuck polling for
4999ms*5 (number of proxy addresses to look up) before every test-case
that would use proxy (even if the test just does a return in the
proxy-case). Plus another 4999ms for any mdns lookup we would need to
perform during the test.
This led to the test severely slowing down and timing out quite often.

Work around this by doing full mDNS before trying DNS.
This will let us resolve multi-label mDNS addresses.

Pick-to: 6.5
Fixes: QTBUG-107696
Change-Id: I26c6b356b4c9712f4ac6d3613998ee448c0ca504
Reviewed-by: Dimitrios Apostolou <jimis@qt.io>
2023-02-15 14:40:57 +00:00
Heikki Halmet
594aeb269f Add jira task ID number to c++17 nightly run yaml file
Task-number: QTQAINFRA-5404
Change-Id: If7b0b6cb62fcdea605287e97cd174e18c35c92e2
Reviewed-by: Ville-Pekka Karhu <ville-pekka.karhu@qt.io>
2023-02-15 07:27:56 +00:00
Heikki Halmet
8cee069392 Remove nightly run for Ubuntu 22.04
Ubuntu 22.04 landed to dev and 6.5 branches

Change-Id: I673f9eb0a40101d3323fdd5b9b9be333b3756e2c
Reviewed-by: Ville-Pekka Karhu <ville-pekka.karhu@qt.io>
2023-02-15 07:27:55 +00:00
Samuli Piippo
07c1206f7c Add platform configs for tqtc-meta-qt6-prereleases repo
Using same configs as other meta layers.

Change-Id: Id07c0836896581581085e225e19d7cf2a620e607
Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
2023-02-13 14:30:32 +02:00
Samuli Piippo
16af6ab94a Add lz4 for yocto builds
Pick-to: 6.5
Change-Id: I2c612805c32b66ffb18d477b2cf7f098fcd5b05b
Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
2023-02-13 14:30:21 +02:00
Heikki Halmet
3103815c33 Provisioning: Install OpenSSL 3 for Red Hat 8.4
Task-number: QTQAINFRA-4889
Change-Id: Iae783e66a3f4b1421993c5db746bd44a1ef81dd4
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
(cherry picked from commit 6e655d52e3)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2023-02-13 11:24:02 +00:00
Samuli Piippo
ccc414c844 Add /usr/bin/python to Ubuntu 22.04
Needed in yocto builds:
 /usr/bin/env: ‘python’: No such file or directory

Pick-to: 6.5
Change-Id: I39cd0c507ba0bd8dd349ffdfffdb53d78a048955
Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
2023-02-13 09:38:42 +02:00
Samuel Mira
b9c2512748 Enable ffmpeg for Android
After ffmpeg was removed on Android targets following QTBUG-110172,
this patch enables it after fixing the failing test.

Task-number: QTBUG-110453
Pick-to: 6.4 6.5
Change-Id: I5598a9b72d06af6664455e933129a08192afac15
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
2023-02-12 11:57:33 +00:00
Heikki Halmet
64b24b0d85 Replace Ubuntu 20.04 with Ubuntu 22.04
Libclang version is built with Ubuntu 22.04 on it, others still
keep old one which is built with Ubuntu 20.04.

Pick-to: 6.5
Task-number: QTQAINFRA-4926
Change-Id: I47bb49c1efecab6863ae52d3acf7eb47bdc47c35
Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
2023-02-11 07:13:02 +00:00
Konrad Kujawa
5a1ed71917 Set OPENSSL_ROOT_DIR for gRPC unix provisioning script
Pick-to: 6.5
Change-Id: I44fb0f94f183ddc10399c331e8e1a38c533dcf0d
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
2023-02-10 06:21:57 +01:00
Heikki Halmet
739cc29b77 Provisioning: Update Docker
This change will upgrade docker-compose version to v2.15.1
Also 'containerd', 'docker-ce' and 'docker-ce-cli' versions will be
upgraded to support newer Ubuntu version (20.04)

Pick-to: 6.5 6.4 6.2 5.15
Task-number: QTQAINFRA-5396
Change-Id: I282a1cbc5870db765409985983d29f57936d1798
Reviewed-by: Simo Fält <simo.falt@qt.io>
Reviewed-by: Dimitrios Apostolou <jimis@qt.io>
2023-02-10 05:21:56 +00:00
Fabian Kosmale
d7795c98ef Enable C++20 standard for Windows developer builds
Gives more CI coverage against build failures.

Task-number: QTQAINFRA-4117
Task-number: QTQAINFRA-4242
Pick-to: 6.5
Change-Id: I64e476cbbb74bde861fa85c677bcdc7ca91dac2d
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
2023-02-09 12:30:33 +00:00
Qt Submodule Update Bot
911436728c Update submodules on 'dev in qt/qt5'
Change-Id: Ieca744bac1630dd698aa30d29d6d847cb83b7134
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-02-08 22:05:20 +00:00
Simo Fält
5b22f8ec2e Provisioning: Update Python3 from 3.7 to 3.8
Pick-to: 6.4 6.5
Change-Id: I0884e87fbc56e4e1060406b2fc214b33c40c475c
Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
2023-01-31 08:15:16 +00:00
Heikki Halmet
dbac25e422 Add C++17 nightly run
We need to verify build with C++17. Let's use Ubuntu 20.04 for this.
It should be enough to do this in nightly run

Change-Id: Id355e4978720210f69e80e0fc3c65bafe03c9a48
Reviewed-by: Ville Voutilainen <ville.voutilainen@qt.io>
Reviewed-by: Toni Saario <toni.saario@qt.io>
2023-01-30 13:38:23 +00:00
Heikki Halmet
3831a11120 Add additional target for Red Hat 9.0 x86_64
We need to keep Red Hat 8.4 or 8.6 for packaging target and for
Android targets at the moment. If we switch to use RHEL 9
it will cause problems with GLIBC with older distros.

Let's add additional target for Red Hat 9 without packaging flag
to catch the issues

Pick-to: 6.5
Task-number: QTQAINFRA-5111
Change-Id: I3056a820cfdf61fc307cbd07f561afe31ad689f7
Reviewed-by: Ville Voutilainen <ville.voutilainen@qt.io>
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2023-01-27 13:00:04 +00:00
Alexandru Croitor
89b1d7f86c CMake: Add support for a git qt-foreach subcommand for worktrees
Developers that use a top-level qt5.git can use git submodule foreach
to run commands for each submodule. That is not available to
developers that maintain their own non-submodule based top-level
checkout using git worktrees.

Extend the QtSynchronizeRepo.cmake script that allows to sync
submodules / worktrees to also allow running foreach commands.

The CMake invocation to run a foreach would look like

  cmake -DQT_FOREACH=TRUE "-DARGS=git pull -r" -P
    cmake/QtSynchronizeRepo.cmake

But it's nicer to create a git-qt-foreach script in
/usr/local/bin/git-qt-foreach with the following contents

 cmake -DQT_FOREACH=TRUE "-DARGS=$*" -P cmake/QtSynchronizeRepo.cmake

Make sure to chmod a+x it and invoke like

git qt-foreach git pull -r

Change-Id: I0ccd67facbfe702c6a872165cdfd9f9e6eae9043
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2023-01-27 10:44:08 +01:00