Commit Graph

902 Commits

Author SHA1 Message Date
Samuli Piippo
cae750cf19 qtapplicationmanager: enable bubblewrap only with wayland
Bubblewrap is used within the multiprocess support and can be enabled
only with wayland.

Change-Id: Ied6e57db9e7ed0d525da535c5e57ed519ce4659f
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2025-07-09 09:24:03 +00:00
Samuli Piippo
16a1a08c07 qtbase: remove egl dependency from kms packageconfig
The kms feature can be used without egl.

Pick-to: 6.10 6.9 6.8
Change-Id: I99a50f821825d69fee5afb4982b78267809ddd7b
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2025-07-09 04:32:17 +00:00
Samuli Piippo
cfbc4ae0c0 qtapplicationmanager: enable bubblewrap container
Enable use of bubblewrap by default.

Change-Id: Id1b0a33f65da3bbdcf57dccb7a1feccc6de19bcd
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2025-07-07 15:53:20 +00:00
Samuli Piippo
25a38f8334 coin: disable bubblewrap for static build
qtapplicationmanager's bubblewrap feature cannot be enabled with static build.

Change-Id: I42c8d5c18c753a9801d8edbd3ea53354c302134c
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2025-07-07 15:53:10 +00:00
Andreas Schirm
c616e9de62 qtbase: add option to ignore at-spi2-core dependency
Introduce a PACKAGECONFIG option in qtbase to allow disabling the
at-spi2-core dependency. By default, the at-spi2-core dependency
remains enabled.

Pick-to: 6.10 6.9 6.8
Change-Id: Id2f0da1e3dfc049bf2e3d37bb1c096c41c4d4088
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2025-07-02 08:17:02 +00:00
Samuli Piippo
a082ac67fe qtbase: include json scheme in the dev package
Schema for the modules/*.json files.

Change-Id: Id847d17839233291d17399758c26c164588fee4f
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2025-07-01 04:43:38 +00:00
Qt Submodule Update Bot
25060d8cf9 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: Ib4ae7da6e33c3a88df2375f9c1b96bc4fb5ec6c6
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-07-01 04:43:36 +00:00
Samuli Piippo
16822fabb1 qtlottie: update patch
Update patch to apply to latest revision.

Change-Id: I28b07cb31b9b15f8379065beaec924d72efb1f52
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2025-07-01 04:43:35 +00:00
Samuli Piippo
76078809ef qtapplicationmanager: add PACKAGECONFIG for bubblewrap
The bubblewrap container uses the bubblewrap utility to create
a new kernel namespace and runs the requested binary in this
sandbox isolated from the rest of the system.

Pick-to: 6.10 6.9 6.8
Fixes: QTBUG-13696
Change-Id: Ide2e631f797e2e8162375b4bbc60d81600243be2
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2025-06-27 10:32:55 +00:00
Samuli Piippo
a4a8751d3b qtlottie: fix example build
Add temporary fix for building examples.

Pick-to: 6.10
Change-Id: Ib205f2793894322e957f806531086b6730a63569
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2025-06-27 10:32:22 +00:00
Samuli Piippo
b5de66d6c3 qtlottie: add support for lottietoqml tool
lottietoqml tool converts from Lottie files to QML files using the
VectorImage generator.

Pick-to: 6.10
Change-Id: I4ca699372300dcfef771b75e7f4c30fdfad182dd
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2025-06-27 10:32:15 +00:00
Samuli Piippo
064646f691 qtwebchannel: skip buildpath QA for examples
Example contains path to builddir.

Pick-to: 6.9
Change-Id: I8e5158c1ac214485be9017c8c83636f7003d6239
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
(cherry picked from commit 2ef3f67de3)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-06-27 10:31:53 +00:00
Samuli Piippo
dc82eda04e Revert "qtbase: Add pending patch for waylandscanner"
This reverts commit 3ff0e0a717.
Patch was merged to qtbase.

Change-Id: I2af319d8268be07b5ffa082618b5df70ac46781f
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
(cherry picked from commit 2eabd2719a)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-06-27 10:31:33 +00:00
Samuli Piippo
fa57f17b39 Bump version to 6.11.0
Change-Id: I5f1228e4aacd98421be891ed20582e0adbaaae3b
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2025-06-27 10:31:14 +00:00
Qt Submodule Update Bot
42ff58c964 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I9b9d884fdf25026ad789d068028885f4857e3cd1
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-06-27 10:31:05 +00:00
Samuli Piippo
8553e4019a Update recipes to match S/UNPACKDIR changes in oe-core/whinlatter
In whinlatter, git sources are placed by default to UNPACKDIR/BP and
default value for S now works for git projects. Remove settings of S
and use BB_GIT_DEFAULT_DESTSUFFIX in recipes with multiple git repos.

To support previous Yocto versions, set default value for
BB_GIT_DEFAULT_DESTSUFFIX that matches the default S and use it for
all git checkouts.

Pick-to: 6.10 6.9 6.8
Change-Id: I49d7ab7e2d34695618a48bf5f649341a8de2cbda
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2025-06-27 10:30:48 +00:00
Samuli Piippo
726e878e4a README: add support details for Qt 6.10
Change-Id: Ie19dc9dc26a3f20154ba755557231e0575be2228
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2025-06-12 12:11:40 +00:00
Samuli Piippo
85d697f1c0 qtvncserver: use libtomcrypt by default
libtomcrypt enables password protection using DEC Authentication.

Change-Id: If1b37b1855950ab5cd6f49a8a6375578f0232304
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2025-06-12 12:11:35 +00:00
Samuli Piippo
73c56ede70 qtspeech: enable flite as speech engine
Use flite as the default speech engine for Qt Speech.

Change-Id: I7f130bd29012b1645ae941013ec020b9d9cabb09
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2025-06-12 12:11:28 +00:00
Samuli Piippo
727ab37d82 qtimageformats: enable all formats
Enable all available image formats by default.

Change-Id: I8bcecb77d35b26c8a74202c7bd3be34d9fc93b21
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2025-06-12 12:11:21 +00:00
Samuli Piippo
43f117b36f qtgrpc: remove kirkstone workaround
No longer needed.

Change-Id: Ibdec17020db76930601ca736d9b50d453b435370
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2025-06-12 12:11:13 +00:00
Samuli Piippo
2726f553e6 coin: drop kirkstone builds
No support for kirkstone builds.

Change-Id: I73c150cfad9e5cda011d39ed9496a1c40367da2c
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2025-06-12 12:11:07 +00:00
Samuli Piippo
0b2beb3333 layers: remove unneeded license mapping
This was needed only in kirkstone.

Change-Id: Ic6dd40c1253ed1f6a1be5d4ca6ae9926f3b83414
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2025-06-12 12:10:59 +00:00
Samuli Piippo
89baa7eaa8 layers: update compatible Yocto releases
Add whinlatter to compatible layes and remove old Yocto release
that don't have recent enough CMake to work with Qt. Oldest
supported release for Qt 6.11 will now be Yocto 5.0 Scarthgap.

Change-Id: Ie40fdebd1c80ce913b0e5acbc5d1d1f815366f1e
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2025-06-12 12:10:52 +00:00
Mikko Gronoff
01bd041018 qtbase: Add pending patch for waylandscanner
Add pending upstream submitted patch to fix CI build of latest
submodule update & adaptation of wayland client to qtbase.

Change-Id: I36e7f1068ebae91b3df6f05e6be948b1b772137f
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2025-06-02 09:47:49 +03:00
Samuli Piippo
313ce6e26f Adapt to QtWayland client move to QtBase
QtWayland client and tools were moved to qtbase. Add new PACKAGECONFIG
for qtwaylandscanner and enable it on native(sdk) builds. Remove the
now obsolete native(sdk) qtwayland builds and dependencies to it.

Change-Id: I2dc351d5b81d586bb768a0b09953eaa213fd556c
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2025-06-02 06:47:34 +00:00
Samuli Piippo
8fbde08307 qtgrpc: remove unneeded patch
Original issue has been fixed in upstream.

Change-Id: I22c4daf0f62d1c162ace01976adf70b03494e786
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2025-06-02 06:47:26 +00:00
Samuli Piippo
35f53aa1a6 ptest: use the prefix path
QT_ADDITIONAL_PACKAGES_PREFIX_PATH can use the prefix path instead of
the cmake path when configuring the path to the installed module.
Change it so that qmltestrunner can be found correctly after
qtbase change Icfe972a7ab1d0c99518383eab1c885e490cdb4d6.

Change-Id: I777ae8f05d8b666ea18f67db8ed7f47db9218799
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2025-06-02 06:47:19 +00:00
Qt Submodule Update Bot
261403fd46 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I00f6f20aecec3a7bdf9d887efe7e6e36ff55c8d4
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-06-02 06:47:03 +00:00
Samuli Piippo
4b6d9db0f1 qtapplicationmanager: add dependency to qthttpserver
QtHttpServer is used in appman-package-server which can be used
to simulate an app-store or update-server like backend.

Pick-to: 6.9 6.8
Change-Id: Ie92cd746fa5de34c634012df0e8c276129404da8
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2025-05-21 04:36:02 +00:00
Samuli Piippo
4c68a3c16e qtdoc: add qttools as dependency
Examples are now using QtLinguist from qttools.

Change-Id: I4d0ac4762ead6f5ed5b934c682f22a37d3900b23
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2025-05-21 04:35:50 +00:00
Samuli Piippo
ec3ac717cf SECURITY.md: add file
Add details about Qt Project security policy. The SECURITY.md file
is now required by the yocto-check-layer script.

Pick-to: 6.9 6.8
Change-Id: Icbcd63bb15c0d106b1bde4c2b9c43aebe1031797
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Reviewed-by: Inkamari Harjula <inkamari.harjula@qt.io>
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2025-05-21 07:35:33 +03:00
Samuli Piippo
5af1d30b38 qttools: adapt to clang from oe-core
Clang recipes have been moved from meta-clang layer to oe-core in
whinlatter. Adapt qttools to use clang by default also without
meta-clang layer, but with the clang recipes from oe-core.

Pick-to: 6.9 6.8
Change-Id: I031ac3945100cf74d922d71690296c2ddc2cdc58
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2025-05-06 21:19:03 +00:00
Qt Submodule Update Bot
f29c54d40b Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I32ec3c83a5059ff16167162b5dbf49a9088a4e25
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-05-03 11:48:52 +00:00
Qt Submodule Update Bot
c041eb817e Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I4b23d867d083960d03797f214b901cb3a1106334
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-05-01 17:26:59 +00:00
Qt Submodule Update Bot
20ced163c4 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I30202528f89981cc3073dca71a3c0a1356e797b7
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-04-30 10:05:43 +00:00
Mikko Gronoff
34f8d41442 qtwebengine: refresh patch
Patched file was relocated from cmake/Functions.cmake
to cmake/QtToolchainHelpers.cmake

Change-Id: I45759faf4cc4dbb174f4f4ff2592406610dddbc4
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
(cherry picked from commit 78855ecc61)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-04-30 10:05:41 +00:00
Mikko Gronoff
79281e5cbb qtsvg, qt5compat: update licenses
Update LIC_FILES_CHKSUM after SBOM related license changes in the modules.

Change-Id: I31bb429cc795326255e470ae5fd2c3eb081f523e
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2025-04-30 10:05:40 +00:00
Mikko Gronoff
0092b5706a qt3d: update license
Change-Id: Ie755bb7709c8b2702da48205b843cbde098ed2e5
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2025-04-30 12:05:39 +02:00
Mikko Gronoff
12accc424d qmlcompilerplus: update license
Change-Id: I08e7bf9e9d85e767c83af27d63cce2ddb78a7f6e
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2025-04-30 12:05:38 +02:00
Martin Jansa
c36b084f58 qtwayland: add whitespace around assignments
With:
https://lists.openembedded.org/g/bitbake-devel/message/17508
there are WARNINGs like:
WARNING: meta-qt6/recipes-qt/qt6/qtwayland_git.bb: meta-qt6/recipes-qt/qt6/qtwayland_git.bb:24 has a lack of whitespace around the assignment: 'SRC_URI +="    file://0001-Allow-qtwaylandscanner-to-be-built-without-dependenc.patch "'

Pick-to: 6.9 6.8
Change-Id: I9dfca3dee4774d4d3825d78b4c07e741bde257b2
Reviewed-by: Martin Jansa <Martin.Jansa@gmail.com>
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2025-04-22 10:24:42 +02:00
Samuli Piippo
976ae87638 README: update support table
Add Yocto 5.3 Whinlatter, Qt 6.8 enters LTS phase and
Qt 6.7 is now EOL.

Pick-to: 6.9 6.8
Change-Id: Ia4e270be1a9440508cb39ef618e8a5b430f6edf9
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2025-04-07 11:44:37 +00:00
Samuli Piippo
aece381085 coin: add CI build for walnascar
Add separate CI build for Yocto 5.2 Walnascar release.

Pick-to: 6.9 6.8
Change-Id: Ibf04ed1db18516c2965153b17b07b3fad922eb79
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2025-04-07 11:44:33 +00:00
Khem Raj
0a89321fac qtwebengine: Add missing deps for x11/ozone
Pick-to: 6.9
Change-Id: Ic1ecab49bdc497c4e9dc405948590f8eed97cbd3
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2025-04-01 22:10:36 -07:00
Khem Raj
3e9d7c06da gn: Compute is_clang correctly
is_clang is hardcoded to 'false' which works great when using gcc
compiler, however it does not work when using clang compiler with
yocto from meta-clang, since toolchain file encodes is_clang = false
but then uses clang for cc/cxx lot of GN checks in chromium go wrong
due to is_clang assuming wrong value and compilation fails

e.g.

| CMake Error at /home/khem/actions-runner-yoe/_work/yoe-distro/yoe-distro/build/tmp/work/cortexa57-yoe-linux/qtwebengine/6.9.0/git/cmake/QtGnGen.cmake:95 (message):
|
|
|   -- GN FAILED
|
|   ERROR at
|   //base/allocator/partition_allocator/src/partition_alloc/BUILD.gn:499:7
|   (//build/toolchain/yocto:yocto_native): Assertion failed.
|
|         assert(stack_scan_supported)
|         ^-----
|
|   See //base/allocator/partition_allocator/BUILD.gn:7:19: which caused the
|   file to be included.
|
|     public_deps = [ "src/partition_alloc:raw_ptr" ]
|                     ^----------------------------
|

Therefore, compute this flag based upon toolchains used to compile QT
in yocto environment.

Pick-to: 6.9
Change-Id: I42d3fc77d7241d842e3fbbc991ee5cdcfc39f46f
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2025-04-01 22:10:28 -07:00
Samuli Piippo
8f6cb41085 srcrev_update: update to support bitbake in walnascar
Bitbake drop multiple branch/revision support for single git urls
in walnascar release. Add support to srcrev_update bbclass to
work on both versions of scm.

Pick-to: 6.9 6.8
Change-Id: Ic72a508aa1e52a25a6b392930479421743cbbdf5
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2025-04-02 05:10:18 +00:00
Qt Submodule Update Bot
ce8dfdae68 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: Ifb619df4ff4c69337e75ff7cd312334e78dc0a6c
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-03-07 06:53:02 +00:00
Samuli Piippo
a4be2fd656 Enable at-spi bridge for wayland builds
Add dependency to at-spi2-core when building with wayland support,
it's needed for accessibility.

Pick-to: 6.9 6.8
Change-Id: I8e16dabd3cc7a0056667e93e6554d32276c35680
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2025-02-25 14:41:15 +00:00
Samuli Piippo
a97248f16d qtbase: update patch
Update the patch to apply after upstream changes and apply the
patch only for native builds to avoid possible runtime overheads
for feature needed only during bitbake builds.

Pick-to: 6.8
Change-Id: Ib72f090dee1ea972a2c883c4c5bde6cb403b479c
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
(cherry picked from commit 27ef905b04)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-02-25 05:08:40 +00:00
Mikko Gronoff
aa61351d9a qtvirtualkeyboard: update license checksum
Pick-to: 6.9 6.8
Change-Id: I9efe7079a6b6e7dbd965181006a9c2645cf505c1
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2025-02-25 05:08:10 +00:00