Commit Graph

762 Commits

Author SHA1 Message Date
Khem Raj
79fd43b3e2 nativesdk-packagegroup-qt6-toolchain-host-addons: Add wayland dependent packages conditionally
This ensures that these packages are added only when wayland is
enabled in DISTRO_FEATURES, since now these packages do check for
this distro feature themselves, this fixes the SDK builds for eglfs
distros

Change-Id: If4f231ee8999b6a7499d63d4b0bd104ab1ff510d
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
(cherry picked from commit 96af7a74c9)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-05-14 11:37:03 +00:00
Qt Submodule Update Bot
9c396cfd8d Update submodule refs on '6.7' in yocto/meta-qt6
Change-Id: Ib50a83179a6cc931e55647314e24e8240257c5d0
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-05-07 20:24:51 +00:00
Samuli Piippo
cb996fba44 Add vendor to CVE_PRODUCT
Add vendor information to the CVE_PRODUCT and use default assignment,
so that qt6-git.inc can be included in other non-qt-module recipes.

Task-number: QTBUG-125018
Change-Id: If4aa9aede3c57886eb232f115fbf1ceaeba3cf73
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit ca2460be0d)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-05-07 15:53:22 +00:00
Qt Submodule Update Bot
7f5151605f Update submodule refs on '6.7' in yocto/meta-qt6
Change-Id: Idbd10b5219e06c7620b38ffee76084c819c9b208
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-05-06 16:09:57 +00:00
Qt Submodule Update Bot
9c32fcec55 Update submodule refs on '6.7' in yocto/meta-qt6
Change-Id: I09185b302c89f7247d1d0e0883a93eebe46daf77
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-05-03 17:16:26 +00:00
Qt Submodule Update Bot
5fe182c410 Update submodule refs on '6.7' in yocto/meta-qt6
Change-Id: I9c85bea2c14202417f4443a6f992a8a1e1171ce8
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-05-02 14:56:05 +00:00
Qt Submodule Update Bot
722322f857 Update submodule refs on '6.7' in yocto/meta-qt6
Change-Id: I049422fab57d1edceec922f76a4e82306efc4d1d
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-05-01 12:40:24 +00:00
Qt Submodule Update Bot
430aa612be Update submodule refs on '6.7' in yocto/meta-qt6
Change-Id: Ia788cd3144b544b6268819f5bf2f07e54610dfc4
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-04-30 12:41:43 +00:00
Qt Submodule Update Bot
08174090ae Update submodule refs on '6.7' in yocto/meta-qt6
Change-Id: I59fce46fddf77337f30e5aa94bb58f26653606f4
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-04-29 18:07:13 +00:00
Qt Submodule Update Bot
43473a9ba4 Update submodule refs on '6.7' in yocto/meta-qt6
Change-Id: Ib0ec938296e3a37eca8bc424ee24b0d4905f09dd
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-04-26 14:19:45 +00:00
Mikko Gronoff
2bbeac3bd5 Bump version to 6.7.2
Change-Id: I8f8be27224d13907091cc1c6d4fb27bb422a5258
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2024-04-26 09:05:52 +03:00
Mikko Gronoff
9f20478e82 qtwayland: fix patch fuzz
Change-Id: I37700a20205d9a5596d1270ec98d404f6a655f3e
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
(cherry picked from commit 89bf14b9c7)
2024-04-23 06:21:33 +00:00
Qt Submodule Update Bot
a79e18706a Update submodule refs on '6.7' in yocto/meta-qt6
Change-Id: Ife4f1456bd0c3ed5c805375f58d8ca6606d04124
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-04-23 06:21:24 +00:00
Samuli Piippo
cdb8b4f823 qtwayland: make wayland DISTRO_FEATURES a requirement
QtWayland requires that qtbase has been built with QT_FEATURE_wayland
enabled. By default, this is done only if 'wayland' is in the
DISTRO_FEATURES. Add check that allows qtwayland to be built only
if wayland is in the DISTRO_FEATURES.

Fixes: QTBUG-123489
Change-Id: I4e6d2e093e0f38f7fa150ad25303c2f20f487981
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 110dbeceeb)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-04-17 14:09:59 +00:00
Samuli Piippo
d9d04cbab3 readme: update Yocto support table
Add Yocto styhead to support table.

Change-Id: Ice7f9a188ac3bcd26ba7ab11b35d974a282a000d
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 30ede4cdd3)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-04-15 19:18:43 +00:00
Samuli Piippo
51e8b9ce2b coin: switch one build to scarthgap
Start testing against Yocto scarthgap release.

Change-Id: I70de9b7a3fce7c3c062b381533af8d86a70660f7
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit de4eb1843d)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-04-12 12:55:30 +00:00
Samuli Piippo
711d51c275 coin: don't use nanbield for mingw builds
Nanbield still has problems with mingw builds and fixes might
not get in before it is EOL.

Change-Id: I56ee0c52269e2887a60c73049cb0d9deac11247c
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
(cherry picked from commit 7e79a5e31a)
2024-04-12 15:55:24 +03:00
Samuli Piippo
075716d6fd pyside6: workaround big.LITTLE architectures
Compiler flags are passed to shiboken which uses those with clang.
GCC supports big.LITTLE architecture TUNEs (cortex-a72.cortex-a53)
that clang does not. This causes some targets to fail with
    error: unsupported argument 'cortex-a72.cortex-a53+crc+crypto' to option '-mcpu='

Workaround this by replacing big.LITTLE mcpu args with LITTLE only.
Follows similar workaround done in meta-clang when clang toolchain is used.

Change-Id: I4042cbfb1d48b940539ec970058025ea0b2be937
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2024-04-12 12:55:17 +00:00
Mikko Gronoff
ea88fe2bc8 pyside6: update revision
Update to latest revision in 6.7 branch to fix build issue
with latest qtmultimedia content.

Change-Id: I3f69322b4b5ea45b7ebf075bbcc4a8a0ff1d3939
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2024-04-12 15:55:10 +03:00
Qt Submodule Update Bot
3b9821f3dd Update submodule refs on '6.7' in yocto/meta-qt6
Change-Id: Id5673f7d5cf0b61953ceba9124f8fc4c660bb9b7
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-04-12 12:55:04 +00:00
Qt Submodule Update Bot
953eeeaa32 Update submodule refs on '6.7' in yocto/meta-qt6
Change-Id: Icd44a869269d20a5296c35300a9d05b24a0b28ba
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-04-05 00:49:31 +00:00
Qt Submodule Update Bot
b42cca7079 Update submodule refs on '6.7' in yocto/meta-qt6
Change-Id: I98818774bd8704b4f4e879add67b019b7e03c81a
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-04-03 19:54:33 +00:00
Mikko Gronoff
2503dc2461 qtwayland: fix patch fuzz
Change-Id: I1f475af29ecdb3da5fa56b2549bc384ff040739d
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
(cherry picked from commit f7808792e9)
2024-04-02 19:05:02 +02:00
Qt Submodule Update Bot
43cef9b149 Update submodule refs on '6.7' in yocto/meta-qt6
Change-Id: I820a34760b8f9b3defcacb545a7431fe376eed6f
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-04-02 17:04:53 +00:00
Qt Submodule Update Bot
a7fd9d873f Update submodule refs on '6.7' in yocto/meta-qt6
Change-Id: I691fe86c8df2fa6c3b21c7400bab46d6b49c2ebc
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-03-22 15:23:22 +00:00
Ari Parkkila
056f9d41d2 qtdatavis3d: add feature_check for opengl
Co-authored-by: Sakib Sajal
Pick-to: 6.6 6.5
Fixes: QTBUG-114912
Change-Id: Idfea16557eb4f068b9cb67412bd1dba0df966a20
Reviewed-by: Jari Helaakoski <jari.helaakoski@qt.io>
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
(cherry picked from commit 600f22c4a1)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-03-21 18:30:04 +00:00
Samuli Piippo
e46fa54ac8 ptest: disable examples build
After qtbase change 62905163bf887c2c2c9ba7edcd64c96d237a6e95, we need
to disable examples for the ptest build.

Change-Id: Ib6787b6e0f1ab17d3fa93ec7c4f98d92053f1ff2
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
(cherry picked from commit e55637648a)
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2024-03-21 12:31:25 +00:00
Qt Submodule Update Bot
0baf83a679 Update submodule refs on '6.7' in yocto/meta-qt6
Change-Id: Id1935b054a28c78b92011418ac1fbb7b5eb32874
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-03-21 12:31:17 +00:00
Samuli Piippo
544be0857c qttools: update revision
Fix build with clang 18.

Change-Id: I5651432bcaaaf106e9a8cd353c5323fef2cafc3f
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2024-03-20 08:56:34 +00:00
Samuli Piippo
a0565088a0 coin: add pyside6 to CI build
Add CI test build for Qt for Python.

Change-Id: Iab434d0f908035674f3c1e635d94892ed2bac5da
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2024-03-20 08:56:24 +00:00
Samuli Piippo
f7c493937a pyside6: Qt for Python
Qt for Python offers the official Python bindings for Qt,
which enables you to use Python to write your Qt applications.
The project has two main components:
PySide6, so that you can use Qt6 APIs in your Python applications, and
Shiboken6, a binding generator tool, which can be used to expose C++
projects to Python, and a Python module with some utility functions.

Shiboken has dependency to libclang, the recipes can therefore be
used only with meta-clang layer included in the build.

Task-number: PYSIDE-1958
Change-Id: Ic4de8c37ecbfdb092a33869b472b55e5442720fc
Reviewed-by: Alex Bu <alex.bu@qt.io>
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
(cherry picked from commit b8d52a40be)
2024-03-20 08:56:14 +00:00
Mikko Gronoff
a599bf4010 Bump version to 6.7.1
Change-Id: I5fecc0d46d01d3909a541ff854e74a22ff33a017
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2024-03-12 09:04:48 +02:00
Samuli Piippo
79b82fe7b1 squish: don't move executables
Squish's startaut needs to be in the expected location (SQUISH_PREFIX)
or it doesn't work.

Pick-to: 6.7.0 6.6
Change-Id: I1cbb41fa4ad43cf309a6b04850021abfa47b628f
Reviewed-by: Timo Lahti <timo.lahti@qt.io>
2024-03-07 14:42:30 +00:00
Qt Submodule Update Bot
8fab1471f2 Update submodule refs on '6.7' in yocto/meta-qt6
Change-Id: Ieadc98e8bc6d6a2960490f50ed5d2f6deef54ad8
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-03-05 22:11:36 +00:00
Mikko Gronoff
64d0ebee63 qtbase: fix patch fuzz
Pick-to: dev 6.6 6.5
Change-Id: I286a9e70eb7e4a57f9398dc88dd61aaff90a9aea
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2024-03-06 00:11:35 +02:00
Samuli Piippo
8c46e471d9 qtbase: don't generate qmake wrapper
Do not generate qmake wrapper scripts in target builds. It does
not work as expected. If you need to have qmake for target,
use QT_FORCE_BUILD_TOOLS variable instead.

Fixes: QTBUG-122420
Change-Id: I711a53a553e7cbb5439a070f2629b66024e22d16
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit c174f9a5dd)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-03-05 21:20:05 +00:00
Samuli Piippo
9c1bca42d0 qtbase: add PACKAGECONFIG for wayland support
Qtbase now has configuration test for enabling wayland support.
It needs to be enabled for QtWayland to work. Add new PACKAGECONFIG
option to make sure it's enabled when DISTRO_FEATURES has wayland.

Task-number: QTBUG-117386
Change-Id: If5d88eb3de5422e19bf61919fceda37b05d705c1
Reviewed-by: Alex Bu <alex.bu@qt.io>
(cherry picked from commit fef1539e33)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-02-27 17:43:48 +00:00
Samuli Piippo
5aebd74ba6 squish: fix QA issue
QA Issue: File /opt/squish/etc/paths.ini in package squish contains reference to TMPDIR

Pick-to: 6.6
Change-Id: Ifae1c428950070689d33ef22a121b3322ece8ed6
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2024-02-27 13:32:28 +00:00
Samuli Piippo
7b7a113236 squish: add profile script
Squish uses SQUISH_PREFIX environment path to find its files.
Add profile script to set this correctly.

Pick-to: 6.6
Change-Id: Ie97788fa1e2feb28fa35bfb1222e794cfac1379b
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2024-02-27 13:32:25 +00:00
Qt Submodule Update Bot
24b8ce6586 Update submodule refs on '6.7' in yocto/meta-qt6
Change-Id: Icd9730bdabb7ba15424da4f5189f444eb57d8930
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-02-26 20:09:24 +00:00
Samuli Piippo
76ac80e2b8 squish: make wayland optional
Unless DISTRO_FEATURES has wayland enabled, don't add qtwayland
to dependencies.

Pick-to: 6.6
Change-Id: I1ac6b0b7154743c4ba11878c4fc3392ef4702816
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2024-02-26 14:23:00 +00:00
Qt Submodule Update Bot
ac5278680b Update submodule refs on '6.7' in yocto/meta-qt6
Change-Id: I71915a25a99fd4f09022095948ec676c5e1d82df
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-02-22 01:50:34 +00:00
Samuli Piippo
d3b5b82c04 Add support for building Squish
Add recipe that builds the embedded parts of Squish needed on the
device. Squish is available only with specific license and the source
packages need to be downloaded separately. The default uri here points
to Qt internal location not accessible from outside network.

Task-number: QTBUG-120658
Task-number: SQUISH-9656
Pick-to: 6.6
Change-Id: Ia5e0434023fa3f55c1e32ee1accd4dd0cabe1c15
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2024-02-21 08:15:12 +00:00
Qt Submodule Update Bot
31df2f0147 Update submodule refs on '6.7' in yocto/meta-qt6
Change-Id: Ia662a6808d945d86ec22eb21456fbfa954d1a040
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-02-19 16:22:01 +00:00
Qt Submodule Update Bot
8460b28e33 Update submodule refs on '6.7' in yocto/meta-qt6
Change-Id: Ia5accc5abc24d48b10cce8e3458f040d9d5f8d8d
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-02-16 11:17:17 +00:00
Samuli Piippo
0c80b6fb04 layer.conf: update LAYERSERIES_COMPAT for scarthgap
oe-core as switched to scarthgap

Pick-to: 6.6 6.5
Change-Id: Ica326b8be4a23a5b6a52667a98740720185a6f73
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 3c24d5dfd2)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-02-12 14:43:05 +00:00
Samuli Piippo
498e94c913 packagegroup: add Qt modules only on supported archs
QtQuick3dPhysics, QtPdf and QtWebengine have limited
architecture support.

Pick-to: 6.6 6.5
Change-Id: Icf1d7628de5365825c79030462f019b15d9ae9a0
Reviewed-by: Alex Bu <alex.bu@qt.io>
(cherry picked from commit a18047ef52)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-02-12 14:43:05 +00:00
Samuli Piippo
0929fe9236 qtbase: prefer system png
Update PACKAGECONFIG[png] to make sure we use the system libpng
as expected.

Fixes: QTBUG-121795
Pick-to: 6.6 6.5
Change-Id: I051a9a40a9a7bfd001b77c51db9eab2b19147efb
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
(cherry picked from commit b8a440f310)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-02-12 14:43:05 +00:00
Qt Submodule Update Bot
4f438ced73 Update submodule refs on '6.7' in yocto/meta-qt6
Change-Id: I03a24504451be775eca9a104c375ae946a383b28
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-02-12 07:26:43 +00:00
Qt Submodule Update Bot
6fcc13360d Update submodule refs on '6.7' in yocto/meta-qt6
Change-Id: I6a9a420dc68c6c9fca5a739add872c5711f13693
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-02-07 15:09:12 +00:00