Compare commits

...

102 Commits
dev ... v6.9.3

Author SHA1 Message Date
Qt Submodule Update Bot
be7fddeb12 Update submodule refs on '6.9.3' in yocto/meta-qt6
Change-Id: Ie7071ba1baaaa7bf6545d6d68892f373de340d57
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-09-26 12:06:57 +00:00
Qt Submodule Update Bot
66789eca6e Update submodule refs on '6.9.3' in yocto/meta-qt6
Change-Id: I29ade12323e32b4a2a77f77c3374357ac789fe03
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-09-26 06:34:38 +00:00
Qt Submodule Update Bot
b6136b2362 Update submodule refs on '6.9.3' in yocto/meta-qt6
Change-Id: I3aec889d9d6f2362efeb91071fe2632eaec76d71
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-09-25 19:04:32 +00:00
Qt Submodule Update Bot
c8c58e915d Update submodule refs on '6.9.3' in yocto/meta-qt6
Change-Id: If51c4f1ce4ddfb1d5ee66179a826261241deabb4
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-09-23 03:15:52 +00:00
Qt Submodule Update Bot
aaf9ca1c3b Update submodule refs on '6.9.3' in yocto/meta-qt6
Change-Id: I0ec24d4ab7dca7c7d6a86c9444ec90d055f66174
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-09-20 17:12:52 +00:00
Samuli Piippo
c7d71f4cec qttools: don't fail on unsupported clang
oe-core might have too recent version of clang which is not supported
by qttools. Don't force qttools to use clang, but let it determine if
the version is suitable.

Pick-to: 6.8
Change-Id: I8a141ec01f3556d33b3037ba27adc250b99855b5
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
(cherry picked from commit 4df44780d1)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit fb8737c59a)
2025-09-13 09:05:05 +00:00
Mikko Gronoff
ade4567171 Bump version to 6.9.3
Change-Id: Ic1215375f008781cb7cd0010b718ecf2910c85a2
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2025-09-09 09:53:14 +03:00
Qt Submodule Update Bot
2033d6b48e Update submodule refs on '6.9' in yocto/meta-qt6
Change-Id: I9d40e28efc1e821f199d85edfed0ef6b53e5a0be
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-08-22 13:40:04 +00:00
Qt Submodule Update Bot
8a3c9ea396 Update submodule refs on '6.9' in yocto/meta-qt6
Change-Id: I401e9ea4c550e7c52fac819046f9e1337412031c
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-08-21 03:53:08 +00:00
Samuli Piippo
47669bcbd0 conf: remove qtcreator image feature
This is left over from meta-qt5 and has never been supported in meta-qt6.

Pick-to: 6.8
Task-number: QTBUG-138741
Change-Id: I05aa1ef540ccd0665b386fd1a72238fefa0fd5e0
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
(cherry picked from commit 6ed2aff39a)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 2a3492170c)
2025-08-19 13:32:20 +00:00
Andreas Cord-Landwehr
717ed127c6 qtbase: remove obsolete 'sm' option from kde DISTRO_FEATURES
Fixes: QTBUG-138689
Pick-to: 6.8
Change-Id: I6f17220dfbe9b894a7080d3c66ffae06ab688042
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
(cherry picked from commit 6643b50720)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit ab45628fb8)
2025-08-19 11:45:14 +00:00
Samuli Piippo
d502861010 qtwebview: Match features_check with qtwebengine
qtwebview has dependency to qtwebengine and is subject to the same
opengl DISTRO_FEATURES requirement.

Task-number: QTBUG-138741
Pick-to: 6.8
Change-Id: I0671c0bf5d115d2596742db0348ec9e1b30dc96a
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
(cherry picked from commit 3080ebe00c)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit c965250045)
2025-08-19 11:45:14 +00:00
Samuli Piippo
20c98b0854 minizip: Update to match S/UNPACKDIR changes
Extract the source to expected location and append minizip's
subdir to S. This supports the S/UNPACKDIR changes done in
oe-core/whinlatter and keeps backwards compatibility with
older yocto versions.

Pick-to: 6.8
Change-Id: I10942cc8ca337b321bf80f06661ab83cb4b20c35
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
(cherry picked from commit 3767a12b99)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 07586f564e)
2025-08-19 11:45:14 +00:00
Samuli Piippo
70715f7d84 ptest: include possible test plugins and qml modules
Some of the Qt modules have separate test plugins and qml modules
that are used in the auto tests.

Pick-to: 6.8
Fixes: QTBUG-138066
Change-Id: I00c41396b59f1b380696bbab3489bd93b4a65cc5
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
(cherry picked from commit 8c8ec98428)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 1036144cce)
2025-08-19 11:45:14 +00:00
Qt Submodule Update Bot
9d7693a4e0 Update submodule refs on '6.9' in yocto/meta-qt6
Change-Id: Ie414ff0920e0f96d96eaeaa6eed90f3949ac561d
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-08-05 06:10:52 +00:00
Qt Submodule Update Bot
4aa21a077d Update submodule refs on '6.9' in yocto/meta-qt6
Change-Id: I2b843145ee7a4dba92e1fa8f2c5103addb3344bb
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-08-01 15:28:11 +00:00
Qt Submodule Update Bot
559e316dc5 Update submodule refs on '6.9' in yocto/meta-qt6
Change-Id: Ieb55049ce8eab1bbf80e094b60c40d839482e2f6
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-07-31 01:37:05 +00:00
Qt Submodule Update Bot
59d1c093a0 Update submodule refs on '6.9' in yocto/meta-qt6
Change-Id: I29a80a061a14478282bea54ceeb45a64e3c784e6
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-07-28 17:05:07 +00:00
Qt Submodule Update Bot
2b4e60e319 Update submodule refs on '6.9' in yocto/meta-qt6
Change-Id: I5aedda45081f27ab7aed9c1794545f4288032647
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-07-23 06:45:53 +00:00
Qt Submodule Update Bot
8a646af28f Update submodule refs on '6.9' in yocto/meta-qt6
Change-Id: Ib13c510429670be37f8d6b490e191da7f4ab46c5
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-07-15 06:53:12 +00:00
Mikko Gronoff
f2e5187f97 Revert "qtgrpc: fix reference to TMPDIR QA issues"
This reverts commit 6cf2e7f212.
Reason for revert: fix merged upstream.

Change-Id: Ia893f20be44a91eac7ab0d0d218dab413f28c5fd
Reviewed-by: Tarja Sundqvist <tarja.sundqvist@qt.io>
(cherry picked from commit 23e8ca4dc6)
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2025-07-11 08:06:37 +00:00
Samuli Piippo
1929796332 qtbase: remove egl dependency from kms packageconfig
The kms feature can be used without egl.

Pick-to: 6.8
Change-Id: I99a50f821825d69fee5afb4982b78267809ddd7b
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 16a1a08c07)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit d30912ed91)
2025-07-11 08:06:33 +00:00
Samuli Piippo
a21177f128 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.8
Fixes: QTBUG-13696
Change-Id: Ide2e631f797e2e8162375b4bbc60d81600243be2
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
(cherry picked from commit 76078809ef)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 40b0a47183)
2025-07-11 08:06:26 +00:00
Qt Submodule Update Bot
9b1b426c86 Update submodule refs on '6.9' in yocto/meta-qt6
Change-Id: I7d41e72b4a0dfaac19707f9c888382af936652e0
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-07-11 08:06:15 +00:00
Samuli Piippo
e0d0c2bc79 squish: Update to match S/UNPACKDIR changes in oe-core/whinlatter
Remove use of WORKDIR to remain compatible with whinlatter.
Extract the sources to default locations so the default value
for S works.

Change-Id: Ibd605a3251e49025578232a4e038bd3a0a99add5
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 80ec864b7a)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-07-10 14:34:23 +00:00
Samuli Piippo
a4848ea8d1 coin: optionally use meta-clang
With Yocto whinlatter, clang is now part of oe-core and we don't need
to use meta-clang anymore.

Change-Id: Ie13ff59d4a774124f987cfc578b9bc407542d648
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit ae9f09a7a6)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-07-10 14:34:22 +00:00
Andreas Schirm
210d738f19 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.8
Change-Id: Id2f0da1e3dfc049bf2e3d37bb1c096c41c4d4088
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
(cherry picked from commit c616e9de62)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit c7ab4a0b45)
2025-07-03 10:46:28 +00:00
Qt Submodule Update Bot
92d314f191 Update submodule refs on '6.9' in yocto/meta-qt6
Change-Id: Ib96e76c176c4105d9c20ec4826a94180b9cf1fcb
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-07-01 22:45:08 +00:00
Samuli Piippo
18bda8b8a5 layer: add whinlatter to layer series
For the next Yocto 5.3 release.

Pick-to: 6.8
Change-Id: I9b88615f69bba56656829b39b12b751677aad399
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 97fb6b019e)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-07-01 06:47:12 +00:00
Samuli Piippo
8231b9fd82 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.8
Change-Id: I49d7ab7e2d34695618a48bf5f649341a8de2cbda
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 8553e4019a)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 6dcfaaa359)
2025-07-01 06:46:55 +00:00
Samuli Piippo
5f09943063 qtwebchannel: skip buildpath QA for examples
Example contains path to builddir.

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>
(cherry picked from commit 064646f691)
2025-06-28 07:11:40 +00:00
Qt Submodule Update Bot
4a19ebdbe7 Update submodule refs on '6.9' in yocto/meta-qt6
Change-Id: Ic3f93d4f49a3673efe89178151de54aae25e5545
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-06-28 07:11:29 +00:00
Mikko Gronoff
a590352f1a Bump version to 6.9.2
Change-Id: Id9661a0a21be5692a9743fe9f50b23206afde099
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2025-06-10 09:37:50 +03:00
Qt Submodule Update Bot
82e938e62d Update submodule refs on '6.9' in yocto/meta-qt6
Change-Id: Idc738e72c1f1838772b892d47fd9c6a4920981be
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-05-28 00:07:19 +00:00
Qt Submodule Update Bot
47a2d0757b Update submodule refs on '6.9' in yocto/meta-qt6
Change-Id: Icd37c8a39180ce98b33aa4dbbda947504531b5f6
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-05-22 05:00:21 +00:00
Samuli Piippo
15e75b6032 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.8
Change-Id: Ie92cd746fa5de34c634012df0e8c276129404da8
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
(cherry picked from commit 4b6d9db0f1)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-05-21 07:27:48 +00:00
Samuli Piippo
62aa0e3dbe 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.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>
(cherry picked from commit ec3ac717cf)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-05-21 07:27:48 +00:00
Qt Submodule Update Bot
5e7e3bde6b Update submodule refs on '6.9' in yocto/meta-qt6
Change-Id: I896a0ef9dc482a99a68b3cf571831a8be3a6bde5
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-05-16 04:55:23 +00:00
Qt Submodule Update Bot
fce7cf8c3a Update submodule refs on '6.9' in yocto/meta-qt6
Change-Id: I50d352e37b6d96c126c6dc4fcfc33ec87da6baa7
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-05-08 06:10:34 +00:00
Samuli Piippo
3200100d62 squish: include Squish recipes for Qt 6.9.1
Bring all squish changes from 6.8 branch, updated to use
installer for Qt 6.9.

Change-Id: I5dec2890ca244176349581fc0ecd7b6d3f1de1b7
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2025-05-07 05:50:43 +00:00
Samuli Piippo
fb21821c4d pyside6: support clang from oe-core
Clang recipes have been moved from meta-clang layer to oe-core in
whinlatter. Add support for using pyside6 without meta-clang layer,
but with the clang recipes from oe-core.

Pick-to: 6.8
Change-Id: I62b74f34bbcbe37060117681034614168b43690d
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2025-05-07 05:50:32 +00:00
Samuli Piippo
44ef3480d3 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.8
Change-Id: I031ac3945100cf74d922d71690296c2ddc2cdc58
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
(cherry picked from commit 5af1d30b38)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-05-07 05:38:01 +00:00
Qt Submodule Update Bot
eb25c68e5a Update submodule refs on '6.9' in yocto/meta-qt6
Change-Id: I2bbc3073c5f9d9bd9f0f6c3823be4e49527669e5
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-05-03 06:23:05 +00:00
Samuli Piippo
a069f7e5b2 pyside6: include PySide6 recipes for Qt 6.9.1
Bring all pyside changes from 6.8 branch.

Change-Id: I1cd88142421b6b8ff493aad110c50b22bd921f66
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2025-05-02 09:06:45 +00:00
Qt Submodule Update Bot
c80c975e50 Update submodule refs on '6.9' in yocto/meta-qt6
Change-Id: I492a7dbe1208f0268b49b4a8bee3c3379b0f1daa
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-05-01 21:33:08 +00:00
Qt Submodule Update Bot
838af10af4 Update submodule refs on '6.9' in yocto/meta-qt6
Change-Id: Ic83e62c209514772fda538df12e8c9e50ffd9d78
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-04-30 05:26:42 +00:00
Samuli Piippo
f80a7f25cd 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.8
Change-Id: Ia4e270be1a9440508cb39ef618e8a5b430f6edf9
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 976ae87638)
2025-04-28 10:19:19 +03:00
Samuli Piippo
745d39e410 coin: add CI build for walnascar
Add separate CI build for Yocto 5.2 Walnascar release.

Pick-to: 6.8
Change-Id: Ibf04ed1db18516c2965153b17b07b3fad922eb79
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit aece381085)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-04-28 07:19:12 +00:00
Qt Submodule Update Bot
df83319530 Update submodule refs on '6.9' in yocto/meta-qt6
Change-Id: I97feba1d75ba4a65770180d5f13e60573843c1e2
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-04-25 00:01:05 +00:00
Martin Jansa
c686e0fe69 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.8
Change-Id: I9dfca3dee4774d4d3825d78b4c07e741bde257b2
Reviewed-by: Martin Jansa <Martin.Jansa@gmail.com>
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
(cherry picked from commit c36b084f58)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-04-23 01:15:13 +00:00
Qt Submodule Update Bot
a7a53c751c Update submodule refs on '6.9' in yocto/meta-qt6
Change-Id: I9405e67f2cda9eafe0e473b42098795e6c122013
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-04-22 17:48:08 +00:00
Mikko Gronoff
338aefa157 qt3d: update license
Change-Id: Ie755bb7709c8b2702da48205b843cbde098ed2e5
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2025-04-02 09:26:16 +00:00
Qt Submodule Update Bot
c77a8b7c0c Update submodule refs on '6.9' in yocto/meta-qt6
Change-Id: Ief84aa3f4b98684f20df43cc6e0917d71ab1e2fc
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-04-02 09:26:07 +00:00
Mikko Gronoff
58a3032829 Bump version to 6.9.1
Change-Id: If5d3a2dea9a3186952075017df348670168149d9
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2025-04-02 11:25:53 +02:00
Khem Raj
e7718f4d3a qtwebengine: Add missing deps for x11/ozone
Change-Id: Ic1ecab49bdc497c4e9dc405948590f8eed97cbd3
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
(cherry picked from commit 0a89321fac)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-04-02 09:12:41 +00:00
Khem Raj
8a60c0ccb1 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.

Change-Id: I42d3fc77d7241d842e3fbbc991ee5cdcfc39f46f
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
(cherry picked from commit 3e9d7c06da)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-04-02 09:12:41 +00:00
Samuli Piippo
76e166af28 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.8
Change-Id: Ic72a508aa1e52a25a6b392930479421743cbbdf5
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
(cherry picked from commit 8f6cb41085)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-04-02 09:12:41 +00:00
Mikko Gronoff
78855ecc61 qtwebengine: refresh patch
Patched file was relocated from cmake/Functions.cmake
to cmake/QtToolchainHelpers.cmake

Pick-to: dev
Change-Id: I45759faf4cc4dbb174f4f4ff2592406610dddbc4
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2025-03-14 11:13:06 +00:00
Mikko Gronoff
999307ccbd qtsvg, qt5compat: update licenses
Update LIC_FILES_CHKSUM after SBOM related license changes in the modules.

Pick-to: dev 6.9.0 6.8
Change-Id: I31bb429cc795326255e470ae5fd2c3eb081f523e
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2025-03-14 11:12:57 +00:00
Qt Submodule Update Bot
391b858c1c Update submodule refs on '6.9' in yocto/meta-qt6
Change-Id: I8ac1c0a7ed5d8b845351ec6d6c7abd7d901b0fe9
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-03-14 11:12:40 +00:00
Samuli Piippo
4982bb1819 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.8
Change-Id: I8e16dabd3cc7a0056667e93e6554d32276c35680
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
(cherry picked from commit a4be2fd656)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-02-25 21:58:50 +00:00
Samuli Piippo
27ef905b04 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: dev 6.8
Change-Id: Ib72f090dee1ea972a2c883c4c5bde6cb403b479c
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2025-02-24 13:03:05 +00:00
Qt Submodule Update Bot
7f58cf730a Update submodule refs on '6.9' in yocto/meta-qt6
Change-Id: I95dbe76ef822c0a01e8f1fd6cab750373f47796c
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-02-24 13:02:59 +00:00
Samuli Piippo
7030ade93a coin: don't use gold
oe-core/master has dropped support for ld-is-gold, don't use it
in CI test builds anymore.

Pick-to: 6.8
Change-Id: I9c21060b8c7ac8234104737357aa5901be79073c
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 5f983220c2)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-02-11 22:48:34 +00:00
Samuli Piippo
4801c53e39 coin: use internal mirror of git-repo
Cloning from github have been failing recently, use internal
mirror of google's git-repo instead.

Pick-to: 6.8 6.5
Change-Id: I3983812c59be601632c3e27b6aab00c0e09ce037
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 76cbb93c22)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-02-01 16:23:03 +00:00
Samuli Piippo
f1de466a1e Add qttools tools package
QtTools tool package has few misc runtime tools that may be
useful during development.

Pick-to: 6.8
Change-Id: I35f88c4f98d64d2aa761c19e39ec4a985f5bd1c5
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
(cherry picked from commit 7a740e66fe)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-02-01 16:22:59 +00:00
Samuli Piippo
698b9135e1 qtpdf: use opengl DISTRO_FEATURE for dependencies
QtPdf requires opengl DISTRO_FEATURE, but it can be built independently
from the webengine.

Pick-to: 6.8
Task-number: QTBUG-129718
Change-Id: I6707a34494babf298d964fa1092c7aa126031db3
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
(cherry picked from commit 8abb0e74a2)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-02-01 16:22:52 +00:00
Samuli Piippo
3edb1e2d8b qtwebengine: require opengl
Both QtWebengine and QtPdf require opengl to be built. Check
for the DISTRO_FEATURE.

Pick-to: 6.8
Change-Id: I3045271edecdd3090b31e3585ec8670c1305cf3a
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit b344e6cdd7)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-02-01 16:22:46 +00:00
Mikko Gronoff
27c8f14a32 qtwebengine: refresh patch
Change-Id: I85e242799b7f5b43959dedc1a0819ccd449ad033
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
(cherry picked from commit 030aa44825)
2025-01-28 14:05:32 +00:00
Qt Submodule Update Bot
38d7ed3d02 Update submodule refs on '6.9' in yocto/meta-qt6
Change-Id: I6d6572d9fadfecba67ff6bab5bc0185829d7b275
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-01-28 14:05:27 +00:00
Mikko Gronoff
62c0de79db qtvirtualkeyboard: update license checksum
Pick-to: 6.8
Change-Id: I9efe7079a6b6e7dbd965181006a9c2645cf505c1
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2025-01-24 13:17:40 +00:00
Mikko Gronoff
4c04d27695 qtwebengine: update chromium branch
chromium updated 126-based -> 130-based.

Change-Id: Ib1b18f26df48f1aeca1ae1778ccf3e51248c6cfa
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
(cherry picked from commit ec25f8aa12)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-01-24 13:17:34 +00:00
Mikko Gronoff
92c63a90bd webengine/chromium: refresh patch
Change-Id: Id334c1870f13e96de266da745a8882bdd731d978
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
(cherry picked from commit 9bd2c2ae4b)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-01-24 13:17:28 +00:00
Qt Submodule Update Bot
1e86542bf2 Update submodule refs on '6.9' in yocto/meta-qt6
Change-Id: I98e83757dbe7670ab63afba3b25aa0c58c9e9111
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-01-24 13:17:19 +00:00
Samuli Piippo
640a61b150 qtbase: use correct relative path for scripts
Scripts in bin and libexec dirs need to have different relative paths
patched.

Pick-to: 6.8 6.5
Change-Id: I76c030ca2cd446411ca0b77ecdb06849dc1e8121
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit e0590ac76e)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-01-23 12:01:44 +00:00
Samuli Piippo
12c9ed7322 qtgrpc: add optional dependency to qtdeclarative
QtGRPC has separate Quick module that needs qtdeclarative dependency.

Pick-to: 6.8
Fixes: QTBUG-132818
Change-Id: I639ad8a271e1fb51b0c5ecf5a2de467ee1583f81
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 8cbc0ed24f)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-01-17 12:03:24 +00:00
Samuli Piippo
d215f16cb2 qtopcua: add opcua tools to sdk
QtOpcua has host tools that need to be included in the SDK.
Add additional PACKAGECONFIG for open62541 which has openssl
dependency. Mingw32 does not support this in nativesdk builds,
but it's also not necessary for either native or nativesdk builds.

Pick-to: 6.8
Fixes: QTBUG-132822
Change-Id: Ib0c9f7634ac578882ca5585be430312736f61470
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit edce4936b4)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-01-17 12:03:24 +00:00
Samuli Piippo
7166be5225 qtwebengine: fix conflicting files with qtpdf
QtWebengine and QtPdf now generated SBOM files for both
modules. Need to remove wrong one to avoid conflicts.

Pick-to: dev 6.8
Task-number: QTBUG-128893
Change-Id: I9baa4460a63e72e077e1b337906eac0c2d44a9af
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2025-01-16 12:56:06 +00:00
Qt Submodule Update Bot
a72fb60f1a Update submodule refs on '6.9' in yocto/meta-qt6
Change-Id: I8ba0bb5d4a9f7f7f9d1297cc4444f007ed7d6626
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-01-16 12:55:58 +00:00
Samuli Piippo
93375bcb1c qtbase: remove upstreamed patch
Fix for the DRM device is now merged in qtbase.

Pick-to: dev
Change-Id: I9d53e01beb5b895ee1c8141683a9ef7208ac0f94
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2025-01-07 13:14:50 +00:00
Samuli Piippo
d0bf415e0d readme: add 6.9 to support table
Update the support table with Qt 6.9 details.

Change-Id: Icd4884b04ca003008998cf7704fa3feedff6fa25
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
(cherry picked from commit dc4375cd45)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-01-07 13:14:24 +00:00
Samuli Piippo
77e33156cd Install module JSON files to INSTALL_ARCHDATADIR/modules
The module description JSON files contain architecture-specific
information. Therefore they should reside below INSTALL_ARCHDATADIR
instead of INSTALL_DATADIR.

Pick-to: 6.8 6.5
Fixes: QTBUG-132428
Change-Id: Ib6f2e8939e27f136ac6cb04e74b9d688c8600b2b
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
(cherry picked from commit bae0db8d76)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-01-03 08:18:00 +00:00
Qt Submodule Update Bot
92aa33f28b Update submodule refs on '6.9' in yocto/meta-qt6
Change-Id: If07bd64183ffd6dac6e244f7dcfb427b62a02612
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-01-02 22:54:43 +00:00
Samuli Piippo
28deeb771f qtbase: update patch
Update patch to work with latest changed.

Pick-to: dev 6.8
Change-Id: I9834ec4d39ae657d4b89530ae454198db339f04e
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2025-01-02 09:12:07 +00:00
Qt Submodule Update Bot
f9fc175237 Update submodule refs on '6.9' in yocto/meta-qt6
Change-Id: I7040e746dea13d7794eca09704596b73d8ad7bfc
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-01-02 09:11:47 +00:00
Qt Submodule Update Bot
8d5d4ebf1f Update submodule refs on '6.9' in yocto/meta-qt6
Change-Id: Iadecedca4d7de088202e8619e4661fb7ff237b43
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-12-27 18:23:50 +00:00
Qt Submodule Update Bot
c15edd6fa2 Update submodule refs on '6.9' in yocto/meta-qt6
Change-Id: Iefd5076d4830a714cf01d3fce95a7ada686e2b25
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-12-26 14:25:18 +00:00
Qt Submodule Update Bot
a04fc3b62b Update submodule refs on '6.9' in yocto/meta-qt6
Change-Id: Iaa41eedd41ec9c0db4a96c613fa15e07905cc82c
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-12-25 15:08:41 +00:00
Qt Submodule Update Bot
6dea88f1ea Update submodule refs on '6.9' in yocto/meta-qt6
Change-Id: I352fbe7b6f0bea69a368f440601c7efaa18ef734
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-12-24 13:45:28 +00:00
Qt Submodule Update Bot
dd2243d150 Update submodule refs on '6.9' in yocto/meta-qt6
Change-Id: I96970e61857e812ce8f0a3d0f04bd0f0296fc007
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-12-23 21:17:17 +00:00
Qt Submodule Update Bot
68563eb84a Update submodule refs on '6.9' in yocto/meta-qt6
Change-Id: I1c4e28d3e76c77bf8817329ded08cb43487fb932
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-12-20 10:14:21 +00:00
Samuli Piippo
2f8732f679 Use correct QmlImportsPath config with qmake
Qml2ImportsPath is deprecated config and QmlImportsPath should
be used instead. This fixes qmake crash on aarch64 linux when
using GCC 14.

Pick-to: 6.8 6.5
Fixes: QTBUG-132288
Change-Id: I683ae7755b0b8ac496eeb8017c1c0d059b2fe011
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 9b6d9d6287)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-12-19 08:16:46 +00:00
Samuli Piippo
1673037a80 qtconnectivity: move declarative dependency to examples
QtConnectivity does not have dependency to declarative other than
in the examples. Move the dependencies to example PACKAGECONFIG
so the module can be built with minimal dependencies.

Pick-to: 6.8
Fixes: QTBUG-131341
Change-Id: Id43f4c295aa2283d322d85c115797d6eb70843c5
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
(cherry picked from commit 5fa2f694a3)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-12-18 23:03:13 +00:00
Samuli Piippo
5c1751235e qtbase: workaround for incorrect DRM device
EGLFS queries DRM device path to be used, but his can occasionally
be incorrect. Allow use of kms.conf (via QT_QPA_EGLFS_KMS_CONFIG)
to be used to override the device.

Task-number: QTBUG-131887
Change-Id: Ica0a572c02fafee9f2333a5d2eacd73d12864d8b
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 0e9320d12e)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-12-18 23:03:13 +00:00
Qt Submodule Update Bot
2dfd746cca Update submodule refs on '6.9' in yocto/meta-qt6
Change-Id: Iedebeb73e6dd993750b313d3e30f9f77ce28e51f
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-12-17 17:34:49 +00:00
Mikko Gronoff
4dbc2215b7 qttranslations: include SBOM files
Update recipe so that generated SBOM files are
also included (by default to -dev package for all
modules).

Fixes QA Issue:
 "qttranslations: Files/directories were installed but not shipped in any package:
  /usr/lib
  /usr/lib/sbom
  /usr/lib/sbom/qttranslations-6.8.2.spdx
 "

Pick-to: 6.8
Change-Id: I81585f1c4deb9a925bbab0b8a3182a1d87b00632
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
(cherry picked from commit 69ede9570f)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-12-17 05:00:58 +00:00
Samuli Piippo
75c0f2c791 qtbase: always build linuxfb platform plugin
The linuxfb platform plugin can be useful even when opengl is
available to test out software rendering capabilities of Qt.
Build it always by default.

Pick-to: 6.8
Change-Id: I74f052f01cada65b94b1cb9e9893e9c5071a045e
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
(cherry picked from commit 058ecf647d)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-12-12 09:12:30 +00:00
Qt Submodule Update Bot
d3f86584c2 Update submodule refs on '6.9' in yocto/meta-qt6
Change-Id: I8a95cd8419dbf4228fe3245326552ee510cdc671
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-12-11 23:08:23 +00:00
Mikko Gronoff
174043dd8a qt6-git.inc: switch module branch to 6.9
Fixes: QTBUG-132012
Change-Id: Ic1cd9366604a9d70b1e137839c2ca79ad9f75380
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2024-12-11 08:12:46 +00:00
Qt Submodule Update Bot
e407a92b74 Update submodule refs on '6.9' in yocto/meta-qt6
Change-Id: Idf2a78ef1b191634497cc4723854eb694be958dd
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-12-10 04:49:41 +00:00
Samuli Piippo
0b4a774077 Add option to export example sources
By default, the example sources are not exported with the binary,
as was the case in qt5 times. Add options to enable the export
using variable QT_INSTALL_EXAMPLES_SOURCES = "ON".

Pick-to: 6.8
Change-Id: Ieedb65034264086b84d4df541480cbb02ecb82f2
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
(cherry picked from commit 5f20803d1c)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-12-09 12:52:02 +00:00
Samuli Piippo
d0d61cd624 Remove unneeded example files path
All examples are now in correct paths.

Pick-to: 6.8
Change-Id: I37a57e0674877c321ddacaf69af0b615f383ec07
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit e1e8645a3b)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-12-09 12:52:02 +00:00
48 changed files with 668 additions and 211 deletions

View File

@ -20,21 +20,22 @@ Following table shows the Yocto releases which are used to test each
Qt version (x) and any additional Yocto releases that are stated in
the LAYERSERIES_COMPAT (c).
| Yocto \ Qt | dev | 6.8 | 6.7 | 6.6 | 6.5 | 6.4 | 6.3 | 6.2 |
|:---------- |:---:|:----:|:----:|:---:|:---:|:---:|:---:|:---:|
| walnascar | x | x | | | | | | |
| styhead | x | x | x | | | | | |
| scarthgap | x | x | x | c | x | | | |
| nanbield | c | c | x | c | c | | | |
| mickledore | c | c | c | c | c | c | | |
| langdale | c | c | c | c | c | c | | |
| kirkstone | x | x | x | c | x | c | c | c |
| honister | | | | c | c | c | c | c |
| hardknott | | | | c | c | c | c | c |
| gatesgarth | | | | c | c | c | c | c |
| dunfell | | | | c | x | c | c | c |
| | | | | | | | | |
| | dev |stable|stable| EOL | LTS | EOL | EOL | EOL |
| Yocto \ Qt | 6.9 | 6.8 | 6.7 | 6.6 | 6.5 | 6.4 | 6.3 | 6.2 |
|:---------- |:----:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|
| whinlatter | x | x | | | | | | |
| walnascar | x | x | | | | | | |
| styhead | x | x | c | | | | | |
| scarthgap | x | x | c | c | x | | | |
| nanbield | c | c | c | c | c | | | |
| mickledore | c | c | c | c | c | c | | |
| langdale | c | c | c | c | c | c | | |
| kirkstone | x | x | c | c | x | c | c | c |
| honister | | | | c | c | c | c | c |
| hardknott | | | | c | c | c | c | c |
| gatesgarth | | | | c | c | c | c | c |
| dunfell | | | | c | x | c | c | c |
| | | | | | | | | |
| |stable| LTS | EOL | EOL | LTS | EOL | EOL | EOL |
Detailed status of supported Qt versions can be found from
https://doc.qt.io/qt-6/supported-platforms.html#supported-qt-versions

26
SECURITY.md Normal file
View File

@ -0,0 +1,26 @@
Qt Project Security Policy
==========================
The Qt Project specifies its security policy in [QUIP 15](https://contribute.qt-project.org/quips/15). A summary of the security policy:
* Qt has a Core Security Team that enforces the security policy and addresses issues.
* Proactive measures to prevent security issues - code reviews, code analysis, fuzz testing, and so on.
* Reporting Security Issues: the Core Security Team monitors security issues for Qt modules and affected third-party components.
* Handling Security Issues: the maintainers, Core Security Team, Chief Maintainer, and the Qt Company share and handle security issues.
* Disclosure of confirmed security issues at Common Vulnerabilities and Exposures database and a public announcement to the Qt announce@qt-project.org mailing list.
Reporting Security Issues
-------------------------
To report security issues in Qt Products, send an email to Security Mail List at security@qt-project.org.
The Core Security Team monitors and moderates incoming emails on business days (excluding weekends).
After sending an email to the Security Mail List, there will be an acknowledgment of receipt within
two business days. If there is no response, then the reporter should contact the Chief Maintainer directly.
What Versions of Qt are Covered by this Policy?
-----------------------------------------------
While we are interested in reports against any Qt version that is still maintained, fixes are only guaranteed to be provided for:
* The latest released version.
* The preceding minor version.

View File

@ -27,7 +27,7 @@ create_qt6_sdk_files () {
echo 'Binaries = ${QT6_INSTALL_BINDIR}' >> $qtconf
echo 'LibraryExecutables = ${QT6_INSTALL_LIBEXECDIR}' >> $qtconf
echo 'Plugins = ${QT6_INSTALL_PLUGINSDIR}' >> $qtconf
echo 'Qml2Imports = ${QT6_INSTALL_QMLDIR}' >> $qtconf
echo 'QmlImports = ${QT6_INSTALL_QMLDIR}' >> $qtconf
echo 'Translations = ${QT6_INSTALL_TRANSLATIONSDIR}' >> $qtconf
echo 'Documentation = ${QT6_INSTALL_DOCDIR}' >> $qtconf
echo 'Settings = ${QT6_INSTALL_SYSCONFDIR}' >> $qtconf

View File

@ -9,9 +9,11 @@ EXTRA_OECMAKE += "\
-DCMAKE_MESSAGE_LOG_LEVEL=${QT_MESSAGE_LOG_LEVEL} \
"
QT_FORCE_BUILD_TOOLS ?= "OFF"
QT_INSTALL_EXAMPLES_SOURCES ?= "OFF"
EXTRA_OECMAKE:append:class-target = "\
-DQT_HOST_PATH:PATH=${RECIPE_SYSROOT_NATIVE}${prefix_native}/ \
-DQT_FORCE_BUILD_TOOLS=${QT_FORCE_BUILD_TOOLS} \
-DQT_INSTALL_EXAMPLES_SOURCES=${QT_INSTALL_EXAMPLES_SOURCES} \
-D__harfbuzz_broken_config_file=TRUE \
"
EXTRA_OECMAKE:append:class-nativesdk = "\

View File

@ -27,7 +27,7 @@ QT6_INSTALL_SYSCONFDIR ?= "${sysconfdir}/xdg"
QT6_INSTALL_EXAMPLESDIR ?= "${datadir}/examples"
# Tests [PREFIX/tests]
QT6_INSTALL_TESTSDIR ?= "${prefix}/tests"
# Module description files directory [DATADIR/modules]
QT6_INSTALL_DESCRIPTIONSDIR ?= "${datadir}/modules"
# Module description files directory [ARCHDATADIR/modules]
QT6_INSTALL_DESCRIPTIONSDIR ?= "${libdir}/modules"
# Mkspecs files [PREFIX/mkspecs]
QT6_INSTALL_MKSPECSDIR ?= "${libdir}/mkspecs"

View File

@ -92,7 +92,7 @@ Data = ${OE_QMAKE_PATH_DATA}
Binaries = ${OE_QMAKE_PATH_BINS}
LibraryExecutables = ${OE_QMAKE_PATH_LIBEXECS}
Plugins = ${OE_QMAKE_PATH_PLUGINS}
Qml2Imports = ${OE_QMAKE_PATH_QML}
QmlImports = ${OE_QMAKE_PATH_QML}
Translations = ${OE_QMAKE_PATH_TRANSLATIONS}
Documentation = ${OE_QMAKE_PATH_DOCS}
Settings = ${OE_QMAKE_PATH_SETTINGS}
@ -124,7 +124,7 @@ Data = ${OE_QMAKE_PATH_DATA}
Binaries = ${OE_QMAKE_PATH_BINS}
LibraryExecutables = ${OE_QMAKE_PATH_LIBEXECS}
Plugins = ${OE_QMAKE_PATH_PLUGINS}
Qml2Imports = ${OE_QMAKE_PATH_QML}
QmlImports = ${OE_QMAKE_PATH_QML}
Translations = ${OE_QMAKE_PATH_TRANSLATIONS}
Documentation = ${OE_QMAKE_PATH_DOCS}
Settings = ${OE_QMAKE_PATH_SETTINGS}
@ -162,7 +162,7 @@ EOF
# Binaries The location of installed Qt binaries (tools and applications).
# Plugins The location of installed Qt plugins.
# Imports The location of installed QML extensions to import (QML 1.x).
# Qml2Imports The location of installed QML extensions to import (QML 2.x).
# QmlImports The location of installed QML extensions to import (QML 2.x).
# ArchData The location of general architecture-dependent Qt data.
# Data The location of general architecture-independent Qt data.
# Translations The location of translation information for Qt strings.

View File

@ -20,18 +20,21 @@ python do_srcrev_update() {
d.setVar("__BBSRCREV_SEEN", "1")
for scm in scms:
ud = urldata[scm]
for name in ud.names:
rev = ud.method.latest_revision(ud, d, name)
srcrev = d.getVar("SRCREV_%s" % name)
if srcrev is None: srcrev = d.getVar("SRCREV")
if hasattr(ud, 'names'):
name = ud.names[0]
else:
name = ud.name
rev = ud.method.latest_revision(ud, d, name)
srcrev = d.getVar("SRCREV_%s" % name)
if srcrev is None: srcrev = d.getVar("SRCREV")
if srcrev == rev:
bb.plain("%s: %s is already latest" % (name, srcrev))
continue
if srcrev == rev:
bb.plain("%s: %s is already latest" % (name, srcrev))
continue
bb.plain("%s: %s -> %s" % (name, srcrev, rev))
cmd = "sed -E -i %s %s -e '/SRCREV(_%s)? /s/%s/%s/'" % (recipe, srcrev_file, name, srcrev, rev)
bb.process.run(cmd, log=None, shell=True, stderr=subprocess.PIPE, cwd=None)
bb.plain("%s: %s -> %s" % (name, srcrev, rev))
cmd = "sed -E -i %s %s -e '/SRCREV(_%s)? /s/%s/%s/'" % (recipe, srcrev_file, name, srcrev, rev)
bb.process.run(cmd, log=None, shell=True, stderr=subprocess.PIPE, cwd=None)
}
do_srcrev_update[nostamp] = "1"
addtask srcrev_update after do_fetch

View File

@ -17,7 +17,7 @@ machine_type:
#
# [target1] [target2] [target3] [target4] [target5]
# [machine] qemuarm64 qemux86-64 qemuarm qemux86 qemuarm64
# [yocto] master master scarthgap styhead kirkstone
# [yocto] master walnascar scarthgap styhead kirkstone
# [wayland] yes no no yes yes
# [mingw] no no yes no no
# [static] no no no no yes
@ -34,7 +34,7 @@ target1: &target1
variableValue: master.xml
- type: EnvironmentVariable
variableName: TEST_CONFIGS
variableValue: ci configs wayland
variableValue: ci configs wayland python
enable_if:
condition: property
property: target.arch
@ -47,10 +47,10 @@ target2: &target2
variableValue: qemux86-64
- type: EnvironmentVariable
variableName: MANIFEST
variableValue: master.xml
variableValue: walnascar.xml
- type: EnvironmentVariable
variableName: TEST_CONFIGS
variableValue: ci configs
variableValue: ci configs python
enable_if:
condition: property
property: target.arch
@ -66,7 +66,7 @@ target3: &target3
variableValue: scarthgap.xml
- type: EnvironmentVariable
variableName: TEST_CONFIGS
variableValue: ci configs mingw
variableValue: ci configs mingw python
enable_if:
condition: property
property: target.arch
@ -82,7 +82,7 @@ target4: &target4
variableValue: styhead.xml
- type: EnvironmentVariable
variableName: TEST_CONFIGS
variableValue: ci configs wayland no-webengine
variableValue: ci configs wayland no-webengine python
enable_if:
condition: property
property: target.arch
@ -98,7 +98,7 @@ target5: &target5
variableValue: kirkstone.xml
- type: EnvironmentVariable
variableName: TEST_CONFIGS
variableValue: ci configs wayland static no-webengine
variableValue: ci configs wayland static no-webengine python
enable_if:
condition: property
property: target.arch
@ -137,7 +137,7 @@ instructions:
chmod +x repo
./repo init \
--repo-url https://github.com/theqtcompany/git-repo \
--repo-url git@git.qt.io:boot2qt/git-repo.git \
-u git://code.qt.io/yocto/boot2qt-manifest \
-b ci \
-m ${MANIFEST} \
@ -149,6 +149,9 @@ instructions:
bitbake-layers add-layer ../meta-openembedded/meta-python
bitbake-layers add-layer ../meta-openembedded/meta-multimedia
bitbake-layers add-layer ../meta-mingw
if [ -e ../meta-clang ]; then
bitbake-layers add-layer ../meta-clang
fi
bitbake-layers add-layer ${SOURCE_DIR}
for conf in ${TEST_CONFIGS}; do

View File

@ -39,6 +39,11 @@ INSANE_SKIP:append:pn-nativesdk-clang = " buildpaths"
PREFERRED_ARM_INSTRUCTION_SET ?= "thumb"
ARM_INSTRUCTION_SET = "${PREFERRED_ARM_INSTRUCTION_SET}"
# build squish
USE_SQUISH = "1"
SQUISH_MIRROR = "https://ci-files01-hki.ci.qt.io/input/squish/releasepackages"
SQUISH_LICENSE_KEY = "qt-srv-19.intra.qt.io:49345"
# enable webengine with commercial/proprietary features
DISTRO_FEATURES:append = " webengine"
PACKAGECONFIG:append:pn-qtwebengine = " proprietary-codecs"
@ -47,7 +52,6 @@ PACKAGECONFIG:append:pn-qtbase = "\
tslib kms gbm zstd libproxy gssapi vulkan mtdev cups \
sql-mysql sql-odbc sql-psql sql-sqlite journald brotli \
${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'gtk', '', d)} \
use-gold-linker \
"
# imageformats mng FIXME

2
coin/test-python.inc Normal file
View File

@ -0,0 +1,2 @@
RDEPENDS:${PN}:append:pn-packagegroup-qt6-addons = " python3-pyside6"

View File

@ -35,12 +35,10 @@ LAYERVERSION_qt6-layer = "1"
LAYERDEPENDS_qt6-layer = "core openembedded-layer meta-python"
LAYERSERIES_COMPAT_qt6-layer = "kirkstone langdale mickledore nanbield scarthgap styhead walnascar"
LAYERSERIES_COMPAT_qt6-layer = "kirkstone langdale mickledore nanbield scarthgap styhead walnascar whinlatter"
LICENSE_PATH += "${LAYERDIR}/licenses"
IMAGE_FEATURES[validitems] += "qtcreator-debug"
# Set a variable to get to the top of the metadata location
QT6BASE := "${LAYERDIR}"
@ -48,12 +46,15 @@ QT_GIT_PROJECT ?= "qt"
QT_GIT ?= "git://code.qt.io"
QT_GIT_PROTOCOL ?= "git"
QT_EDITION ?= "opensource"
QT_VERSION = "6.9.0"
QT_VERSION = "6.9.3"
QT_COMMERCIAL_GIT ?= "git://codereview.qt-project.org"
QT_COMMERCIAL_GIT_PROTOCOL ?= "ssh"
QT_COMMERCIAL_MODULES ?= "0"
CAN_USE_PYSIDE6 = "${@True if 'clang-layer' in d.getVar('BBFILE_COLLECTIONS').split() or \
os.path.exists(os.path.join(d.getVar('COREBASE'),'meta/recipes-devtools/clang')) else False}"
# License mapping back to old license files
SPDXLICENSEMAP[GFDL-1.3-no-invariants-only] = "GFDL-1.3"

View File

@ -0,0 +1,149 @@
Squish Commercial License Agreement
Agreement version 3.1
This Squish Commercial License Agreement ("Agreement") is made by and
between The Qt Company Oy ("The Qt Company"), and you (either an
individual or a legal entity) ("Licensee").
IMPORTANT - READ CAREFULLY:
1. The Qt Company developed and originated Squish including source code,
documentation and example programs ("Licensed Software"). The Licensed
Software is protected by copyright laws and international copyright
treaties, as well as other intellectual property laws and
treaties. The Qt Company retains all rights not expressly granted.
2. By installing, copying, or otherwise using the Licensed Software,
Licensee agrees to be bound by the terms of this Agreement. If
Licensee does not agree to the terms of this Agreement, Licensee
should not install, copy, or otherwise use the Licensed Software. In
addition, by installing, copying, or otherwise using any updates or
other components of the Licensed Software that Licensee receives
separately as part of the Licensed Software ("Updates"), Licensee
agrees to be bound by any additional license terms that accompany such
Updates. If Licensee does not agree to the additional license terms
that accompany such Updates, Licensee may not install, copy, or
otherwise use such Updates.
3. Upon Licensee's acceptance of the terms and conditions of this
Agreement, The Qt Company grants Licensee the right to use the Licensed
Software during the agreed validity period as set forth in the
respective License Certificate ("License Term"), solely for Licensee's
internal business purposes in the manner provided below.
4a. If the license, as specified in the license certificate, is a
Floating Tester Subscription or Floating Execution Subscription,
Licensee may install the Licensed Software on an unlimited amount of
computers. Concurrent use of the installed Licensed Software is
limited to the number of floating seats purchased as specified in the
license certificate and to persons employed or contracted by the
Licensee. If the license is a Floating Execution License, Licensee may
only use the installed Licensed Software for executing tests and
processing test results, but not for developing, debugging and
maintaining tests.
4b. If the license, as specified in the license certificate, is a User
Node-Locked Subscription, Licensee may install the Licensed Software
for a single user on a single physical computer. Installation and
usage in virtual machines or the use via remote access is prohibited.
5. Licensee may modify the Licensed Software except for altering or
removing any details of ownership, copyright, trademark or other
property right connected with the Licensed Software.
6. Licensee may not distribute the Licensed Software, modified or
unmodified, separately or as part of any software package.
7. Upon expiry of the initially agreed License Term, the respective
License Terms shall be automatically extended to one or more
extensions of previous License Term as agreed between the Parties
("Renewal Term"), unless and until either Party notifies the other
Party in writing, or any other method acceptable to The Qt Company, that it
does not wish to continue the License Term, such notification to be
provided to the other Party no less than thirty (30) days before
expiry of the respective License Term. Unless otherwise agreed between
the Parties, Renewal Term shall be of equal length with the initial
License Term.
Any such Renewal Term shall be subject to License Fees agreed between
the Parties or, if no advance agreement exists, subject to The Qt Company
standard pricing applicable at the commencement date of any such
Renewal Term.
Any price or other term specified for a Renewal Term shall be valid
only for the specified time.
WARRANTY DISCLAIMER
8. The Licensed Software is licensed to Licensee "as is". To the
maximum extent permitted by applicable law, The Qt Company on behalf of
itself and its suppliers, disclaims all warranties and conditions,
either expressed or implied, including, but not limited to, implied
warranties of merchantability, fitness for a particular purpose, title
and non-infringement with regard to the Licensed Software.
LIMITATION OF LIABILITY
9. If, The Qt Company's warranty disclaimer notwithstanding, The Qt Company is
held liable to Licensee, whether in contract, tort or any other legal
theory, based on the Licensed Software, The Qt Company's entire liability
to Licensee and Licensee's exclusive remedy shall be, at The Qt Company's
option, either (A) return of the price Licensee paid for the Licensed
Software, or (B) repair or replacement of the Licensed Software,
provided Licensee returns to The Qt Company all copies of the Licensed
Software as originally delivered to Licensee. The Qt Company shall not
under any circumstances be liable to Licensee based on failure of the
Licensed Software if the failure resulted from accident, abuse or
misapplication, nor shall The Qt Company under any circumstances be liable
for special damages, punitive or exemplary damages, damages for loss
of profits or interruption of business or for loss or corruption of
data. Any award of damages from The Qt Company to Licensee shall not exceed
the total amount Licensee has paid to The Qt Company in connection with
this Agreement.
SUPPORT AND UPDATES
10. Licensee will be eligible to receive email based software support
and access to Downloads and Updates to the Licensed Software for the
License Term, in accordance with The Qt Company's then current policies and
procedures, if any. Such policies and procedures may be changed from
time to time.
PRIVACY
11. Licensee acknowledges and agrees that for the purpose of this
agreement, The Qt Company may collect, use, transfer and disclose personal
data pertaining to Users as well as any other employees and directors
of the Licensee and its contractors relevant for carrying out the
intent of this agreement. Such personal data may be collected from the
Licensee or directly from the relevant individuals. The parties
acknowledge that with regard to such personal data processed
hereunder, The Qt Company shall be regarded as the Data Controller under
the applicable data protection legislation. The Qt Company shall process
any such personal data in accordance with its privacy policies and
practices, which will comply with all applicable requirements of the
General Data Protection Regulation (GDPR) and any national
implementing laws and regulations.
GENERAL PROVISIONS
12. This Agreement may only be modified in writing signed by
authorized representatives of Licensee and The Qt Company. In case of a
conflict between this Agreement and the terms of any purchase order or
other ordering document, this Agreement shall prevail. If any provision
of this Agreement is found void or unenforceable, the remainder will
remain valid and enforceable according to its terms. If any remedy
provided is determined to have failed for its essential purpose, all
limitations of liability and exclusions of damages set forth in this
Agreement shall remain in effect.
13. This Agreement shall be construed, interpreted and governed by the
laws of Finland, the legal venue to be Helsinki District Court. The Qt
Company reserves all rights not specifically granted in this
Agreement.

View File

@ -6,10 +6,10 @@ SECTION = "libs"
LICENSE = "Zlib"
LIC_FILES_CHKSUM = "file://zip.h;beginline=14;endline=30;md5=8eaa8535a3a1a2296b303f40f75385e7"
SRC_URI = "${SOURCEFORGE_MIRROR}/libpng/zlib/${PV}/zlib-${PV}.tar.xz"
SRC_URI = "${SOURCEFORGE_MIRROR}/libpng/zlib/${PV}/zlib-${PV}.tar.xz;subdir=${BP};striplevel=1"
UPSTREAM_CHECK_URI = "http://zlib.net/"
S = "${WORKDIR}/zlib-${PV}/contrib/minizip"
S .= "/contrib/minizip"
SRC_URI[md5sum] = "85adef240c5f370b308da8c938951a68"
SRC_URI[sha256sum] = "4ff941449631ace0d4d203e3483be9dbc9da454084111f97ea0a2114e19bf066"

View File

@ -0,0 +1,33 @@
LICENSE = "The-Qt-Company-Commercial | (GPL-3.0-only & Qt-GPL-exception-1.0) & (LGPL-3.0-only | GPL-2.0-only | GPL-3.0-only)"
LIC_FILES_CHKSUM = " \
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
file://LICENSES/GFDL-1.3-no-invariants-only.txt;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
file://LICENSES/GPL-2.0-only.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
file://LICENSES/GPL-3.0-only.txt;md5=d32239bcb673463ab874e80d47fae504 \
file://LICENSES/LGPL-3.0-only.txt;md5=e6a600fd5e1d9cbde2d983680233ad02 \
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
file://LICENSES/Qt-GPL-exception-1.0.txt;md5=9a13522cd91a88fba784baf16ea66af8 \
"
python() {
if not bb.utils.to_boolean(d.getVar('CAN_USE_PYSIDE6')):
raise bb.parse.SkipRecipe('clang is not available.')
}
inherit setuptools3
inherit qt6-cmake
require recipes-qt/qt6/qt6-git.inc
QT_GIT_PROJECT = "pyside"
QT_MODULE = "pyside-setup"
FILESEXTRAPATHS:prepend := "${THISDIR}/pyside6:"
EXTRA_OECMAKE += "\
-DBUILD_TESTS=FALSE \
-DQFP_PYTHON_SITE_PACKAGES=${PYTHON_SITEPACKAGES_DIR} \
"
EXTRA_OECMAKE:append:class-target = " -DQFP_SHIBOKEN_HOST_PATH=${STAGING_EXECPREFIXDIR} -DQFP_PYTHON_HOST_PATH=${PYTHON}"
INSANE_SKIP:${PN} += "already-stripped"

View File

@ -0,0 +1,71 @@
require python3-pyside6.inc
DEPENDS += "\
python3-shiboken6 \
python3-shiboken6-native \
${PYSIDE_QT_MODULES} \
"
PYSIDE_QT_MODULES ?= "\
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'qt3d', '', d)} \
qtbase \
qtcharts \
qtconnectivity \
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'qtdatavis3d', '', d)} \
qtdeclarative \
qtdeclarative-native \
qtgraphs \
${@bb.utils.contains('QT_COMMERCIAL_MODULES', '1', 'qthttpserver', '', d)} \
qtlocation \
qtmultimedia \
qtnetworkauth \
qtpositioning \
qtquick3d \
qtquick3d-native \
qtremoteobjects \
qtremoteobjects-native \
qtscxml \
qtscxml-native \
qtsensors \
qtserialbus \
qtserialport \
qtspeech \
qtsvg \
qttools \
qtwebchannel \
${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtwebengine', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtpdf', '', d)} \
qtwebsockets \
"
OECMAKE_SOURCEPATH = "${S}/sources/pyside6"
export LLVM_INSTALL_DIR = "${STAGING_DIR_NATIVE}${exec_prefix}"
PYSIDE_COMPILER = "${HOST_SYS}-g++"
PYSIDE_COMPILER:toolchain-clang = "${HOST_SYS}-clang++"
# Workaround big.LITTLE architecture args not supported by clang
PYSIDE_COMPILER_FLAGS = "${@d.getVar('HOST_CC_ARCH') \
.replace('cortex-a15.cortex','cortex') \
.replace('cortex-a17.cortex','cortex') \
.replace('cortex-a57.cortex','cortex') \
.replace('cortex-a72.cortex','cortex') \
.replace('cortex-a73.cortex','cortex') \
.replace('cortex-a75.cortex','cortex') \
.replace('cortex-a76.cortex','cortex')} \
"
EXTRA_OECMAKE += "\
-DSTANDALONE=ON \
-DPYSIDE_TREAT_QT_INCLUDE_DIRS_AS_NON_SYSTEM=ON \
-DSHIBOKEN_GENERATOR_EXTRA_FLAGS='\
--clang-options=--sysroot=${STAGING_DIR_TARGET},--target=${HOST_SYS},${@d.getVar('PYSIDE_COMPILER_FLAGS').replace(' ',',')} \
--compiler-path=${PYSIDE_COMPILER} \
' \
"
FILES:${PN} += "\
${QT6_INSTALL_PLUGINSDIR}/designer \
"
FILES:${PN}-dev += "\
${datadir}/PySide6 \
"

View File

@ -0,0 +1,16 @@
require python3-pyside6.inc
DEPENDS += "qtbase clang-native python3-shiboken6-native"
OECMAKE_SOURCEPATH = "${S}/sources/shiboken6"
EXTRA_OECMAKE += "-DSHIBOKEN_BUILD_LIBS=ON"
do_install:append() {
# shiboken6.pc in package python3-shiboken6-dev contains reference to TMPDIR [buildpaths]
sed -i ${D}${QT6_INSTALL_LIBDIR}/pkgconfig/shiboken6.pc \
-e '/^python_/d' \
-e 's|${RECIPE_SYSROOT}||'
}
BBCLASSEXTEND = "native nativesdk"

View File

@ -15,6 +15,8 @@ RDEPENDS:${PN} += " \
nativesdk-qtgrpc-tools \
nativesdk-qtquick3d-dev \
nativesdk-qtquick3d-tools \
nativesdk-qtopcua-dev \
nativesdk-qtopcua-tools \
nativesdk-qtremoteobjects-dev \
nativesdk-qtremoteobjects-tools \
nativesdk-qtscxml-dev \

View File

@ -8,6 +8,7 @@ inherit packagegroup
PACKAGEGROUP_DISABLE_COMPLEMENTARY = "1"
RDEPENDS:${PN} += " \
${@'python3-pyside6' if bb.utils.to_boolean(d.getVar('CAN_USE_PYSIDE6')) else ''} \
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'qt3d', '', d)} \
qt5compat \
qtapplicationmanager \
@ -50,20 +51,25 @@ RDEPENDS:${PN} += " \
RDEPENDS:${PN}:append:aarch64 = "\
qtquick3dphysics \
${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtwebengine qtwebview qtpdf', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'qtpdf', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtwebengine qtwebview', '', d)} \
"
RDEPENDS:${PN}:append:arm = " qtquick3dphysics"
RDEPENDS:${PN}:append:armv6 = "\
${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtwebengine qtwebview qtpdf', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'qtpdf', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtwebengine qtwebview', '', d)} \
"
RDEPENDS:${PN}:append:armv7a = "\
${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtwebengine qtwebview qtpdf', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'qtpdf', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtwebengine qtwebview', '', d)} \
"
RDEPENDS:${PN}:append:armv7ve = "\
${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtwebengine qtwebview qtpdf', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'qtpdf', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtwebengine qtwebview', '', d)} \
"
RDEPENDS:${PN}:append:x86 = " qtquick3dphysics"
RDEPENDS:${PN}:append:x86-64 = "\
qtquick3dphysics \
${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtwebengine qtwebview qtpdf', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'qtpdf', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtwebengine qtwebview', '', d)} \
"

View File

@ -12,4 +12,5 @@ RDEPENDS:${PN} += " \
qmlcompilerplus \
qtinsighttracker \
qtvncserver \
${@'squish' if bb.utils.to_boolean(d.getVar('USE_SQUISH')) else ''} \
"

View File

@ -12,6 +12,7 @@ RDEPENDS:${PN} += " \
qtdeclarative \
qtdeclarative-tools \
qttools \
qttools-tools \
qttranslations-qtbase \
qttranslations-qtdeclarative \
"

View File

@ -50,6 +50,20 @@ def gn_host_pkg_config(d):
"""Return absolute paths to pkg-config-native."""
return d.getVar("STAGING_BINDIR_NATIVE") + "/" + "pkg-config-native"
def gn_clang(d):
"""Return true if using clang compiler else return false"""
if "clang++" in d.getVar("CXX"):
return "true"
else:
return "false"
def gn_clang_native(d):
"""Return true if using native clang compiler else return false"""
if "clang++" in d.getVar("BUILD_CXX"):
return "true"
else:
return "false"
def write_toolchain_file(d, file_path):
"""Creates a complete GN toolchain file in |file_path|."""
import string
@ -72,7 +86,7 @@ def write_toolchain_file(d, file_path):
' toolchain_args = {\n'
' current_cpu = "${current_cpu}"\n'
' current_os = "linux"\n'
' is_clang = false\n'
' is_clang = ${is_clang}\n'
' host_pkg_config = "${host_pkg_config}"\n'
' }\n'
'}\n'
@ -80,6 +94,7 @@ def write_toolchain_file(d, file_path):
native_toolchain = {
'toolchain_name': 'yocto_native',
'is_clang': gn_clang_native(d),
'current_cpu': gn_host_arch_name(d),
'host_pkg_config': gn_host_pkg_config(d),
'cc': d.expand('${BUILD_CC}'),
@ -94,6 +109,7 @@ def write_toolchain_file(d, file_path):
}
target_toolchain = {
'toolchain_name': 'yocto_target',
'is_clang': gn_clang(d),
'current_cpu': gn_target_arch_name(d),
'host_pkg_config': gn_host_pkg_config(d),
'cc': d.expand('${CC}'),

View File

@ -8,8 +8,8 @@ LIC_FILES_CHKSUM = " \
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
file://LICENSES/Qt-GPL-exception-1.0.txt;md5=9a13522cd91a88fba784baf16ea66af8 \
file://src/3rdparty/assimp/LICENSE;md5=2119edef0916b0bd511cb3c731076271 \
file://src/3rdparty/imgui/LICENSE_imstb.txt;md5=2c03212e4ad1f727e9c2251327812596 \
file://src/3rdparty/imgui/LICENSE_proggyclean.txt;md5=f9db3a4f99ffc4d38de6bb590db15f31 \
file://src/3rdparty/imgui/LICENSE.imstb.txt;md5=2c03212e4ad1f727e9c2251327812596 \
file://src/3rdparty/imgui/LICENSE.proggyclean.txt;md5=f9db3a4f99ffc4d38de6bb590db15f31 \
file://src/3rdparty/imgui/LICENSE.txt;md5=875a54e93593c8b244ef6b78cacc336e \
"
@ -24,7 +24,7 @@ include recipes-qt/qt6/qt6.inc
ASSIMP_BRANCH = "qt6_assimp"
SRC_URI += " \
${QT_GIT}/${QT_GIT_PROJECT}/qtquick3d-assimp.git;name=qt3d-assimp;branch=${ASSIMP_BRANCH};protocol=${QT_GIT_PROTOCOL};destsuffix=git/src/3rdparty/assimp/src \
${QT_GIT}/${QT_GIT_PROJECT}/qtquick3d-assimp.git;name=qt3d-assimp;branch=${ASSIMP_BRANCH};protocol=${QT_GIT_PROTOCOL};destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/src/3rdparty/assimp/src \
"
# Needed for supporting 64bit off_t

View File

@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = " \
file://LICENSES/LGPL-3.0-only.txt;md5=e6a600fd5e1d9cbde2d983680233ad02 \
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
file://LICENSES/Qt-GPL-exception-1.0.txt;md5=9a13522cd91a88fba784baf16ea66af8 \
file://src/core5/codecs/QTSCIICODEC_LICENSE.txt;md5=f36a16de69d08da0af83ce2a672d8972 \
file://src/core5/codecs/LICENSE.QTSCIICODEC.txt;md5=f36a16de69d08da0af83ce2a672d8972 \
"
inherit qt6-cmake

View File

@ -4,69 +4,71 @@ HOMEPAGE ?= "https://www.qt.io"
inherit srcrev-update
QT_MODULE ?= "${BPN}"
QT_MODULE_BRANCH ?= "dev"
QT_MODULE_BRANCH ?= "6.9"
QT_MODULE_BRANCH_PARAM ?= "branch=${QT_MODULE_BRANCH};nobranch=1"
QT_MODULE_REPO ?= "${QT_MODULE}.git"
SRC_URI = "${QT_GIT}/${QT_GIT_PROJECT}/${QT_MODULE_REPO};name=${QT_MODULE};${QT_MODULE_BRANCH_PARAM};protocol=${QT_GIT_PROTOCOL}"
# for compatibility with Yocto releases before whinlatter
BB_GIT_DEFAULT_DESTSUFFIX ?= "${BP}"
SRC_URI = "${QT_GIT}/${QT_GIT_PROJECT}/${QT_MODULE_REPO};name=${QT_MODULE};${QT_MODULE_BRANCH_PARAM};protocol=${QT_GIT_PROTOCOL};destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}"
CVE_PRODUCT ?= "qt:${BPN} qt:qt"
S = "${WORKDIR}/git"
PV = "${QT_VERSION}"
SRCREV = "${SRCREV_${QT_MODULE}}"
SRCREV_tqtc-qmlcompilerplus = "96375439f337c8bc74ef5a7e08cd2e6727d60c8a"
SRCREV_tqtc-qtinsighttracker = "d4be356120041c18ca650e5abce765e0f2e2ab74"
SRCREV_tqtc-qtvncserver = "80d234538dd37a9ab56a8020e3d138e30e67e9e9"
SRCREV_qt3d = "219dd44a26cf4323c1a3ba1c7a48ac5f1596b5ba"
SRCREV_qt3d-assimp = "647f94648c0ae24b9c6684383a9dbbc0e2fc23b7"
SRCREV_qt5compat = "9e0fc26d8e087379ef3f860460c066274368c012"
SRCREV_qtbase = "9cb0d48aae81c5436bda783b64721d0b77bc3f6c"
SRCREV_qtapplicationmanager = "72bc601489447dc25c8c89e55b8d4b76407f1ab4"
SRCREV_qtcharts = "f4aa9dffcfed508f1e7fb7a0f95cb0873ecd47c7"
SRCREV_qtcoap = "24c6d9188107d0834b44b91517f58656a495d495"
SRCREV_qtconnectivity = "d401180fc4bc59a4dbe279cd4cdf3f4325d6e210"
SRCREV_qtdatavis3d = "3e7d0a477a0fe97e8de7669b8d4460c8280c2887"
SRCREV_qtdeclarative = "f5673f1e0e139fab33a456275b015fe4e5ca3986"
SRCREV_qtdeviceutilities = "1acfa1025584812d7b0008812fa5aa83ce28720a"
SRCREV_qtdoc = "7d49bbdf12829df94719f5a53de9f20f76b7502b"
SRCREV_qtgraphs = "59085abc6574fdfd222bc9e9b0473093e5344360"
SRCREV_qtgrpc = "bfd24967bc26373f4920e3505cd3d4fd28e70687"
SRCREV_qthttpserver = "45c60e30e0a4a411162365cf01aafc1b0cba201c"
SRCREV_qtimageformats = "08d1bb474949c2d4f886928198bcf4cbf70ce724"
SRCREV_qtinterfaceframework = "6f81e3808a87d5faee60b68e2adc59073d9862e1"
SRCREV_qtlanguageserver = "5f998f06ebd2aeedad839eb33b303fb44a10aaa9"
SRCREV_qtlocation = "ea636dd72f823c20c988b05230b7fbf5ea4aca4d"
SRCREV_qtlottie = "0fd4a8f813e0a0395de2b4374935fe6023d3afce"
SRCREV_qtmqtt = "aeac9f7e171205bb9c47eb6479cfd3d31768f312"
SRCREV_qtmultimedia = "f68eef36f234acfa4e99e1c8ba1d9ed8119a8f44"
SRCREV_qtnetworkauth = "2f263f7028d2933c5e536c16f5622349053e682d"
SRCREV_qtopcua = "7055c65fc10b2fdec80fe957768bdf27f7874ce1"
SRCREV_qtpositioning = "7db6885dce399ad7ef47493c612127b71d3b229d"
SRCREV_qtquick3d = "575612ae6be6811226e794e68009db046d7ad780"
SRCREV_qtquick3d-assimp = "647f94648c0ae24b9c6684383a9dbbc0e2fc23b7"
SRCREV_qtquick3dphysics = "85f5ad2048d5fa11a0d9086cdb6a1dce549b44de"
SRCREV_qtquickdesigner-components = "04a5f670d3e7ae28e54bf194a3dd70e13d05ffc4"
SRCREV_qtquicktimeline = "9e0a9979f2fe9eeead3c16311d0e3b8d6d5bbb8d"
SRCREV_qtremoteobjects = "392a215a2ad716b9cc60311da2d8b09af149753e"
SRCREV_qtscxml = "253845885a6e293f0c4dbbd3d53131afd7b88f9c"
SRCREV_qtsensors = "9a2f543f523bfe3519c4b7d2c56b03393d21fe88"
SRCREV_qtserialbus = "19335acb87270d0768609b2e6bf708c7deac14ec"
SRCREV_qtserialport = "125813ab104a417ea168eeda8842ca1a51a4453e"
SRCREV_qtshadertools = "ce3904c1b29b8960b623dee229f7fabdc7d14bd0"
SRCREV_qtspeech = "da727c8dcc725c0f213e17cf68b2e7616d87ae66"
SRCREV_qtsvg = "f4de0d25d1faeb131b5fd6d37bd2ab2cbd27ab47"
SRCREV_qttools = "3557f0897aa2624b633a0bb83f1970245de37e1f"
SRCREV_qttools-qlitehtml = "5cab3a508ab3e38bf8ec192e6fad3be1dedd3587"
SRCREV_tqtc-qmlcompilerplus = "56d9ea16359c0fbdc21b298680dce6b7f632b485"
SRCREV_tqtc-qtinsighttracker = "520413c31f92b8e331d59cd127ad14d1d92d60f8"
SRCREV_tqtc-qtvncserver = "6df587d8408d5fb6867a9a822b0fe879912d8c6c"
SRCREV_qt3d = "4f975511dc2b09ae6cd1b4489eafe1ce05dae48a"
SRCREV_pyside-setup = "01d24a8f81d82afdb513e484d0ef63609d0fe528"
SRCREV_qt3d-assimp = "488a2f7af2920295ada886f113a0d563dab79b8d"
SRCREV_qt5compat = "17b8b1fa09abc3f3c1fa8b2895d11bdb90c70d2e"
SRCREV_qtbase = "be09b211db70e1b0155d05c18668ad76e7e3df51"
SRCREV_qtapplicationmanager = "1f46cba44b6ad37e2d1969c08d99e5bdbd0a86e5"
SRCREV_qtcharts = "d01ef2860dcec8b1dd1f6a88adb410eddaf13fa6"
SRCREV_qtcoap = "2122afda522ab7fcf61d385639c28e7ea8c084b1"
SRCREV_qtconnectivity = "cdddcde30493478ec7c4665ca7851ed1606d1452"
SRCREV_qtdatavis3d = "ceefcc27f7e27217a8f5c52a1785966a0e7b15fd"
SRCREV_qtdeclarative = "c1640ba76059882e1d2bc978b6904a19333be4a9"
SRCREV_qtdeviceutilities = "cc911b1ecfffc0cd515b2aa492ee73e703616b9f"
SRCREV_qtdoc = "1e089e32daadf09d7395444a2e327a28c72ea139"
SRCREV_qtgraphs = "8350480f6c0635a3e02fffee6f7d86c67d9e1ca1"
SRCREV_qtgrpc = "bcb440d1af92d4a51882716f88b85445f7c7b421"
SRCREV_qthttpserver = "29d45a55b96ee66d3016d99f4a991849b2e22f2d"
SRCREV_qtimageformats = "7484973d606d212ae9b770b6a3be0dbce11f32e0"
SRCREV_qtinterfaceframework = "203c10b2f643fd1582531ce0a67c20f78e36bc4c"
SRCREV_qtlanguageserver = "ffedfaeb298f8c3b982f02843d380bb28227382e"
SRCREV_qtlocation = "8cf2e051cc552026e82663ead65b66ece5a30eda"
SRCREV_qtlottie = "833fef1bfc28b3e293381a12113322951a712eba"
SRCREV_qtmqtt = "d10680d72685d999927b090ca81de2802d89407f"
SRCREV_qtmultimedia = "0bbd3bc533aae9079e94d9c903a509239514aea7"
SRCREV_qtnetworkauth = "b0ab508489ed0dc92916792cac3c20b6b44ab73b"
SRCREV_qtopcua = "dc9fbd4f16065d8ad78dbdca4d6675fc4db896e9"
SRCREV_qtpositioning = "e1cfddb24f97f65527478005aa2e26bb21688c10"
SRCREV_qtquick3d = "ce612371bca2f01e55a2a4a20d652a86dc47e01c"
SRCREV_qtquick3d-assimp = "488a2f7af2920295ada886f113a0d563dab79b8d"
SRCREV_qtquick3dphysics = "e86756999b796ce2581a00db200fa73c5bcbba46"
SRCREV_qtquickdesigner-components = "8c9e0faa0dd8b8adf019e357212e59898a7bebfb"
SRCREV_qtquicktimeline = "a5690fce73901711ad21e92d5b7b59591c4da42e"
SRCREV_qtremoteobjects = "ba20e19946a0b615527671ac05696407b601efaf"
SRCREV_qtscxml = "660bc9c26f3489c5056d25fa92881e72d7c0081e"
SRCREV_qtsensors = "939714166fd55c7acb25be8049f39b4e6fd747c5"
SRCREV_qtserialbus = "a200e4f970a488da8b96e6cb7c788aabbf805608"
SRCREV_qtserialport = "1ed03ae86db4c7319f7aaedd5374da1278bdd040"
SRCREV_qtshadertools = "d02f2a004353044596123e2eaa877af2245587d4"
SRCREV_qtspeech = "0b9c53d026a67286c42c9c646d3eee6626237d58"
SRCREV_qtsvg = "84a5bad7715ac1a05043014a0f81f636117290da"
SRCREV_qttools = "89031fa54058af5e4d92ee08d31642ca338e9c0c"
SRCREV_qttools-qlitehtml = "3fe5821dad98747d6e41c9ed54b86c3d0eee9daf"
SRCREV_qttools-qlitehtml-litehtml = "6ca1ab0419e770e6d35a1ef690238773a1dafcee"
SRCREV_qttranslations = "437e02421ddfad8ad0480f4ccf20b1abf647acbd"
SRCREV_qtvirtualkeyboard = "8a59f19d1b0b56fa3430927e4800d278e8d53746"
SRCREV_qtwayland = "a8018eced508e2afffba4dfb20d04a23a184d7f9"
SRCREV_qtwebchannel = "a13deb0fbd2f0af0c23311b83c3783ab27140a56"
SRCREV_qtwebengine = "bee04d31444c6dc2976beee9ad7d974f83633e41"
SRCREV_qtwebengine-chromium = "4140e17e7f2935fcdd4816c4050e4d2eebda2be9"
SRCREV_qtwebsockets = "508323d509354719754e12008b70199fe018d62b"
SRCREV_qtwebview = "ac1a751e6f60748dc2a6bdf54569610fdc432efb"
SRCREV_qttranslations = "59bf5e665fd9629e06564fdd9ceed5c3197c7eca"
SRCREV_qtvirtualkeyboard = "2fda9f58f8b29ac7d03017e4a235bd7e9921b7f3"
SRCREV_qtwayland = "d6b7b0714c546ae5920b1681d29cdabf06caa106"
SRCREV_qtwebchannel = "c40e05665b255ff1a8a5e552eae6ce2c99cbefe6"
SRCREV_qtwebengine = "f1f376f88263616b6b8a6cac3de8aebb10c76977"
SRCREV_qtwebengine-chromium = "064efb300efcdaebede8d84e58dd6a221fecc36f"
SRCREV_qtwebsockets = "5071d82808f292c08de30d1e6e54cf83ffb218ba"
SRCREV_qtwebview = "04c2faf2537f6bb8c652cba769af0b09f5a4612b"

View File

@ -51,6 +51,14 @@ EOF
' _ {} \;
fi
done
if [ -e "${B_PTEST}/${baselib}" ]; then
find ${B_PTEST}/${baselib} \
! -type d -a \( -executable -o -name qmldir \) \
-exec sh -c '\
install -D "$1" "${D}${PTEST_PATH}${1#${B_PTEST}/${baselib}}" \
' _ {} \;
fi
}
fakeroot python do_create_ptest_list() {
@ -91,7 +99,7 @@ INSANE_SKIP:${PN}-ptest += "file-rdeps"
PACKAGESPLITFUNCS =+ "remove_ptest_debug"
remove_ptest_debug() {
if [ -e ${PKGD}${QT6_INSTALL_LIBDIR}/${BPN}/ptest/tests ]; then
find ${PKGD}${QT6_INSTALL_LIBDIR}/${BPN}/ptest/tests -depth -type d -name .debug -exec rm -rf '{}' \;
if [ -e ${PKGD}${QT6_INSTALL_LIBDIR}/${BPN}/ptest ]; then
find ${PKGD}${QT6_INSTALL_LIBDIR}/${BPN}/ptest -depth -type d -name .debug -exec rm -rf '{}' \;
fi
}

View File

@ -121,9 +121,7 @@ FILES:${PN}-staticdev += " \
${QT6_INSTALL_QMLDIR}/*/*/*/*/objects*/ \
"
# Note: INSTALL_EXAMPLESDIR is not used
FILES:${PN}-examples = " \
${QT6_INSTALL_EXAMPLESDIR} \
${prefix}/examples \
"
RDEPENDS:${PN}-examples = "${PN}"

View File

@ -14,6 +14,7 @@ include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6.inc
DEPENDS += "qtbase qtdeclarative libyaml libarchive qtapplicationmanager-native"
DEPENDS:append:class-target = " qthttpserver"
DEPENDS:append:libc-musl = " libexecinfo"
RDEPENDS:${PN}:class-target = "libcrypto ${PN}-tools"
@ -23,13 +24,14 @@ PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'multi-proc
PACKAGECONFIG[tools-only] = "-DFEATURE_am_tools_only=ON, -DFEATURE_am_tools_only=OFF"
PACKAGECONFIG[multi-process] = "-DFEATURE_am_multi_process=ON, -DFEATURE_am_multi_process=OFF, qtwayland qtwayland-native"
PACKAGECONFIG[bubblewrap] = "-DFEATURE_am_bubblewrap_container=ON,-DFEATURE_am_bubblewrap_container=OFF,,bubblewrap"
PACKAGECONFIG:class-native ??= "tools-only"
PACKAGECONFIG:class-nativesdk ??= "${PACKAGECONFIG:class-native}"
FILES:${PN}-tools = "\
${QT6_INSTALL_BINDIR}/appman-package-server* \
${QT6_INSTALL_BINDIR}/appman-packager* \
${QT6_INSTALL_BINDIR}/appman-dumpqmltypes* \
${QT6_INSTALL_BINDIR}/appman-qmltestrunner* \
"

View File

@ -1,4 +1,4 @@
From 4064b8757cbb28588fdff2529ea203bf3eabc579 Mon Sep 17 00:00:00 2001
From 27896986b3c2930ccbbe062d3e7a0b7bcc08caf1 Mon Sep 17 00:00:00 2001
From: Holger Freyther <zecke@selfish.org>
Date: Wed, 26 Sep 2012 17:22:30 +0200
Subject: [PATCH] qlibraryinfo: allow to set qt.conf from the outside using the
@ -20,20 +20,20 @@ Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/src/corelib/global/qlibraryinfo.cpp b/src/corelib/global/qlibraryinfo.cpp
index 92729b06f1..dac7857600 100644
index 4b116c54b2e..bfa21c997b4 100644
--- a/src/corelib/global/qlibraryinfo.cpp
+++ b/src/corelib/global/qlibraryinfo.cpp
@@ -101,7 +101,12 @@ static QSettings *findConfiguration()
@@ -103,7 +103,12 @@ static std::unique_ptr<QSettings> findConfiguration()
if (qtconfManualPath)
return new QSettings(*qtconfManualPath, QSettings::IniFormat);
return std::make_unique<QSettings>(*qtconfManualPath, QSettings::IniFormat);
- QString qtconfig = QStringLiteral(":/qt/etc/qt.conf");
+ QByteArray config = getenv("OE_QMAKE_QTCONF_PATH");
+ QString qtconfig = QFile::decodeName(config);
+ if (QFile::exists(qtconfig))
+ return new QSettings(qtconfig, QSettings::IniFormat);
+ return std::make_unique<QSettings>(qtconfig, QSettings::IniFormat);
+
+ qtconfig = QStringLiteral(":/qt/etc/qt.conf");
if (QFile::exists(qtconfig))
return new QSettings(qtconfig, QSettings::IniFormat);
if (QResource(qtconfig, QLocale::c()).isValid())
return std::make_unique<QSettings>(qtconfig, QSettings::IniFormat);
#ifdef Q_OS_DARWIN

View File

@ -19,10 +19,12 @@ include recipes-qt/qt6/qt6.inc
SRC_URI += "\
file://0001-Add-linux-oe-g-platform.patch \
file://0002-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch \
file://0004-Fix-qt.toolchain.cmake-for-SDK-use.patch \
file://0005-testlib-don-t-track-the-build-or-source-directories.patch \
"
SRC_URI:append:class-native = "\
file://0002-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch \
"
DEPENDS += "\
patchelf-native \
@ -53,16 +55,18 @@ PACKAGECONFIG_GRAPHICS ?= "\
${@bb.utils.filter('DISTRO_FEATURES', 'vulkan', d)} \
${@bb.utils.filter('DISTRO_FEATURES', 'wayland', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', \
bb.utils.contains('DISTRO_FEATURES', 'x11', 'gl', 'kms gbm gles2 eglfs', d), 'no-opengl linuxfb', d)} \
bb.utils.contains('DISTRO_FEATURES', 'x11', 'gl', 'kms gbm gles2 eglfs', d), 'no-opengl', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'directfb', 'directfb', '', d)} \
linuxfb \
"
PACKAGECONFIG_X11 ?= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xcb', '', d)}"
PACKAGECONFIG_KDE ?= "${@bb.utils.contains('DISTRO_FEATURES', 'kde', 'sm cups kms gbm sql-sqlite', '', d)}"
PACKAGECONFIG_KDE ?= "${@bb.utils.contains('DISTRO_FEATURES', 'kde', 'cups kms gbm sql-sqlite', '', d)}"
PACKAGECONFIG_FONTS ?= ""
PACKAGECONFIG_SYSTEM ?= ""
PACKAGECONFIG_DISTRO ?= ""
PACKAGECONFIG_DEFAULT ?= "\
accessibility \
${@bb.utils.contains_any('DISTRO_FEATURES', 'x11 wayland', 'accessibility-atspi-bridge', '', d)} \
dbus \
fontconfig \
glib \
@ -94,9 +98,6 @@ OPENSSL_LINKING_MODE ?= "runtime"
QT_QPA_DEFAULT_PLATFORM ?= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xcb', \
bb.utils.contains('PACKAGECONFIG', 'gles2', 'eglfs', 'linuxfb', d), d)}"
# at-spi bridge requires XCB currently
ACCESSIBILITY_DEPENDS = "${@bb.utils.contains("DISTRO_FEATURES", "x11", "at-spi2-core", "", d)}"
PACKAGECONFIG[ltcg] = "-DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON,-DCMAKE_INTERPROCEDURAL_OPTIMIZATION=OFF"
PACKAGECONFIG[optimize-size] = "-DFEATURE_optimize_size=ON,-DFEATURE_optimize_size=OFF"
PACKAGECONFIG[static] = "-DBUILD_SHARED_LIBS=OFF,-DBUILD_SHARED_LIBS=ON"
@ -120,17 +121,18 @@ PACKAGECONFIG[ctf] = "-DFEATURE_ctf=ON,-DFEATURE_ctf=OFF"
# gui
PACKAGECONFIG[gui] = "-DFEATURE_gui=ON,-DFEATURE_gui=OFF"
PACKAGECONFIG[accessibility] = "-DFEATURE_accessibility=ON,-DFEATURE_accessibility=OFF,${ACCESSIBILITY_DEPENDS}"
PACKAGECONFIG[accessibility] = "-DFEATURE_accessibility=ON,-DFEATURE_accessibility=OFF"
PACKAGECONFIG[accessibility-atspi-bridge] = "-DFEATURE_accessibility_atspi_bridge=ON,-DFEATURE_accessibility_atspi_bridge=OFF,at-spi2-core"
PACKAGECONFIG[directfb] = "-DFEATURE_directfb=ON,-DFEATURE_directfb=OFF,directfb"
PACKAGECONFIG[fontconfig] = "-DFEATURE_fontconfig=ON,-DFEATURE_fontconfig=OFF,fontconfig"
PACKAGECONFIG[gbm] = "-DFEATURE_gbm=ON,-DFEATURE_gbm=OFF,virtual/libgbm"
PACKAGECONFIG[gl] = "-DFEATURE_opengl_desktop=ON,-DFEATURE_opengl_desktop=OFF,virtual/libgl"
PACKAGECONFIG[gles2] = "-DFEATURE_opengles2=ON,-DFEATURE_opengles2=OFF,virtual/libgles2 virtual/egl"
PACKAGECONFIG[eglfs] = "-DFEATURE_eglfs=ON,-DFEATURE_eglfs=OFF"
PACKAGECONFIG[eglfs] = "-DFEATURE_eglfs=ON,-DFEATURE_eglfs=OFF,virtual/egl"
PACKAGECONFIG[eglfs-egldevice] = "-DFEATURE_eglfs_egldevice=ON,-DFEATURE_eglfs_egldevice=OFF"
PACKAGECONFIG[harfbuzz] = "-DFEATURE_harfbuzz=ON,-DFEATURE_harfbuzz=OFF,harfbuzz"
PACKAGECONFIG[jpeg] = "-DFEATURE_jpeg=ON,-DFEATURE_jpeg=OFF,jpeg"
PACKAGECONFIG[kms] = "-DFEATURE_kms=ON,-DFEATURE_kms=OFF,drm virtual/egl"
PACKAGECONFIG[kms] = "-DFEATURE_kms=ON,-DFEATURE_kms=OFF,drm"
PACKAGECONFIG[libinput] = "-DFEATURE_libinput=ON,-DFEATURE_libinput=OFF,libinput"
PACKAGECONFIG[linuxfb] = "-DFEATURE_linuxfb=ON,-DFEATURE_linuxfb=OFF"
PACKAGECONFIG[mtdev] = "-DFEATURE_mtdev=ON,-DFEATURE_mtdev=OFF,mtdev"
@ -194,6 +196,11 @@ do_install:append() {
rm -f ${D}${QT6_INSTALL_MKSPECSDIR}/features/uikit/device_destinations.sh
rm -f ${D}${QT6_INSTALL_MKSPECSDIR}/features/data/mac/objc_namespace.sh
if [ -e ${D}${QT6_INSTALL_EXAMPLESDIR}/corelib/serialization/cbordump/cbortag.py ]; then
sed -i ${D}${QT6_INSTALL_EXAMPLESDIR}/corelib/serialization/cbordump/cbortag.py \
-e 's|/bin/env|/usr/bin/env|'
fi
# remove unneeded files that contains reference to TMPDIR [buildpaths]
rm -f ${D}${QT6_INSTALL_BINDIR}/host-*
rm -f ${D}${QT6_INSTALL_BINDIR}/target_qt.conf
@ -207,7 +214,10 @@ EOF
RELPATH="${@os.path.relpath(d.getVar('bindir'), d.getVar('QT6_INSTALL_BINDIR'))}"
sed -i ${D}${QT6_INSTALL_BINDIR}/* \
-i ${D}${QT6_INSTALL_LIBEXECDIR}/* \
-e "s|cmake_path=${RECIPE_SYSROOT_NATIVE}.*cmake|cmake_path=%script_dir_path%/$RELPATH/cmake.exe|" \
-e "s|${RECIPE_SYSROOT_NATIVE}.*cmake|\$script_dir_path/$RELPATH/cmake|"
RELPATH="${@os.path.relpath(d.getVar('bindir'), d.getVar('QT6_INSTALL_LIBEXECDIR'))}"
sed -i ${D}${QT6_INSTALL_LIBEXECDIR}/* \
-e "s|cmake_path=${RECIPE_SYSROOT_NATIVE}.*cmake|cmake_path=%script_dir_path%/$RELPATH/cmake.exe|" \
-e "s|${RECIPE_SYSROOT_NATIVE}.*cmake|\$script_dir_path/$RELPATH/cmake|"

View File

@ -14,9 +14,10 @@ inherit qt6-cmake
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6.inc
DEPENDS += "qtbase qtdeclarative qtdeclarative-native"
DEPENDS += "qtbase"
PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez', '', d)}"
PACKAGECONFIG[bluez] = "-DFEATURE_bluez=ON,-DFEATURE_bluez=OFF,bluez5"
PACKAGECONFIG[examples] = "-DQT_BUILD_EXAMPLES=ON,-DQT_BUILD_EXAMPLES=OFF,qtdeclarative qtdeclarative-native"
FILES:${PN}-tools = ""

View File

@ -29,13 +29,13 @@ DEPENDS += "\
qtsvg \
qtwebsockets \
"
DEPENDS:append:aarch64 = " ${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtpdf', '', d)} qtquick3dphysics"
DEPENDS:append:aarch64 = " ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'qtpdf', '', d)} qtquick3dphysics"
DEPENDS:append:arm = " qtquick3dphysics"
DEPENDS:append:armv6 = " ${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtpdf', '', d)}"
DEPENDS:append:armv7a = " ${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtpdf', '', d)}"
DEPENDS:append:armv7ve = " ${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtpdf', '', d)}"
DEPENDS:append:armv6 = " ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'qtpdf', '', d)}"
DEPENDS:append:armv7a = " ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'qtpdf', '', d)}"
DEPENDS:append:armv7ve = " ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'qtpdf', '', d)}"
DEPENDS:append:x86 = " qtquick3dphysics"
DEPENDS:append:x86-64 = " ${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtpdf', '', d)} qtquick3dphysics"
DEPENDS:append:x86-64 = " ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'qtpdf', '', d)} qtquick3dphysics"
PACKAGECONFIG ?= "examples"

View File

@ -1,30 +0,0 @@
From 7e5ddd2e22c57fcd2eb7c8ae24150deb564a1b57 Mon Sep 17 00:00:00 2001
From: Alexey Edelev <alexey.edelev@qt.io>
Date: Wed, 16 Oct 2024 11:19:03 +0200
Subject: [PATCH] Remove the export of QT_PROTO_INCLUDES property
The export is not needed in recent version since the QT_PROTO_INCLUDES
property is calculated according to the QtProtobufWellknownTypes
install/staging/build prefixes.
Pick-to: 6.8
Fixes: QTBUG-130113
Change-Id: I81ddc90334b4828ce5c73fe2ef0f12e3efe6b07c
Upstream-Status: Submitted
---
src/wellknown/Qt6ProtobufWellKnownTypesBuildInternals.cmake | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/wellknown/Qt6ProtobufWellKnownTypesBuildInternals.cmake b/src/wellknown/Qt6ProtobufWellKnownTypesBuildInternals.cmake
index 50900553..49152702 100644
--- a/src/wellknown/Qt6ProtobufWellKnownTypesBuildInternals.cmake
+++ b/src/wellknown/Qt6ProtobufWellKnownTypesBuildInternals.cmake
@@ -121,8 +121,6 @@ function(qt_internal_add_protobuf_wellknown_types target)
EXPORT_NAME_PREFIX "${INSTALL_CMAKE_NAMESPACE}${target}"
)
endif()
-
- set_property(TARGET ${target} APPEND PROPERTY EXPORT_PROPERTIES QT_PROTO_INCLUDES)
endfunction()
# The function generates the header 'alias_file' containing the include of the original

View File

@ -13,11 +13,10 @@ inherit qt6-cmake
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6.inc
SRC_URI += "file://0001-Remove-the-export-of-QT_PROTO_INCLUDES-property.patch"
DEPENDS += "qtbase qtgrpc-native protobuf protobuf-native"
PACKAGECONFIG[examples] = "-DQT_BUILD_EXAMPLES=ON,-DQT_BUILD_EXAMPLES=OFF,qtdeclarative qtdeclarative-native"
PACKAGECONFIG ?= "qml"
PACKAGECONFIG[qml] = "-DFEATURE_grpcquick=ON,-DFEATURE_grpcquick=OFF,qtdeclarative qtdeclarative-native"
# workaround for missing protobuf support on kirkstone
ALLOW_EMPTY:${PN}-tools = "1"

View File

@ -24,8 +24,11 @@ inherit qt6-cmake
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6.inc
PACKAGECONFIG ?= "qml"
PACKAGECONFIG ?= "qml open62541"
PACKAGECONFIG:class-native ?= ""
PACKAGECONFIG:class-nativesdk ?= ""
PACKAGECONFIG[qml] = ",,qtdeclarative qtdeclarative-native"
PACKAGECONFIG[open62541] = "-DFEATURE_open62541=ON,-DFEATURE_open62541=OFF,openssl"
# src/3rdparty/open62541.pri adds -Wno-format, causing following error
# because -Wformat-security cannot be used together with -Wno-format

View File

@ -34,6 +34,5 @@ do_install:append() {
# remove conflicting files with QtWebEngine
rm -f ${D}${libdir}/cmake/Qt6BuildInternals/StandaloneTests/QtWebEngineTestsConfig.cmake
rm -f ${D}${libdir}/cmake/Qt6/Find*.cmake
# rename sbom
mv ${D}${libdir}/sbom/qtwebengine-${QT_VERSION}.spdx ${D}${libdir}/sbom/qtpdf-${QT_VERSION}.spdx
rm -f ${D}${libdir}/sbom/qtwebengine*
}

View File

@ -22,7 +22,7 @@ include recipes-qt/qt6/qt6.inc
ASSIMP_BRANCH = "qt6_assimp"
SRC_URI += " \
${QT_GIT}/${QT_GIT_PROJECT}/qtquick3d-assimp.git;name=qtquick3d-assimp;branch=${ASSIMP_BRANCH};protocol=${QT_GIT_PROTOCOL};destsuffix=git/src/3rdparty/assimp/src \
${QT_GIT}/${QT_GIT_PROJECT}/qtquick3d-assimp.git;name=qtquick3d-assimp;branch=${ASSIMP_BRANCH};protocol=${QT_GIT_PROTOCOL};destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/src/3rdparty/assimp/src \
file://0001-Skip-embree-on-mingw.patch \
"

View File

@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = " \
file://LICENSES/HPND-sell-variant.txt;md5=46bb75504ccdcac579aa4fee538e6c39 \
file://LICENSES/LGPL-3.0-only.txt;md5=e6a600fd5e1d9cbde2d983680233ad02 \
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
file://src/svg/XSVG_LICENSE.txt;md5=46bb75504ccdcac579aa4fee538e6c39 \
file://src/svg/LICENSE.XSVG.txt;md5=46bb75504ccdcac579aa4fee538e6c39 \
"
inherit qt6-cmake

View File

@ -18,19 +18,22 @@ include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6.inc
SRC_URI += " \
${QT_GIT}/playground/qlitehtml.git;name=qttools-qlitehtml;branch=master;protocol=${QT_GIT_PROTOCOL};destsuffix=git/src/assistant/qlitehtml \
git://github.com/litehtml/litehtml.git;name=qttools-qlitehtml-litehtml;branch=master;destsuffix=git/src/assistant/qlitehtml/src/3rdparty/litehtml;protocol=https \
${QT_GIT}/playground/qlitehtml.git;name=qttools-qlitehtml;branch=master;protocol=${QT_GIT_PROTOCOL};destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/src/assistant/qlitehtml \
git://github.com/litehtml/litehtml.git;name=qttools-qlitehtml-litehtml;branch=master;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/src/assistant/qlitehtml/src/3rdparty/litehtml;protocol=https \
file://0002-examples-don-t-track-source-path.patch \
"
DEPENDS += "qtbase qtdeclarative qttools-native"
QTTOOLS_USE_CLANG ?= "${@ 'clang' if bb.utils.vercmp_string_op(d.getVar('LLVMVERSION') or '', '17', '>') else ''}"
CAN_USE_CLANG = "${@True if bb.utils.vercmp_string_op(d.getVar('LLVMVERSION') or '', '17', '>') or \
os.path.exists(os.path.join(d.getVar('COREBASE'),'meta/recipes-devtools/clang')) else False}"
CAN_USE_CLANG:mingw32 = "False"
QTTOOLS_USE_CLANG ?= "${@ 'clang' if bb.utils.to_boolean(d.getVar('CAN_USE_CLANG')) else ''}"
PACKAGECONFIG:class-native = "${QTTOOLS_USE_CLANG}"
PACKAGECONFIG:class-nativesdk = "${QTTOOLS_USE_CLANG}"
PACKAGECONFIG:remove:mingw32 = "${QTTOOLS_USE_CLANG}"
PACKAGECONFIG[clang] = "-DFEATURE_clang=ON,-DFEATURE_clang=OFF,clang"
PACKAGECONFIG[clang] = ",-DFEATURE_clang=OFF,clang"
FILES:${PN}-tools += "${QT6_INSTALL_DATADIR}/phrasebooks"

View File

@ -27,4 +27,4 @@ python split_translation_packages () {
d.setVar('RRECOMMENDS:' + pn, ' '.join(pkgs))
}
FILES:${PN}-dev = "${QT6_INSTALL_TRANSLATIONSDIR}/catalogs.json"
FILES:${PN}-dev += "${QT6_INSTALL_TRANSLATIONSDIR}/catalogs.json"

View File

@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = " \
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
file://LICENSES/Qt-GPL-exception-1.0.txt;md5=9a13522cd91a88fba784baf16ea66af8 \
file://src/plugins/openwnn/3rdparty/openwnn/NOTICE;md5=50e3e853eb9dd5ccdf6192678106b3da \
file://src/plugins/pinyin/3rdparty/pinyin/NOTICE;md5=506fbea94b9d051d6478776c50a4c66b \
file://src/plugins/pinyin/3rdparty/pinyin/NOTICE;md5=42ec637ebc122938c27a784b351dafef \
file://src/plugins/tcime/3rdparty/tcime/COPYING;md5=1474257e03071e0ffb9ed0db6dac8954 \
"
@ -18,7 +18,7 @@ include recipes-qt/qt6/qt6.inc
# and enable "t9write" in PACKAGECONFIG. This can be done in a separate .bbappend file.
# for example:
#T9WRITEPACKAGE = "${HOME}/Downloads/zzEval_QT_T9Write_Alpha_v750_20150916.zip"
#SRC_URI += "file://${T9WRITEPACKAGE};subdir=git/src/virtualkeyboard/3rdparty/t9write"
#SRC_URI += "file://${T9WRITEPACKAGE};subdir=${BB_GIT_DEFAULT_DESTSUFFIX}/src/virtualkeyboard/3rdparty/t9write"
#PACKAGECONFIG = "t9write"
VKB_LANGUAGES ?= "\

View File

@ -19,7 +19,7 @@ REQUIRED_DISTRO_FEATURES = "wayland"
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6.inc
SRC_URI +="\
SRC_URI += "\
file://0001-Allow-qtwaylandscanner-to-be-built-without-dependenc.patch \
"

View File

@ -19,3 +19,4 @@ PACKAGECONFIG ?= "qml"
PACKAGECONFIG[examples] = "-DQT_BUILD_EXAMPLES=ON,-DQT_BUILD_EXAMPLES=OFF,qtwebsockets"
PACKAGECONFIG[qml] = ",,qtdeclarative qtdeclarative-native"
INSANE_SKIP:${PN}-examples += "buildpaths"

View File

@ -21,17 +21,20 @@ inherit gettext
inherit perlnative
inherit python3native
inherit features_check
REQUIRED_DISTRO_FEATURES = "opengl"
# we don't want gettext.bbclass to append --enable-nls
def gettext_oeconf(d):
return ""
QT_MODULE = "qtwebengine"
QT_MODULE_BRANCH_CHROMIUM = "126-based"
QT_MODULE_BRANCH_CHROMIUM = "130-based"
FILESEXTRAPATHS:prepend := "${THISDIR}/qtwebengine:"
SRC_URI += " \
${QT_GIT}/${QT_GIT_PROJECT}/qtwebengine-chromium.git;name=qtwebengine-chromium;branch=${QT_MODULE_BRANCH_CHROMIUM};protocol=${QT_GIT_PROTOCOL};destsuffix=git/src/3rdparty \
${QT_GIT}/${QT_GIT_PROJECT}/qtwebengine-chromium.git;name=qtwebengine-chromium;branch=${QT_MODULE_BRANCH_CHROMIUM};protocol=${QT_GIT_PROTOCOL};destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/src/3rdparty \
file://0001-CMake-use-generated-yocto-toolchains.patch \
file://0002-Enable-examples.patch \
"

View File

@ -1,4 +1,4 @@
From efa68fdedbec60380946f69a6a2f985958148e83 Mon Sep 17 00:00:00 2001
From a485259228b3692e7874c6d5a2b41f91da47fa4c Mon Sep 17 00:00:00 2001
From: Samuli Piippo <samuli.piippo@qt.io>
Date: Wed, 18 Aug 2021 15:09:41 +0300
Subject: [PATCH] CMake: use generated yocto toolchains
@ -11,15 +11,15 @@ target binaries where needed.
Upstream-Status: Inappropriate [embedded specific]
Change-Id: I217c9122144f25bb2d28717e7248c2a51b149127
---
cmake/Functions.cmake | 12 +++++-------
src/CMakeLists.txt | 2 +-
cmake/QtToolchainHelpers.cmake | 12 +++++-------
src/CMakeLists.txt | 2 +-
2 files changed, 6 insertions(+), 8 deletions(-)
diff --git a/cmake/Functions.cmake b/cmake/Functions.cmake
index 3371e5ff5..ac889d3f7 100644
--- a/cmake/Functions.cmake
+++ b/cmake/Functions.cmake
@@ -825,7 +825,7 @@ endfunction()
diff --git a/cmake/QtToolchainHelpers.cmake b/cmake/QtToolchainHelpers.cmake
index eaa3a4339..9a6d57945 100644
--- a/cmake/QtToolchainHelpers.cmake
+++ b/cmake/QtToolchainHelpers.cmake
@@ -210,7 +210,7 @@ endfunction()
macro(create_pkg_config_host_wrapper buildDir)
find_package(PkgConfigHost)
@ -28,7 +28,7 @@ index 3371e5ff5..ac889d3f7 100644
create_pkg_config_wrapper("${buildDir}/pkg-config-host_wrapper.sh" "${PKG_CONFIG_HOST_EXECUTABLE}")
set(PKG_CONFIG_HOST_EXECUTABLE "${buildDir}/pkg-config-host_wrapper.sh")
endif()
@@ -1097,14 +1097,12 @@ macro(append_toolchain_setup)
@@ -551,14 +551,12 @@ macro(append_toolchain_setup)
elseif(LINUX)
get_gn_arch(cpu ${TEST_architecture_arch})
list(APPEND gnArgArg
@ -48,14 +48,14 @@ index 3371e5ff5..ac889d3f7 100644
list(APPEND gnArgArg host_cpu="${cpu}")
endif()
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 0084697f2..1c9059ae6 100644
index 453b2c1b6..6b8c5c254 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -161,7 +161,7 @@ endif()
@@ -114,7 +114,7 @@ endif()
# HOST PROJECT
##
-if(CMAKE_CROSSCOMPILING AND NOT IOS AND NOT MACOS)
-if(CMAKE_CROSSCOMPILING AND NOT IOS AND NOT MACOS AND NOT WIN32)
+if(FALSE)
if(NOT Gn_FOUND)

View File

@ -1,4 +1,4 @@
From 23d02fd87c766b6aef2a5aa81186b3db3f13b82a Mon Sep 17 00:00:00 2001
From 03c0f7089ee4f54883073f9df23d379da35c9f35 Mon Sep 17 00:00:00 2001
From: Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com>
Date: Tue, 7 Nov 2017 15:24:32 +0100
Subject: [PATCH] v8: qemu wrapper
@ -16,10 +16,10 @@ Signed-off-by: Maksim Sisov <msisov@igalia.com>
2 files changed, 5 insertions(+)
diff --git a/chromium/tools/v8_context_snapshot/BUILD.gn b/chromium/tools/v8_context_snapshot/BUILD.gn
index d868696dbf2..298273818ef 100644
index 35c8c606a22..d3097e55e56 100644
--- a/chromium/tools/v8_context_snapshot/BUILD.gn
+++ b/chromium/tools/v8_context_snapshot/BUILD.gn
@@ -72,6 +72,7 @@ if (use_v8_context_snapshot) {
@@ -46,6 +46,7 @@ if (use_v8_context_snapshot) {
output_path = rebase_path(output_file, root_build_dir)
args = [
@ -28,10 +28,10 @@ index d868696dbf2..298273818ef 100644
"root_out_dir") +
"/v8_context_snapshot_generator",
diff --git a/chromium/v8/BUILD.gn b/chromium/v8/BUILD.gn
index 2f99c3d70b0..9b28cf2ed4c 100644
index dcc3acbf8b3..c1fc540971a 100644
--- a/chromium/v8/BUILD.gn
+++ b/chromium/v8/BUILD.gn
@@ -1870,6 +1870,7 @@ template("run_torque") {
@@ -2240,6 +2240,7 @@ template("run_torque") {
}
args = [
@ -39,7 +39,7 @@ index 2f99c3d70b0..9b28cf2ed4c 100644
"./" + rebase_path(
get_label_info(":torque($toolchain)", "root_out_dir") + "/torque",
root_build_dir),
@@ -2002,6 +2003,7 @@ action("generate_bytecode_builtins_list") {
@@ -2403,6 +2404,7 @@ action("generate_bytecode_builtins_list") {
outputs = [ "$target_gen_dir/builtins-generated/bytecodes-builtins-list.h" ]
deps = [ ":bytecode_builtins_list_generator($v8_generator_toolchain)" ]
args = [
@ -47,15 +47,15 @@ index 2f99c3d70b0..9b28cf2ed4c 100644
"./" + rebase_path(
get_label_info(
":bytecode_builtins_list_generator($v8_generator_toolchain)",
@@ -2047,6 +2049,7 @@ template("run_mksnapshot") {
data = []
@@ -2475,6 +2477,7 @@ template("run_mksnapshot") {
}
args = [
args += [
+ "../../../../v8-qemu-wrapper.sh",
"./" + rebase_path(get_label_info(":mksnapshot($v8_snapshot_toolchain)",
"root_out_dir") + "/mksnapshot",
root_build_dir),
@@ -5849,6 +5852,7 @@ if (v8_enable_i18n_support) {
@@ -7515,6 +7518,7 @@ if (v8_enable_i18n_support) {
outputs = [ output_file ]
args = [

View File

@ -60,7 +60,7 @@ PACKAGECONFIG[libvpx] = "-DFEATURE_webengine_system_libvpx=ON,-DFEATURE_webengin
PACKAGECONFIG[libwebp] = "-DFEATURE_webengine_system_libwebp=ON,-DFEATURE_webengine_system_libwebp=OFF,libwebp libwebp-native"
PACKAGECONFIG[libxml] = "-DFEATURE_webengine_system_libxml=ON,-DFEATURE_webengine_system_libxml=OFF,libxml2 libxslt"
PACKAGECONFIG[opus] = "-DFEATURE_webengine_system_opus=ON,-DFEATURE_webengine_system_opus=OFF,libopus"
PACKAGECONFIG[ozone-x11] = "-DFEATURE_webengine_ozone_x11=ON,-DFEATURE_webengine_ozone_x11=OFF,libxcomposite libxcursor libxi libxrandr libxtst libxkbfile libxdamage virtual/libgl"
PACKAGECONFIG[ozone-x11] = "-DFEATURE_webengine_ozone_x11=ON,-DFEATURE_webengine_ozone_x11=OFF,libxcomposite libxcursor libxi libxrandr libxtst libxkbfile libxdamage libxshmfence libdrm virtual/libgl"
PACKAGECONFIG[libpci] = "-DFEATURE_webengine_system_libpci=ON,-DFEATURE_webengine_system_libpci=OFF,pciutils"
PACKAGECONFIG[pepper-plugins] = "-DFEATURE_webengine_pepper_plugins=ON,-DFEATURE_webengine_pepper_plugins=OFF"
PACKAGECONFIG[printing-and-pdf] = "-DFEATURE_webengine_printing_and_pdf=ON,-DFEATURE_webengine_printing_and_pdf=OFF,cups"
@ -74,6 +74,11 @@ PACKAGECONFIG[webrtc] = "-DFEATURE_webengine_webrtc=ON,-DFEATURE_webengine_webrt
PACKAGECONFIG[webrtc-pipewire] = "-DFEATURE_webengine_webrtc_pipewire=ON,-DFEATURE_webengine_webrtc_pipewire=OFF,pipewire glib-2.0 libepoxy virtual/libgbm"
PACKAGECONFIG[zlib] = "-DFEATURE_webengine_system_zlib=ON -DFEATURE_webengine_system_minizip=ON,-DFEATURE_webengine_system_zlib=OFF -DFEATURE_webengine_system_minizip=OFF,zlib minizip"
do_install:append() {
# remove conflicting files with QtPdf
rm -f ${D}${libdir}/sbom/qtpdf*
}
FILES:${PN} += "\
${QT6_INSTALL_TRANSLATIONSDIR} \
${QT6_INSTALL_DATADIR}/resources \

View File

@ -21,3 +21,6 @@ COMPATIBLE_MACHINE:armv6 = "(.*)"
COMPATIBLE_MACHINE:armv7a = "(.*)"
COMPATIBLE_MACHINE:armv7ve = "(.*)"
COMPATIBLE_MACHINE:x86-64 = "(.*)"
inherit features_check
REQUIRED_DISTRO_FEATURES = "opengl"

View File

@ -0,0 +1,113 @@
LICENSE = "Squish-Commercial-License-Agreement"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a25acc1c5f693af9921102a049958aa8"
EXCLUDE_FROM_WORLD = "1"
inherit qt6-qmake
# location where Squish release packages can be downloaded
SQUISH_MIRROR ?= ""
SQUISH_LICENSE_KEY ?= ""
python __anonymous() {
if not (d.getVar('SQUISH_MIRROR') and d.getVar('SQUISH_LICENSE_KEY')):
raise bb.parse.SkipRecipe("You need to define SQUISH_MIRROR and SQUISH_LICENSE_KEY in the config", d)
}
SQUISH_INSTALLER = "squish-${PV}-qt69x-linux64.run"
SRC_URI = "\
${SQUISH_MIRROR}/${SQUISH_INSTALLER};name=squish \
${SQUISH_MIRROR}/squish-${PV}-qt-embedded-src.tar.gz;name=qt-squish-embedded;subdir=${BP};striplevel=1 \
"
SRC_URI[squish.sha256sum] = "4bad3059b3c24e1cbedea4ae261e0a1789ac0c4b74083c5216c8e4434354c53c"
SRC_URI[qt-squish-embedded.sha256sum] = "91201fcd038e48d7fefc68a3ad25dc6814999129679600e130e5451cd1a37d4f"
DEPENDS += "\
qtbase \
qt5compat \
"
PACKAGECONFIG ?= "\
appman \
qml \
${@bb.utils.filter('DISTRO_FEATURES', 'wayland', d)} \
"
PACKAGECONFIG[appman] = ",,qtapplicationmanager"
PACKAGECONFIG[qml] = ",,qtdeclarative qtdeclarative-native"
PACKAGECONFIG[wayland] = "--enable-wayland,--disable-wayland,qtwayland qtwayland-native wayland wayland-native"
lcl_maybe_fortify = ""
OE_QMAKE_PATH_HOST_LIBEXECS = "${STAGING_DIR_NATIVE}/${QT6_INSTALL_LIBEXECDIR}"
do_install_squish[cleandirs] = "${WORKDIR}/squish"
do_install_squish[network] = "1"
do_install_squish() {
SQUISH_INSTALLER=${UNPACKDIR}/${SQUISH_INSTALLER}
if [ ! -e $SQUISH_INSTALLER ]; then
SQUISH_INSTALLER=${WORKDIR}/${SQUISH_INSTALLER}
fi
chmod +x $SQUISH_INSTALLER
TMPDIR=${WORKDIR}/tmp XDG_RUNTIME_DIR=${WORKDIR}/tmp $SQUISH_INSTALLER \
-platform minimal unattended=1 targetdir=${WORKDIR}/squish ide=0 \
licensekey=${SQUISH_LICENSE_KEY}
}
do_configure() {
${S}/configure \
--disable-all \
--enable-qmake-config \
--enable-qt \
--enable-server \
--with-qmake=${STAGING_DIR_NATIVE}${QT6_INSTALL_BINDIR}/qmake \
--with-squishidl=${WORKDIR}/squish/bin/squishidl \
${PACKAGECONFIG_CONFARGS}
}
do_compile() {
./build ${@oe.utils.parallel_make_argument(d, '-j%d')}
}
do_install() {
DESTDIR=${D}/opt/squish
./build install DESTDIR=${DESTDIR}
install -d ${D}${QT6_INSTALL_PLUGINSDIR}
mv ${DESTDIR}/plugins/* ${D}${QT6_INSTALL_PLUGINSDIR}
rmdir ${DESTDIR}/plugins
sed -i -e 's|${RECIPE_SYSROOT}||' ${D}/opt/squish/etc/paths.ini
if [ -e ${D}/opt/squish/etc/squish-appman-hook.yaml ]; then
sed -i -e 's|PATH_TO_SQUISH|/opt/squish|' ${D}/opt/squish/etc/squish-appman-hook.yaml
fi
install -d ${D}${sysconfdir}/profile.d
cat > ${D}${sysconfdir}/profile.d/squish.sh <<EOF
export SQUISH_PREFIX=/opt/squish
export PATH="\$PATH:/opt/squish/bin"
EOF
}
FILES:${PN} += "\
${QT6_INSTALL_PLUGINSDIR} \
/opt/squish \
"
FILES:${PN}-dev += "\
/opt/squish/qtbuiltinhook.pri \
/opt/squish/LICENSE.txt \
/opt/squish/include \
/opt/squish/lib/cmake \
/opt/squish/sdk \
"
FILES:${PN}-dev:remove = "${FILES_SOLIBSDEV}"
FILES:${PN}-staticdev += "\
${QT6_INSTALL_PLUGINSDIR}/generic/*.a \
/opt/squish/lib/*.a \
/opt/squish/lib/extensions/qt/*.a \
"
addtask install_squish after do_unpack before do_configure
INSANE_SKIP:${PN}-src += "buildpaths"