Compare commits

...

169 Commits

Author SHA1 Message Date
Mikko Gronoff
3bc4f08b4c Revert "qtwebengine: add chromium patch"
This reverts commit 8a996419e0.

Reason for revert: merged upstream

Pick-to: 6.8
Change-Id: I22e768bd06b83b477b7e2d54aa3b61c602df4c0a
Reviewed-by: Tarja Sundqvist <tarja.sundqvist@qt.io>
2025-07-07 08:08:45 +00:00
Mikko Gronoff
23e8ca4dc6 Revert "qtgrpc: fix reference to TMPDIR QA issues"
This reverts commit 6cf2e7f212.
Reason for revert: fix merged upstream.

Pick-to: 6.8
Change-Id: Ia893f20be44a91eac7ab0d0d218dab413f28c5fd
Reviewed-by: Tarja Sundqvist <tarja.sundqvist@qt.io>
2025-07-07 08:08:38 +00:00
Mikko Gronoff
46859c2c55 qtconnectivity: update licenses
Pick-to: 6.8
Change-Id: I0ef68c865fc89601e5d574188df161d6e9a0141a
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2025-07-07 08:08:29 +00:00
Qt Submodule Update Bot
4c49987245 Update submodule refs on 'lts-6.8.4' in yocto/meta-qt6
Change-Id: I8221cd44c1be5323b731d6509f7fbb0a79a25efd
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2025-07-07 08:08:13 +00:00
Mikko Gronoff
8a996419e0 qtwebengine: add chromium patch
Add submitted chromium patch to fix CI integration
issue.

Change-Id: I9e56137722c0753406039968efa73e03c65df64e
Reviewed-by: Tarja Sundqvist <tarja.sundqvist@qt.io>
2025-07-04 08:49:26 +03:00
Samuli Piippo
5fe66403f8 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.

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-04 08:49:07 +03:00
Andreas Schirm
84ab6cace6 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.

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)
(cherry picked from commit 210d738f19)
2025-07-03 20:27:04 +00:00
Samuli Piippo
5ef554ee86 layer: add whinlatter to layer series
For the next Yocto 5.3 release.

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>
(cherry picked from commit 18bda8b8a5)
2025-07-02 10:57:50 +00:00
Mikko Gronoff
0f27f1f0e5 qt6: update licenses
Update licenses following SPDX changes in several modules.

Change-Id: I46dda860f6a9c5dc79c9006df7d8094146d50e00
Reviewed-by: Tarja Sundqvist <tarja.sundqvist@qt.io>
2025-07-02 10:21:38 +03:00
Qt Submodule Update Bot
575869fca1 Update submodule refs on 'lts-6.8' in yocto/meta-qt6
Change-Id: I28ec097f9650a45db4e789b40ba1652fd47b3be8
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-07-02 07:21:33 +00:00
Mikko Gronoff
77c89ca281 qtmultimedia: update licenses
Change-Id: I11f64c851602fa8bc647c6ab23f5e6ecd2eb5c40
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2025-06-27 09:21:00 +03:00
Mikko Gronoff
63a7a7897b qtscxml: update licenses
Change-Id: Icfe65f36ccad4eedcf89f32a7a1d84d850350843
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2025-06-27 09:20:55 +03:00
Mikko Gronoff
27455ef3f8 qttools: update licenses
Change-Id: Ia755a6938c7b35f023dce3e4d0910a5781ed9c43
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2025-06-27 09:20:49 +03:00
Mikko Gronoff
ae158e3141 qtspeech: update licenses
Change-Id: I9050215842bcc62c81180ff9709bdffa28ed7a81
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2025-06-27 09:20:43 +03:00
Mikko Gronoff
59335b93ee qtremoteobjects: update licenses
Change-Id: I1316f99fe6efb2627126c84edb361a7d750c795e
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2025-06-27 09:20:38 +03:00
Mikko Gronoff
e8905eb929 qtserialport: update licenses
Change-Id: Ia016e0ddfe781c7cb32e8249c9288d565512b17d
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2025-06-27 09:20:27 +03:00
Mikko Gronoff
e2b1623697 qtimageformats: update licenses
Change-Id: I73ea841d58944f851ee6ef3b4b17bc837cba517a
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2025-06-27 09:20:22 +03:00
Qt Submodule Update Bot
f06de4bbf8 Update submodule refs on 'lts-6.8' in yocto/meta-qt6
Change-Id: I9af64aabbf574580bcb95879a3438e7dde24b3f3
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-06-27 06:20:15 +00:00
Qt Submodule Update Bot
8fe845b1ef Update submodule refs on 'lts-6.8' in yocto/meta-qt6
Change-Id: I712651fd8c4f622580c37a0ba45bef3cfd2a5220
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-06-06 16:09:54 +00:00
Qt Submodule Update Bot
8a145c29e0 Update submodule refs on 'lts-6.8' in yocto/meta-qt6
Change-Id: I56f922e0a4c43ff363f782e68a375667da9f3da7
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-06-04 10:13:03 +00:00
Qt Submodule Update Bot
10528c09ed Update submodule refs on 'lts-6.8' in yocto/meta-qt6
Change-Id: I90907029e7563bd2ba76242e3ee807dad1f8d299
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-06-01 09:49:27 +00:00
Qt Submodule Update Bot
582b67b5f4 Update submodule refs on 'lts-6.8' in yocto/meta-qt6
Change-Id: Ic404cb0dd5ab170ee6e9be293f5a25a92d834e8a
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-05-27 15:36:50 +00:00
Samuli Piippo
82c0d891a7 SECURITY.md: add file
Add details about Qt Project security policy. The SECURITY.md file
is now required by the yocto-check-layer script.

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>
(cherry picked from commit 62aa0e3dbe)
2025-05-21 19:17:58 +00:00
Samuli Piippo
66806feffc 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.

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>
(cherry picked from commit 15e75b6032)
2025-05-21 19:17:58 +00:00
Qt Submodule Update Bot
918ac18a5c Update submodule refs on 'lts-6.8' in yocto/meta-qt6
Change-Id: I68236d3f7a399faa86a65f4cbfaac1a1fde059f4
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-05-17 00:37:59 +00:00
Samuli Piippo
b97d75d45f pyside6: use tqtc prefix for the module
This lets submodule update bot handle pyside6 updates in LTS branches.

Change-Id: I43113b032eee2a225b1ff565c89cdc93e5c44c55
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2025-05-16 06:12:59 +00:00
Mikko Gronoff
76a72f501d ptest: skip buildpaths QA tests for ptest packages
Amends commit 39560e5566 to
fix qtmultimedia QA Issue: File /usr/lib/qtmultimedia/ptest/tests/auto/integration/qml/tst_multimedia_qml in package qtmultimedia-ptest contains reference to TMPDIR [buildpaths]

Task-number: QTBUG-105913
Change-Id: Ib0d2b2d68fb1e27f82fb4190d6bce70c8c68f029
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2025-05-15 09:20:23 +03:00
Qt Submodule Update Bot
44a298a1fb Update submodule refs on 'lts-6.8' in yocto/meta-qt6
Change-Id: I1cb98545d0cacdfe237350fb50ceeafff5215034
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2025-05-15 09:20:16 +03:00
Samuli Piippo
81346233b9 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.

Change-Id: I62b74f34bbcbe37060117681034614168b43690d
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit fb21821c4d)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-05-07 11:57:23 +00:00
Samuli Piippo
8d1adf732d 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.

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>
(cherry picked from commit 44ef3480d3)
2025-05-07 11:57:23 +00:00
Samuli Piippo
dbf9670206 squish: upgrade to Squish 9.0.1
Latest Squish release.

Change-Id: Ib80e6a3827e27aea60e6e5611d1209fb4e166dc3
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2025-05-06 09:28:07 +00:00
Samuli Piippo
2e65c7f10b pyside6: use correct site-packages dir
For multilib builds, pyside needs to be told correct site-packages dir.

Fixes: QTBUG-136018
Change-Id: Ife8ab54ad1f14a9730490c0345395d91fda0c64c
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2025-04-29 12:58:53 +00:00
Samuli Piippo
4849a274bc README: update support table
Add Yocto 5.3 Whinlatter, Qt 6.8 enters LTS phase and
Qt 6.7 is now EOL.

Change-Id: Ia4e270be1a9440508cb39ef618e8a5b430f6edf9
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 976ae87638)
(cherry picked from commit f80a7f25cd)
2025-04-29 15:58:23 +03:00
Samuli Piippo
5db43285ee coin: add CI build for walnascar
Add separate CI build for Yocto 5.2 Walnascar release.

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>
(cherry picked from commit 745d39e410)
2025-04-28 13:24:15 +00:00
Martin Jansa
f130af86d0 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 "'

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>
(cherry picked from commit c686e0fe69)
2025-04-28 09:46:18 +00:00
Samuli Piippo
2bea030247 squish: add squish tools to PATH
Update profile.d file to include the squish bin folder into PATH.

Fixes: QTBUG-135871
Change-Id: Ic9aa97078322c76690aa08b1ca1f441dac560369
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2025-04-28 08:03:17 +00:00
Samuli Piippo
4d7c35d7ac squish: upgrade to Squish 9.0.0
Latest release supporting Qt 6.8.

Change-Id: If8fb06c0d2e25f61187558d68f38667cf93af221
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2025-04-28 08:03:10 +00:00
Mikko Gronoff
adb13e7931 pyside6: remove branch override
Not needed.

Change-Id: Icdd7ab48f0d464f92460cb46e5d9d02f2db9b796
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2025-04-25 17:31:37 +03:00
Mikko Gronoff
8d4badb4fe Update Qt branch in qt6-commercial.inc
Use lts branch.

Change-Id: Ib1637649b1778df3cfa50b716affb860c449d44b
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
(cherry picked from commit 8e9598a200)
2025-04-25 14:31:25 +00:00
Mikko Gronoff
ef59c81b86 qt6: switch to commercial-only LTS repos and branches
6.8 enters LTS phase.

Original 6.5 branch commit adjusted to 6.8 by adding
lts configs additionally to qtdoc, qtgraphs & pyside6.

Change-Id: I09d479153a75489de12a877fbfa5cc2f1ec4ea07
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
(cherry picked from commit 67eeece339)
2025-04-25 17:31:15 +03:00
Qt Submodule Update Bot
c58fdf7af5 Update submodule refs on '6.8' in yocto/meta-qt6
Change-Id: Ib67d5468820b2c6fee36f3f14309775b2808ee71
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-04-09 10:06:01 +00:00
Qt Submodule Update Bot
e576ed86ce Update submodule refs on '6.8' in yocto/meta-qt6
Change-Id: Id97f5909c128a1ec722ae5a3ffc24662e909f717
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-04-02 15:59:48 +00:00
Samuli Piippo
7acdd77d25 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.

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>
(cherry picked from commit 76e166af28)
2025-04-02 14:41:38 +00:00
Mikko Gronoff
a74d5f58c5 qt5compat: update license
Update LIC_FILES_CHKSUM after SBOM related license change in the module.

Change-Id: I61e96fc9534005987252fb2f63a69ab3e95bf206
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
(cherry picked from commit 634cd54423)
2025-04-01 21:13:53 +03:00
Mikko Gronoff
6727d05ac7 qtsvg: update license
Change-Id: I49ce1dc1dd2482effdd152eb85b2fb709920965f
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2025-04-01 21:13:46 +03:00
Mikko Gronoff
b67bc707f1 qt3d: update license
Change-Id: Ie755bb7709c8b2702da48205b843cbde098ed2e5
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2025-04-01 18:13:35 +00:00
Qt Submodule Update Bot
e60cb240f9 Update submodule refs on '6.8' in yocto/meta-qt6
Change-Id: Id445117b405e6a166149bce2c5f17e374e5fb2dc
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-04-01 18:13:30 +00:00
Mikko Gronoff
36dbc5d0fa Bump version to 6.8.4
Change-Id: Icd9a1d3b4b8f9a61ac94f916912724553db314b7
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2025-03-31 13:11:19 +03:00
Samuli Piippo
5142300d47 squish: add squish license key configuration
Squish installer requires a license key, use SQUISH_LICENSE_KEY to
configure this. Move internal Squish configs into CI config files.

Task-number: QTBUG-134275
Change-Id: I0426fcf35e2a04498d7fbece68497d98208ce799
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2025-03-06 07:10:44 +00:00
Qt Submodule Update Bot
09db275a11 Update submodule refs on '6.8' in yocto/meta-qt6
Change-Id: Ie1def2040f94844b63c7d11d729cf8a540b389fa
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-03-03 20:24:01 +00:00
Samuli Piippo
12a8eebd53 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.

Change-Id: Ib72f090dee1ea972a2c883c4c5bde6cb403b479c
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
(cherry picked from commit 27ef905b04)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit a97248f16d)
2025-03-03 20:23:59 +00:00
Samuli Piippo
968064331d Enable at-spi bridge for wayland builds
Add dependency to at-spi2-core when building with wayland support,
it's needed for accessibility.

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>
(cherry picked from commit 4982bb1819)
2025-02-26 13:43:20 +00:00
Leon Anavi
f850801b80 python3-pyqt6: Fix unsafe for cross-compilation
Replace /usr/include/${PYTHON_DIR} (in this case python3.13) with
${PYTHON_INCLUDE_DIR} in all .pro files.

Fixes: cc1plus: error: include location "/usr/include/python3.13"
is unsafe for cross-compilation [-Werror=poison-system-directories]

The work was sponsored by GOVCERT.LU.

Change-Id: I42b9bd400d036aa411e80a9cc7db0515c12f2e8f
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2025-02-12 12:08:30 +02:00
Leon Anavi
d22e5b5339 python3-pyqt6: Add Upstream-Status
Add Upstream-Status in patch 0001-Fix-build-with-Qt-6.8.2.patch to
fix errors when building PyQt 6.8 based on Styhead or newer Yocto
releases.

The work was sponsored by GOVCERT.LU.

Change-Id: Ieccbab24320e68a7623017fb8616cb73354fb554
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2025-02-12 12:08:22 +02:00
Samuli Piippo
942ced9930 coin: don't use gold
oe-core/master has dropped support for ld-is-gold, don't use it
in CI test builds anymore.

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>
(cherry picked from commit 7030ade93a)
2025-02-12 09:56:54 +00:00
Leon Anavi
a35ce4d021 python3-pyqt6: Fix QStringConverterBase
Add a patch to fix QStringConverterBase after it has been made
move-only. The patch has been taken from a submission for the
openSUSE package: https://build.opensuse.org/requests/1242226

The work was sponsored by GOVCERT.LU.

Change-Id: Ie416f85bd4129af56eb674c0daa7a0ced41a9481
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2025-02-06 06:25:18 +02:00
Leon Anavi
3ff79d2e98 python3-pyqt6-sip: Upgrade 13.9.1 -> 13.10.0
After the migration from Mercurial to GitHub the homepage has
changed and PyQt6-sip is now licensed under the BSD-2-Clause
license. Upgrade to release 13.10.0.

This work was sponsored by GOVCERT.LU.

License-Update: PyQt6-sip is now licensed under the BSD-2-Clause.

Change-Id: Idda94fba3bbb1d76b2833c7bf615d36b06bb9bc7
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2025-02-06 06:25:15 +02:00
Leon Anavi
cc3fdd1604 python3-pyqt-builder-native: Upgrade 1.17.0 -> 1.18.0
Upgrade to release 1.18.0 with the following changes:

- Added support for the QtStateMachine module
- Missing Linux multimedia libraries in Qt v6.8
- Updated the default ABIs used
- Set the minimum glibc version on x86-64 to v2.28
- Include specific (L)GPL LICENSE file in Qt wheels
- A regression that prevented single architecture Qt installations
  being bundled on macOS was fixed.

The work was sponsored by GOVCERT.LU.

Change-Id: I3751c821a2cfce4a4f82136e7ec1a3c53852524b
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2025-02-06 06:25:11 +02:00
Leon Anavi
eb4219f29e python3-pyqt6: Add recipe for version 6.8.0
Port the recipe for building PyQt from meta-qt6 branch 6.7 to 6.8.
Update the recipe to version 6.8.0 with modules QtCore, QtGui,
QtNetwork, QtXml, QtNetwork, QtQml and QtSql.

The work was sponsored by GOVCERT.LU.

Change-Id: Ice4b75c7ad2de8ccce659f33bee683c558276487
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2025-02-06 04:25:06 +00:00
Leon Anavi
03a110ba97 python3-pyqt-builder-native: Add recipe
Port recipe python3-pyqt-builder-native from Qt 6.7 to Qt 6.8 and
update it to version 1.17.0.

The work was sponsored by GOVCERT.LU.

Change-Id: I66622da7b3bc87704fc681ce036fd7682e855cdc
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2025-02-06 04:25:03 +00:00
Leon Anavi
717f11380d python3-pyqt6-sip: Add version 13.9.1
The sip extension module provides support for the PyQt6 package.
This recipe has been ported from meta-qt6 branch 6.7 and updated
to version 13.9.1.

The work was sponsored by GOVCERT.LU.

Change-Id: Iea6421034abda646a1167e9e18846ae2117d93ca
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2025-02-06 04:24:59 +00:00
Samuli Piippo
4c36a281ef squish: use variable to include in commercial modules
If squish is available, USE_SQUISH variable can be used to
include it in the commercial packagegroup.

Change-Id: I50f3f1ac49f3ae7295877eef094c16d227703779
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2025-02-05 16:48:23 +00:00
Samuli Piippo
83524bd365 pyside6: include in the addons packagegroup
If meta-clang is available and Qt for Python is buildable,
include it in the addons packagegroup.
Add note to README about optional dependency to meta-clang.

Change-Id: Ia2a99fc1ce3305183630a022d0be79a95a1457d2
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2025-02-05 07:03:08 +00:00
Samuli Piippo
0baa4f9d3f qtpdf: use opengl DISTRO_FEATURE for dependencies
QtPdf requires opengl DISTRO_FEATURE, but it can be built independently
from the webengine.

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>
(cherry picked from commit 698b9135e1)
2025-02-02 15:10:07 +00:00
Samuli Piippo
86e1dd18f1 Add qttools tools package
QtTools tool package has few misc runtime tools that may be
useful during development.

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>
(cherry picked from commit f1de466a1e)
2025-02-02 15:10:01 +00:00
Samuli Piippo
3898060393 qtwebengine: require opengl
Both QtWebengine and QtPdf require opengl to be built. Check
for the DISTRO_FEATURE.

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>
(cherry picked from commit 3edb1e2d8b)
2025-02-02 15:10:00 +00:00
Samuli Piippo
b5c2cfa8d5 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.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>
(cherry picked from commit 4801c53e39)
2025-02-02 15:10:00 +00:00
Qt Submodule Update Bot
86192cd192 Update submodule refs on '6.8' in yocto/meta-qt6
Change-Id: I528cbc39a24b9fb8a1ec307f9f031143d22a2913
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-01-30 15:06:15 +00:00
Qt Submodule Update Bot
0b2ddb6c45 Update submodule refs on '6.8' in yocto/meta-qt6
Change-Id: Iba98f486ca131c2e12bb7d6de4368ff9986b460d
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-01-29 15:29:02 +00:00
Qt Submodule Update Bot
aeb29e31d2 Update submodule refs on '6.8' in yocto/meta-qt6
Change-Id: I5a99290cd289eac20371e81b9444708b942f9862
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-01-28 19:23:12 +00:00
Mikko Gronoff
fa5aad9eb9 qtvirtualkeyboard: update license checksum
Change-Id: I9efe7079a6b6e7dbd965181006a9c2645cf505c1
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
(cherry picked from commit 62c0de79db)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-01-27 15:52:57 +00:00
Qt Submodule Update Bot
5f714e5acc Update submodule refs on '6.8' in yocto/meta-qt6
Change-Id: I0debc916e940ea285e4f4137d7551a033cdd8a0c
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-01-27 15:52:56 +00:00
Samuli Piippo
660eb9a2ca qtbase: use correct relative path for scripts
Scripts in bin and libexec dirs need to have different relative paths
patched.

Pick-to: 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>
(cherry picked from commit 640a61b150)
2025-01-27 10:32:57 +00:00
Mikko Gronoff
e2de2d4bd8 Bump version to 6.8.3
Change-Id: If8a0ac92db818824cd8c47ce623426cf2cfd49ad
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2025-01-27 12:32:49 +02:00
Samuli Piippo
e441ea4ff1 squish: fix poison-system-directories error
Squish does not correctly use sysroot for freetype include,
causing cc1plus: error: include location "/usr/include/freetype2"
is unsafe for cross-compilation [-Werror=poison-system-directories]

Task-number: SQUISH-18588
Change-Id: I9aa30f3df02dbd1502e6f6697788016f6b88cd45
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2025-01-27 10:32:41 +00:00
Mikko Gronoff
a37c2b21a3 Revert "coin: temporarily drop pyside from CI kirkstone branch"
This reverts commit c0ecf9fb49.

Reason for revert: issue now resolved in pyside

Change-Id: I75bce034a878890b3a1cfaff55724b7f3d80c329
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2025-01-27 10:32:33 +00:00
Qt Submodule Update Bot
7eb85f35b5 Update submodule refs on '6.8' in yocto/meta-qt6
Change-Id: I9b74cccde167977fbb9beceb55bc018d26f12047
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2025-01-27 10:32:25 +00:00
Qt Submodule Update Bot
0cacd71698 Update submodule refs on '6.8' in yocto/meta-qt6
Change-Id: I217d700c7dba3afdc0f380c5cdad01a2e54130f0
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-01-22 08:27:22 +00:00
Qt Submodule Update Bot
7c013f0551 Update submodule refs on '6.8' in yocto/meta-qt6
Change-Id: I18661b18dd9d4c60c27b88a82448f1b8267d3a30
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-01-20 18:21:37 +00:00
Samuli Piippo
59ae85da51 qtwebengine: fix conflicting files with qtpdf
QtWebengine and QtPdf now generated SBOM files for both
modules. Need to remove wrong one to avoid conflicts.

Task-number: QTBUG-128893
Change-Id: I9baa4460a63e72e077e1b337906eac0c2d44a9af
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 7166be5225)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 60db51682c)
2025-01-18 07:14:28 +00:00
Samuli Piippo
6f9984394c qtbase: update patch
Update patch to work with latest changed.

Change-Id: I9834ec4d39ae657d4b89530ae454198db339f04e
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
(cherry picked from commit 28deeb771f)
2025-01-18 07:14:28 +00:00
Qt Submodule Update Bot
0418096309 Update submodule refs on '6.8' in yocto/meta-qt6
Change-Id: Ib4b43cbf536ad7fb75d27b7618ac245c05a10c28
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-01-18 07:14:28 +00:00
Samuli Piippo
365401cb2f qtgrpc: add optional dependency to qtdeclarative
QtGRPC has separate Quick module that needs qtdeclarative dependency.

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>
(cherry picked from commit 12c9ed7322)
2025-01-17 21:12:44 +00:00
Samuli Piippo
fffcb5054d 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.

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>
(cherry picked from commit d215f16cb2)
2025-01-17 21:12:44 +00:00
Samuli Piippo
ce16ade17b squish: update to Squish 8.1.0
Official release of Squish 8.1.0.
Add PACKAGECONFIGs for the optional Qt dependencies.
Fixup qtapplicationamanger yaml file to have correct path for squish.

Change-Id: I9dae4a0a96306fd4bb5b42858b225c553c5848c4
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2025-01-14 13:48:53 +00:00
Samuli Piippo
68a1b890a6 squish: support styhead
Support the new UNPACKDIR style used in styhead and the old WORKDIR
style used in older Yocto releases.
Skip buildpath QA tests for squish source package, generated source
files have references to build paths.

Change-Id: Ia3477abb29544219236f97d9d10c49fd49ef5509
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2025-01-14 13:48:41 +00:00
Samuli Piippo
8dd33e2dd2 Add squish support
Cherry-pick all squish changes from 6.7 branch.

Change-Id: I1adf38a7bf17e99df07cb1f052c365f01c10009f
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2025-01-14 13:48:30 +00:00
Samuli Piippo
52367a53b3 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.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>
(cherry picked from commit 77e33156cd)
2025-01-03 12:47:13 +00:00
Qt Submodule Update Bot
b7b198758c Update submodule refs on '6.8' in yocto/meta-qt6
Change-Id: I5e14de063d905fe406f3682d7a7c83260698e93e
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-12-20 23:42:33 +00:00
Samuli Piippo
ce6879ad36 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.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>
(cherry picked from commit 2f8732f679)
2024-12-19 13:35:23 +00:00
Samuli Piippo
4f08bdfecf 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.

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>
(cherry picked from commit 1673037a80)
2024-12-19 12:56:47 +00:00
Qt Submodule Update Bot
f43bbd8518 Update submodule refs on '6.8' in yocto/meta-qt6
Change-Id: Iabd47d815e9ce334ab235086833530bb649d9bdd
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-12-19 06:17:49 +00:00
Mikko Gronoff
c0ecf9fb49 coin: temporarily drop pyside from CI kirkstone branch
Recent update in pyside-setup bumped required LLVM
version 9->18. meta-clang(kirkstone) has version 14,
causing CI error in yocto kirkstone branch with latest
6.8 content:

"CMake Error at cmake/ShibokenHelpers.cmake:180 (message):
You need LLVM version 18.0 or greater to build."

Temporarily drop pyside from CI target until resolved.

Change-Id: I90f33a12e826a0899b55c1e014cd67906f6fb6ce
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2024-12-17 07:26:50 +00:00
Qt Submodule Update Bot
b68032744d Update submodule refs on '6.8' in yocto/meta-qt6
Change-Id: Ie8eff6c22927b37ea8be6025b185daf7f31954eb
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-12-17 07:26:37 +00:00
Mikko Gronoff
1386c10f5a 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
 "

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>
(cherry picked from commit 4dbc2215b7)
2024-12-17 06:52:45 +00:00
Samuli Piippo
ea458fb8aa 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.

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>
(cherry picked from commit 75c0f2c791)
2024-12-12 11:08:18 +00:00
Samuli Piippo
5fa20d720d 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".

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>
(cherry picked from commit 0b4a774077)
2024-12-10 06:21:16 +00:00
Samuli Piippo
92a1e3d320 Remove unneeded example files path
All examples are now in correct paths.

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>
(cherry picked from commit d0d61cd624)
2024-12-10 06:20:58 +00:00
Samuli Piippo
647c462add sdk: always include build tools
Include cmake and ninja always to sdk since mingw
can build both starting in kirkstone.

Task-number: QTBUG-131438
Change-Id: Ie5ab5320d412a11526682d15fa4fa15abb4ebd91
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 0892d298bc)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-11-26 13:25:05 +00:00
Qt Submodule Update Bot
f83b8b21f8 Update submodule refs on '6.8' in yocto/meta-qt6
Change-Id: Ia77392dbe40aa613699519ff321541699b587122
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-11-26 07:23:17 +00:00
Samuli Piippo
b3c2efb20d qtquick3d: update revision
Update to latest revision to fix QTBUG-131361

Change-Id: If10843b4bd2933a72639e9e1881e9d284417247f
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2024-11-25 09:09:52 +00:00
Mikko Gronoff
a81f9e412f qt6: update licenses
* Update qtopcua licenses
* More accurate licenses for webengine module

Change-Id: If142c7ae828db112688a927f4997963a9ffc620f
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2024-11-22 10:29:31 +00:00
Samuli Piippo
b637f4fb72 qttools: remove merged patch
The fix was merged in upstream.

Change-Id: I177595444e1b6a960894648e6a296377e1498a79
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2024-11-22 12:29:15 +02:00
Mikko Gronoff
ca31cae96a qtmultimedia: update revision
Update to include fix for QTBUG-131300

Change-Id: I18036240f19b17744c97b149b549ff06c725c064
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2024-11-22 12:29:04 +02:00
Qt Submodule Update Bot
a6d9bdaa14 Update submodule refs on '6.8' in yocto/meta-qt6
Change-Id: I6cd76e622268f88edce4517cc6ad1630d6f65343
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-11-22 10:28:56 +00:00
Mikko Gronoff
768b29cfc6 qt6: update licenses
The Qt-GPL-exception-1.0 license has removed from
qtmqtt & qtnetworkauth modules.

Change-Id: I6dbb14ff604baf05a855e3c96200a673bb83c342
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2024-11-19 12:33:25 +02:00
Mikko Gronoff
f02c6d1bd7 qt6: update licenses
- The Qt-GPL-exception-1.0 license has not been used in few modules
  for a while and the license file was now removed.
- Qtquick3d updated with latest license changes.

Change-Id: I71d52f468cf4ece2dd07a89fb16cd8afd52a103e
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
(cherry picked from commit 5f1af8ce01)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-11-19 10:33:10 +00:00
Mikko Gronoff
6d113d7ecd Bump version to 6.8.2
Change-Id: I887dfe25a5c36f73f8712146c04fc69fdbf05615
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2024-11-19 12:32:54 +02:00
Qt Submodule Update Bot
db18d758eb Update submodule refs on '6.8' in yocto/meta-qt6
Change-Id: I01a4640fb4c008de144e8f17a69d964310a142f9
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-11-19 10:32:41 +00:00
Samuli Piippo
5bf5b55c45 qt6: update licenses
Continue license changes from 92833a85e7,
more modules are affected.

Change-Id: Ide2ea6f5c9d040c193a146964029241ce3531379
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit be92484450)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-11-08 15:24:55 +00:00
Samuli Piippo
c81bcffa9d qt6: update licenses
The Qt-GPL-exception-1.0 license has not been used in few module
for a while and the license file was now removed.

More accurate licenses for qtdoc module.
(cherry-pick adjusted for 6.8 branch by removing qtwebengine.inc
& qtwebchannel_git.bb changes not yet landed in 6.8)

Change-Id: I7833593f0e45fb4c89cc8deff6124835dce3ba41
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 92833a85e7)
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2024-11-08 10:32:54 +02:00
Qt Submodule Update Bot
f95f697792 Update submodule refs on '6.8' in yocto/meta-qt6
Change-Id: Ic3acec5d43ff17d3b96080c9419ed58108d29818
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-11-08 08:32:33 +00:00
Samuli Piippo
b3e346d08a qttools: check available clang version
qttools required at least clang 17. Don't try to enable the support
unless suitable version is available. meta-clang defines LLVMVERSION
global variable with the version number.

Change-Id: I9df38bb475391a177daa8fde349718529f4350e5
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
(cherry picked from commit e8cf73dca6)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-11-05 17:51:51 +00:00
Samuli Piippo
52c5c346ae layer: add walnascar to layer series
For the next Yocto 5.2 release.

Change-Id: I813c4ad4271a3d59c73a5ea53aa99efac6a39eca
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit a73f4a0f48)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-11-05 17:51:51 +00:00
Samuli Piippo
3b2306f6b4 sdk: include staticdev packages by default
Some of the Qt modules have static libraries that need to be present
in the SDK for it work correctly. Use SDKIMAGE_FEATURES to include
staticdev packages to the SDK.

Fixes: QTBUG-130442
Pick-to: 6.5
Change-Id: I043e3ab02df212f6fdc656ae3dd542dd7a824fd9
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
(cherry picked from commit 6e1ec45c58)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-11-04 21:13:36 +00:00
Samuli Piippo
de258ca122 pyside6: remove unneeded patching
Fix has been merged in upstream, remove unneeded modifications.

Change-Id: Ifd6119a0fe2e045e23dca3f2079e862ef69c6374
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2024-11-01 08:11:30 +00:00
Mikko Gronoff
3cef727dc8 qtapplicationmanager: remove patch
The patch is now merged upstream.

Pick-to: dev
Change-Id: Iece64a6f482d478521558c79e9ec06919107d4d0
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2024-11-01 08:11:10 +00:00
Qt Submodule Update Bot
91ef10ca10 Update submodule refs on '6.8' in yocto/meta-qt6
Change-Id: I88e8d3195216ba5959780d4217bad8d3d8e1c8b5
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-11-01 08:11:00 +00:00
Samuli Piippo
0142dd8b52 readme: update release status
Add 6.8 as new stable release, and mark 6.6 and 6.2 as EOL.
Add Yocto 5.2 Walnascar as new yocto release to be supported in
dev (6.9) and 6.8. Nanbield is no longer tested on CI.

Change-Id: I3ba99550682a9b8868a096da99ade78def41e045
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 96ed615991)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-10-31 14:52:37 +00:00
Samuli Piippo
3163a99c08 qtpdf: workaround for wrong sbom file
Rename the incorrectly named sbom file

Fixes file /usr/lib/sbom/qtwebengine-6.9.0.spdx conflicts between
attempted installs of qtwebengine-dev-6.9.0-r0.cortexa15t2hf_neon
and qtpdf-dev-6.9.0-r0.cortexa15t2hf_neon

Task-number: QTBUG-128893
Change-Id: I3e205d8546653a9daa1f778945d3e5770d3a2f84
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 65b08e9246)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-10-30 04:01:47 +00:00
Samuli Piippo
91a2c3f321 Include SBOM files in -dev packages
Qt now produces SBOM (Software Bill of Material) files, include
those in the -dev packages.
The file cointains references to buildpaths, get rid of those
until fixed upstream.

Change-Id: Ibe2972649db74925aab3fbe0307fd679e1ea53bf
Reviewed-by: Alex Bu <alex.bu@qt.io>
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
(cherry picked from commit 958cb1592a)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-10-30 04:01:42 +00:00
Samuli Piippo
0d0f454c92 qttools: fix another example tracking buildpaths
Update patch to cover another example that track buildpaths.

Change-Id: I1632475346dfa0ff4e9e531a5001af81153b19df
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
(cherry picked from commit db307a670a)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-10-30 04:01:35 +00:00
Mikko Gronoff
3aa335136a qtapplicationmanager: refresh patch
Change-Id: Iec545bfec0bb619b891527a82591cc87f617f413
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2024-10-30 06:01:26 +02:00
Qt Submodule Update Bot
4267d2f1d1 Update submodule refs on '6.8' in yocto/meta-qt6
Change-Id: Icde099b0c169f2da037ff9669d6916649e657097
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-10-30 04:00:59 +00:00
Mikko Gronoff
affcbb744c Remove webengine related GCC13 patch
GCC bug affected webengine build in CI yocto branches (frozen master & nanbield), but the patch is now obsolete as master is correctly set to HEAD and nanbield got switched to styhead.

Change-Id: Ie1964d4709c0ba4a46b6ab8f65408695665b753e
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
(cherry picked from commit 313ed5b19c)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-10-28 07:58:24 +00:00
Samuli Piippo
98bb732d06 pyside6: remove buildpaths
Files have buildpath that cause QA error.

Change-Id: I97a16c7590c249c554461374de6e64b9bd7129f0
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2024-10-23 06:48:34 +00:00
Samuli Piippo
510150ef3c coin: add workaround for clang build
Add workaround until fixed in upstream:
nativesdk-liblldb contains reference to TMPDIR [buildpaths]

Change-Id: Ie0c68644141fd0544e95895f67b031186a296a6a
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
(cherry picked from commit abdf375a2e)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-10-23 06:48:22 +00:00
Samuli Piippo
1486448fdb coin: build against styhead
Nanbield is EOL, switch the build to Yocto 5.1 styhead.

Task-number: QTBUG-128570
Change-Id: Ie655e9a1dbfe0f806815c1d6951c01f262efb5a1
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit aec6f0103f)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-10-23 06:48:16 +00:00
Samuli Piippo
7e15f2c2ba qttools: remove buildpaths from the binaries
QDoc embeds a build time path to the qdoc binary and example
source path to the binary, which cause QA errors [buildpaths].

Change-Id: Ib7e818e5b97ec9b753bc7ec8060d507770b71a3b
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 6e5df35989)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-10-23 06:48:11 +00:00
Samuli Piippo
173bf9b87f ptest: skip buildpaths QA tests for ptest packages
A lot of auto test cases have references to buildpaths.
Skip the QA tests on failing modules until tests can be fixed.

Task-number: QTBUG-105913
Change-Id: Id8d36278f5a42f131f79ea60503365b7c64a864f
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 39560e5566)
2024-10-23 06:48:06 +00:00
Samuli Piippo
ce51849661 qtapplicationmanager: fix contains reference to TMPDIR QA issues
Temporarily add patch to fix a QA issue related to buildpaths.

Change-Id: If8e14c7834e2d20b22494549c0a1350cfdec6cb3
Task-number: QTBUG-105913
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
(cherry picked from commit 179259bc36)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-10-23 06:48:01 +00:00
Samuli Piippo
6cf2e7f212 qtgrpc: fix reference to TMPDIR QA issues
Temporarily add patch to fix a QA issue related to buildpaths.

Task-number: QTBUG-105913
Change-Id: Ic86bd65e81d9189abf0d18bac98991028a69f06c
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
(cherry picked from commit 78b79d3b55)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-10-23 06:47:56 +00:00
Samuli Piippo
b397bbabee Remove TMPDIR references from qmake files
Qmake files still have references to build time paths
that cannot be mapped to any real runtime path.

Task-number: QTBUG-105913
Change-Id: I047a21204e2154cbf36c8417ae0e2e63be45564f
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
(cherry picked from commit 259ef13336)
2024-10-23 06:47:51 +00:00
Samuli Piippo
ed91cc08df pyside6: include PySide6 recipes for Qt 6.8.1
Bring all pyside related changes from 6.7 branch to 6.8.

Fixes: PYSIDE-2889
Change-Id: I69b692815b715ebacd9ed708d0ca64c828021d82
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2024-10-22 07:51:56 +00:00
Qt Submodule Update Bot
586a6cb5ae Update submodule refs on '6.8' in yocto/meta-qt6
Change-Id: I26e0142cf09f72af63bfe7235fe98d261c45a852
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-10-09 22:17:02 +00:00
Qt Submodule Update Bot
82354cfe98 Update submodule refs on '6.8' in yocto/meta-qt6
Change-Id: I98e314cdbf62a884bb672b3753280d2a17f474b2
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-10-08 19:02:12 +00:00
Qt Submodule Update Bot
ade6783da0 Update submodule refs on '6.8' in yocto/meta-qt6
Change-Id: Ieba593e72d67daa3df347aaab206774282494631
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-10-07 18:00:06 +00:00
Qt Submodule Update Bot
0ca353d286 Update submodule refs on '6.8' in yocto/meta-qt6
Change-Id: If234f922b546fa1eaf56b6bf246233690748e26a
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-10-03 13:59:04 +00:00
Mikko Gronoff
b374cf646e Bump version to 6.8.1
Change-Id: Ic4a4d84a08585f2e3c0e275794015f24fcab260a
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2024-10-02 13:01:00 +03:00
Qt Submodule Update Bot
781bc5c42a Update submodule refs on '6.8' in yocto/meta-qt6
Change-Id: I6389f6afad0e0b9c73670b6076e451dc32bf3f5c
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-10-02 06:30:05 +00:00
Qt Submodule Update Bot
647dca1d50 Update submodule refs on '6.8' in yocto/meta-qt6
Change-Id: Ie9288e153ac23b347c920b0225562c93449b1365
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-09-30 19:58:20 +00:00
Tim Blechmann
620c36bb23 Webengine: fix zlib cmake option
add missing =OFF to cmake options

Change-Id: I93074ac37f120fcc9810e63dd0fbc88bb73e7e44
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 5fd7b3e7bd)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-09-27 11:18:34 +00:00
Qt Submodule Update Bot
d9e6ff25f4 Update submodule refs on '6.8' in yocto/meta-qt6
Change-Id: Ibde0f7b7fc0fc92097ff584dd5acd14ccfa581e0
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-09-27 01:04:47 +00:00
Pasi Petäjäjärvi
99679ae21b Add CTF tracing backend configure option
Fixes: QTBUG-129169
Change-Id: I227cd5d7b7c51fb37b9138d6851b7a7aa2485c64
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit fcc3df76a9)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-09-24 11:22:19 +00:00
Ari Parkkila
f106de7027 qtpdf: Add dependency to webengine
QtWebengine depends on mesa-dev packages so opengl or vulkan
must be enabled on DISTRO_FEATURES to pass its config check.
Qtpdf is implemented within webengine so instead of forcing
support for opengl or vulkan make qtpdf depend on webengine.
This omits config where qtpdf is wanted without webengine.

Change-Id: I4e94201d3c2c3a1ef97549ec330f7c4c4408b3a9
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit d2241c2842)
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2024-09-23 07:00:35 +00:00
Mikko Gronoff
96e8095eca gcc-source: Only apply patch on GCC 13
Amends commit 649de76994.

Fixes: QTBUG-128511
Change-Id: If7b2b8bf2e48fb218d5fffcb0989cd6bb182551b
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
(cherry picked from commit 01692b5a8a)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-09-05 05:23:13 +00:00
Khem Raj
ea3f10eb3e qtwebengine: Add missing patch headers
Latest yocto turns missing Upstream-Status to be a build error

Change-Id: Ia63f38d3148d223c3c2367d209dfcbfbd2173634
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 0014b3894d)
Reviewed-by: Khem Raj <raj.khem@gmail.com>
2024-09-05 05:22:16 +00:00
Khem Raj
acfa89abe2 qtwebengine: Set DEBUG_LEVELFLAG to -g1
Latest master core layer has moved the debug level to
a new variable away from DEBUG_FLAGS, therefore set it
accordingly, use -g1 across all architectures, there is
no supported architectures where build with -g succeeds

Change-Id: I9bd79384894d610b6802450832e11ad7ee8a1cca
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit e3dfa2275d)
Reviewed-by: Khem Raj <raj.khem@gmail.com>
2024-08-29 10:05:17 +00:00
Qt Submodule Update Bot
0b5d762829 Update submodule refs on '6.8' in yocto/meta-qt6
Change-Id: I21576bae3e66094bcc38cf1d293986aba16bcd49
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-08-26 20:00:33 +00:00
Mikko Gronoff
5664699bcb Revert "qtwebengine: Add patch for cross-compilation error"
This reverts commit 7d3da9111f.

Reason for revert: merged upstream

Change-Id: I07dee7ae0084216197551259edef9c8aae020f70
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2024-08-26 11:36:43 +00:00
Mikko Gronoff
385b861a27 qtapplicationmanager: remove patch
Patch is now merged upstream.

Change-Id: I565f6dd84736f86a292231039354d0302680f0e8
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
(cherry picked from commit 9c8fbeb559)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-08-26 11:36:31 +00:00
Qt Submodule Update Bot
d6f7dba5e9 Update submodule refs on '6.8' in yocto/meta-qt6
Change-Id: I96b14aac8c4181c71873de2a7343e848d7f83138
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-08-26 11:36:13 +00:00
Mikko Gronoff
7d3da9111f qtwebengine: Add patch for cross-compilation error
Fixes build issue with certain imx8 targets.

Change-Id: I164d1b0ac5c18e29c86293b064bc553f1dc287c5
Reviewed-by: Alex Bu <alex.bu@qt.io>
2024-08-23 09:10:21 +03:00
Michal Klocek
4874464cf0 Do not build webnn with xnnpack (122-based) on yocto
The xnnpack build has own march flags, which are getting
overridden by yocto setup, this ends in broken compilation,
as gn has no clue about override. Therefore, build webnn
without xnnpack on yocto.

Change-Id: I426a452a5608a5da3bc630f8ec3389e0eb313ef4
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit a4ed875ee2)
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2024-08-21 08:33:40 +03:00
Michal Klocek
dca85f7c91 Fix cross compiler crash when compiling qtwebengine
The compilation distributed_point_functions project crashes
compiler. It issue is reported and solved here:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110280

Apply the patch as it released for 13.3

Fixes: QTBUG-126655
Change-Id: I999643f9e336af7dd98849897a18c731340ea932
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 649de76994)
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2024-08-21 08:33:35 +03:00
Mikko Gronoff
65a233e301 qtwebengine: update chromium branch
Updated to 122-based.

Change-Id: I3196e4a15d9bb714415f1c8e61778c2fb271e0f7
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 78e3092015)
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2024-08-21 08:33:29 +03:00
Mikko Gronoff
06abb7a4fa python3-qface: backport recipe from meta-oe master
Latest qtinterfaceframework requires qface version 2.0.11. Meta-qt6
layer used to have it some time ago, but it was moved to meta-python under
meta-openembedded. Only meta-openembedded(master) branch has required version
available currently.

Backport the recipe from meta-openembedded(master) branch:
https://git.openembedded.org/meta-openembedded/tree/meta-python/recipes-devtools/python/python3-qface_2.0.11.bb

Fixes build issue:
|   File "/home/qt/work/build/build/tmp/work/core2-32-poky-linux/qtinterfaceframework/6.7.3/recipe-sysroot-native/usr/lib/python3.11/site-packages/qface/utils.py", line 22, in load_filters
|     exec(path.text(), ctx)
|          ^^^^^^^^^
| AttributeError: 'PosixPath' object has no attribute 'text'

Change-Id: If3ba64fac1375452cba031358e67fd90b3331ba2
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
(cherry picked from commit f52437ef0a)
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2024-08-21 08:33:22 +03:00
Mikko Gronoff
2cfa6538fd qtapplicationmanager: update recipe
Add pending patch & flag to address appman tools
issue following 5fc4b8a36c02c601a6fabf2b393a93ed1f387de9.

Change-Id: Ic74d8929570a02fbcfc6e15931fb8f81bcea646e
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
(cherry picked from commit df565fa277)
2024-08-21 08:33:09 +03:00
Mikko Gronoff
6c86d3699a qt3d: update license
imgui component got updated & license updated.

Change-Id: I6609f9f65edb80dd4f2114734be342d8d611333e
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
(cherry picked from commit b109517cc2)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-08-21 08:32:46 +03:00
Mikko Gronoff
8b7c9a1ced qmlcompilerplus: Update licenses
SPDX license changes were applied on the module.

Change-Id: I53f2d2d756330e24c9073dcaefae53c6ef8e3271
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
(cherry picked from commit eeca91ef6c)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-08-21 08:32:40 +03:00
Mikko Gronoff
8ead4b03d5 qtdeviceutilities: update licenses
SPDX license changes were applied on the module.

Change-Id: Id41c227a182c158801398e28b571c8f96196e2e2
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 3543fd8caf)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-08-21 08:32:34 +03:00
Mikko Gronoff
d1f9a245ba qtwayland: update license
HPND_LICENSE.txt location got moved a bit.

Change-Id: I2e51e6b381ddb67dd16489fa743c1c4e84d06bad
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
(cherry picked from commit 45e8893c6d)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-08-21 05:32:27 +00:00
Mikko Gronoff
729e1fac2a qtshadertools: update license
Amends commit e7c1f03660.
The MIT license got temporarily renamed with LicenseRef prefix.

Change-Id: Iafe1b3bb7511c4d8b5f0e2161433982c952cf74e
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit fb2bd89126)
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2024-08-21 08:32:21 +03:00
Mikko Gronoff
639c2329f7 qtshadertools: update licenses
Change-Id: If9f1a03d8e41253b218af9f1945039d05331e152
Reviewed-by: Alex Bu <alex.bu@qt.io>
(cherry picked from commit e7c1f03660)
2024-08-21 08:32:14 +03:00
Qt Submodule Update Bot
6195b2ebec Update submodule refs on '6.8' in yocto/meta-qt6
Change-Id: Iaa7765fc2b1a68cdba8693f965d66bc01af35574
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-08-21 05:32:07 +00:00
Christoph Fritz
b7dd88b628 qtpdf: add cups dependency
QtPDF depends on cups-config during 'bitbake <image> -c populate_sdk'.

Without this patch the build fails with:
 FileNotFoundError: [Errno 2] No such file or directory: 'cups-config'

Signed-off-by: Christoph Fritz <chf.fritz@googlemail.com>
Fixes: QTBUG-126996
Change-Id: I28b47687159717b468373a32303447f80063d3cf
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
(cherry picked from commit bdc5526f0e)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-07-09 08:17:57 +00:00
Alex Bu
0e2daebe92 qtlocation: update licenses
Update licenses after SPDX changes were applied to the module.

Fixes: QTBUG-126397
Change-Id: Iccb2e1b64953bfe0442fb9bf8963c10f66607438
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
(cherry picked from commit 708d438421)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-06-18 11:39:25 +00:00
Antti Kokko
084ec5054c qt6-git.inc: Switch to 6.8 branch
Change-Id: I9ac0b80314fb9aefcbd03847b7f9d6c7b00a69a4
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2024-06-07 09:25:28 +03:00
Qt Submodule Update Bot
a4530f4dff Update submodule refs on '6.8' in yocto/meta-qt6
Change-Id: I97edb63f51d1b7b28b14e79731df2c81513482b6
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-06-03 19:54:42 +00:00
79 changed files with 1067 additions and 239 deletions

View File

@ -7,6 +7,10 @@ URI: https://git.openembedded.org/openembedded-core/
URI: https://git.openembedded.org/meta-openembedded/
and optionally:
URI https://github.com/kraj/meta-clang
Yocto version support
---------------------
@ -20,20 +24,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.7 | 6.6 | 6.5 | 6.4 | 6.3 | 6.2 |
|:---------- |:---:|:----:|:----:|:---:|:---:|:---:|:---:|
| styhead | x | x | | | | | |
| scarthgap | x | x | x | x | | | |
| nanbield | x | x | x | x | | | |
| mickledore | c | c | c | c | c | | |
| langdale | c | c | c | c | c | | |
| kirkstone | x | x | x | x | c | c | x |
| honister | | | c | c | c | c | c |
| hardknott | | | c | c | c | c | c |
| gatesgarth | | | c | c | c | c | c |
| dunfell | | | x | x | c | c | x |
| | | | | | | | |
| | dev |stable|stable| LTS | EOL | EOL | LTS |
| Yocto \ Qt | 6.8 | 6.7 | 6.6 | 6.5 | 6.4 | 6.3 | 6.2 |
|:---------- |:---:|:---:|:---:|:---:|:---:|:---:|:---:|
| whinlatter | x | | | | | | |
| walnascar | x | | | | | | |
| styhead | x | c | | | | | |
| scarthgap | x | c | c | x | | | |
| nanbield | c | c | c | c | | | |
| mickledore | c | c | c | c | c | | |
| langdale | c | c | c | c | c | | |
| kirkstone | 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 |
| | | | | | | | |
| | 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

@ -1,5 +1,7 @@
inherit qt6-paths
SDKIMAGE_FEATURES:append = " staticdev-pkgs"
SDK_POSTPROCESS_COMMAND:prepend = "create_qt6_sdk_files;"
EXE_EXT = ""
@ -25,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 = "\
@ -39,10 +41,21 @@ EXTRA_OECMAKE += "\
do_install:append() {
# Replace host paths with qmake built-in properties QTBUG-84725
# remove all references to TMPDIR that could not be replaced QTBUG-105877
find ${D} \( -name "*.pri" -or -name "*.prl" \) -exec \
sed -i -e 's|${STAGING_DIR_NATIVE}|$$[QT_HOST_PREFIX/get]|g' \
-e 's|${STAGING_DIR_HOST}|$$[QT_SYSROOT]|g' \
-e '/QMAKE_PRL_BUILD_DIR/d' {} \;
-e '/QMAKE_PRL_BUILD_DIR/d' \
-e '\|${WORKDIR}|d' {} \;
# Remove buildpaths from SBOM files
# QTBUG-130557
if [ -e ${D}${QT6_INSTALL_LIBDIR}/sbom ]; then
sed -i ${D}${QT6_INSTALL_LIBDIR}/sbom/*.spdx \
-e 's|${STAGING_DIR_NATIVE}||' \
-e 's|${S}||g' \
-e 's|${B}||'
fi
}
export QT_DISABLE_SHADER_DISK_CACHE = "1"

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 nanbield 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
@ -79,10 +79,10 @@ target4: &target4
variableValue: qemux86
- type: EnvironmentVariable
variableName: MANIFEST
variableValue: nanbield.xml
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,7 @@ instructions:
bitbake-layers add-layer ../meta-openembedded/meta-python
bitbake-layers add-layer ../meta-openembedded/meta-multimedia
bitbake-layers add-layer ../meta-mingw
bitbake-layers add-layer ../meta-clang
bitbake-layers add-layer ${SOURCE_DIR}
for conf in ${TEST_CONFIGS}; do

View File

@ -31,10 +31,19 @@ WARN_QA:remove = "${EXTRA_QA}"
# nativesdk-qemu-user-mips rdepends on nativesdk-bash, but it isn't a build dependency
INSANE_SKIP:nativesdk-qemu-user-mips = "build-deps"
# workaround for clang
# nativesdk-liblldb contains reference to TMPDIR [buildpaths]
INSANE_SKIP:append:pn-nativesdk-clang = " buildpaths"
# enable thumb for broader test coverage (oe-core autobuilder doesn't have thumb enabled)
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"
@ -43,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,7 +35,7 @@ LAYERVERSION_qt6-layer = "1"
LAYERDEPENDS_qt6-layer = "core openembedded-layer meta-python"
LAYERSERIES_COMPAT_qt6-layer = "kirkstone langdale mickledore nanbield scarthgap styhead"
LAYERSERIES_COMPAT_qt6-layer = "kirkstone langdale mickledore nanbield scarthgap styhead walnascar whinlatter"
LICENSE_PATH += "${LAYERDIR}/licenses"
@ -48,12 +48,15 @@ QT_GIT_PROJECT ?= "qt"
QT_GIT ?= "git://code.qt.io"
QT_GIT_PROTOCOL ?= "git"
QT_EDITION ?= "opensource"
QT_VERSION = "6.8.0"
QT_VERSION = "6.8.4"
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

@ -0,0 +1,24 @@
SUMMARY = "A generator framework based on a common modern IDL"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=eee61e10a40b0e3045ee5965bcd9a8b5"
SRC_URI[sha256sum] = "b55c239f3ae7e23c5c8434f38901c5bcacb6afd17e88e37934b46e44558df295"
inherit pypi setuptools3
DEPS = "\
python3-jinja2 \
python3-click \
python3-pyyaml \
python3-pytest \
python3-six \
python3-path \
python3-antlr4-runtime \
python3-watchdog \
python3-markupsafe \
python3-setuptools \
"
DEPENDS += "${DEPS}"
RDEPENDS:${PN} += "${DEPS}"
BBCLASSEXTEND = "nativesdk native"

View File

@ -0,0 +1,12 @@
SUMMARY = "The PEP 517 compliant PyQt build system"
HOMEPAGE = "https://pypi.org/project/PyQt-builder/"
LICENSE = "GPL-2.0-or-later"
LIC_FILES_CHKSUM = "file://LICENSE;md5=ed1d69a33480ebf4ff8a7a760826d84e"
SRC_URI[sha256sum] = "ce9930aafc1ce0af928a6944bcc80ecf78c23ffdcad6ac111306c4c71057848e"
inherit pypi python_setuptools_build_meta native
PYPI_PACKAGE = "pyqt_builder"
DEPENDS += "python3-setuptools-scm-native"

View File

@ -0,0 +1,12 @@
SUMMARY = "The sip module support for PyQt6"
HOMEPAGE = "https://github.com/Python-SIP/sip"
LICENSE = "BSD-2-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=bc996f4e03c98eae60de43496026f863"
SRC_URI[sha256sum] = "d6daa95a0bd315d9ec523b549e0ce97455f61ded65d5eafecd83ed2aa4ae5350"
inherit pypi setuptools3
PYPI_PACKAGE = "pyqt6_sip"
BBCLASSEXTEND = "native nativesdk"

View File

@ -0,0 +1,32 @@
From ee6c2c30eca67004e2b05f55ee1d82c3ab44b966 Mon Sep 17 00:00:00 2001
From: Christophe Marin <christophe@krop.fr>
Date: Sun, 2 Feb 2025 12:59:19 +0100
Subject: [PATCH] Fix build with Qt 6.8.2
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Fixes:
/home/abuild/rpmbuild/BUILD/python-PyQt6-6.8.0-build/PyQt6-6.8.0/build/QtCore/sipQtCoreQStringConverterBase.cpp:58:52: error: use of deleted function constexpr QStringConverterBase::QStringConverterBase(const QStringConverterBase&)
Upstream-Status: Pending
---
sip/QtCore/qstringconverter_base.sip | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sip/QtCore/qstringconverter_base.sip b/sip/QtCore/qstringconverter_base.sip
index d0c790f..6f7c301 100644
--- a/sip/QtCore/qstringconverter_base.sip
+++ b/sip/QtCore/qstringconverter_base.sip
@@ -22,7 +22,7 @@
%If (Qt_6_4_0 -)
-class QStringConverterBase
+class QStringConverterBase /NoDefaultCtors/
{
%TypeHeaderCode
#include <qstringconverter_base.h>
--
2.48.1

View File

@ -0,0 +1,110 @@
SUMMARY = "Python Qt6 Bindings"
HOMEPAGE = "https://www.riverbankcomputing.com/software/pyqt"
SECTION = "devel/python"
LICENSE = "GPL-3.0-only"
LIC_FILES_CHKSUM = "file://LICENSE;md5=d32239bcb673463ab874e80d47fae504"
inherit pypi python3targetconfig python3-dir qt6-qmake qt6-paths
PYPI_PACKAGE = "PyQt6"
SRC_URI[sha256sum] = "6d8628de4c2a050f0b74462e4c9cb97f839bf6ffabbca91711722ffb281570d9"
SRC_URI += "file://0001-Fix-build-with-Qt-6.8.2.patch"
S = "${WORKDIR}/PyQt6-${PV}"
B = "${S}/build"
DEPENDS += " \
qtbase \
qtdeclarative \
sip (>= 6.7.12) \
sip-native (>= 6.7.12) \
python3 \
python3-pyqt6-sip-native \
python3-pyqt6-sip \
python3-packaging-native \
python3-tomli-native \
python3-pyqt-builder-native \
python3-ply \
python3-ply-native \
"
RDEPENDS:${PN} += " \
qtbase \
qtdeclarative \
python3-core \
python3-pyqt6-sip \
"
# Disable support of 128bit ints and add path to Python.h
CXXFLAGS += " -DQT_NO_INT128 -I${PYTHON_INCLUDE_DIR}"
EXTRA_OEMAKE += "INSTALL_ROOT=${D}"
DISABLED_FEATURES = " \
PyQt_Desktop_OpenGL \
PyQt_Accessibility \
PyQt_SessionManager \
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', '', 'PyQt_OpenGL', d)} \
"
PYQT_MODULES = " \
QtCore \
QtGui \
QtNetwork \
QtXml \
QtNetwork \
QtQml \
QtSql \
"
do_configure() {
extra_args=""
for i in ${DISABLED_FEATURES}; do
extra_args="$extra_args --disabled-feature=$i"
done
for i in ${PYQT_MODULES}; do
extra_args="$extra_args --enable=$i"
done
cd ${S}
sip-build \
--verbose \
--confirm-license \
--scripts-dir="${bindir}" \
--build-dir="${B}" \
--target-dir="${PYTHON_SITEPACKAGES_DIR}" \
--no-make \
--qmake=${OE_QMAKE_QMAKE} \
--pep484-pyi \
--no-dbus-python \
$extra_args
QMAKE_PROFILES=${B}/PyQt6.pro
# Fixes: cc1plus: error: include location "/usr/include/python3.13"
# is unsafe for cross-compilation [-Werror=poison-system-directories]
sed -i "s|/usr/include/${PYTHON_DIR}|${PYTHON_INCLUDE_DIR}|g" ${B}/*/*.pro
}
do_compile:append() {
sed -i "s,${STAGING_DIR_TARGET},," ${B}/inventory.txt
}
do_install:append() {
sed -i "s,exec .*nativepython3,exec ${bindir}/python3," ${D}/${bindir}/*
}
# fix buildpaths warnings in python3-pyqt6-src
pyqt_fix_sources() {
find ${PKGD}/usr/src/debug/${PN} -type f -exec sed -i "s,\(${B}\|${S}\),/usr/src/debug/${PN}/${PV}-${PR},g" {} \;
}
PACKAGESPLITFUNCS:prepend = "pyqt_fix_sources"
# Ignore warnings about TMPDIR [buildpaths] in libpyqt6qmlplugin.so
INSANE_SKIP:${PN} += "buildpaths"
INSANE_SKIP:${PN}-dbg += "buildpaths"
FILES:${PN} += "${PYTHON_SITEPACKAGES_DIR} ${OE_QMAKE_PATH_PLUGINS}"

View File

@ -0,0 +1,35 @@
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
include recipes-qt/qt6/qt6-lts.inc
QT_GIT_PROJECT = "pyside"
QT_MODULE = "tqtc-pyside-setup"
QT_MODULE_REPO = "tqtc-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

@ -9,7 +9,9 @@ inherit packagegroup nativesdk
PACKAGEGROUP_DISABLE_COMPLEMENTARY = "1"
RDEPENDS:${PN} += " \
nativesdk-cmake \
nativesdk-make \
nativesdk-ninja \
nativesdk-packagegroup-qt6-toolchain-host-essentials \
nativesdk-packagegroup-qt6-toolchain-host-addons \
${@bb.utils.contains('QT_COMMERCIAL_MODULES', '1', 'nativesdk-packagegroup-qt6-toolchain-host-commercial', '', d)} \
@ -18,8 +20,6 @@ RDEPENDS:${PN} += " \
FORLINUXHOST:mingw32 = ""
FORLINUXHOST = " \
nativesdk-cmake \
nativesdk-ninja \
nativesdk-perl-modules \
nativesdk-python3-html5lib \
"

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,25 +51,25 @@ RDEPENDS:${PN} += " \
RDEPENDS:${PN}:append:aarch64 = "\
qtquick3dphysics \
qtpdf \
${@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 = "\
qtpdf \
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'qtpdf', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtwebengine qtwebview', '', d)} \
"
RDEPENDS:${PN}:append:armv7a = "\
qtpdf \
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'qtpdf', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtwebengine qtwebview', '', d)} \
"
RDEPENDS:${PN}:append:armv7ve = "\
qtpdf \
${@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 \
qtpdf \
${@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

@ -43,6 +43,10 @@ DEBUG_FLAGS:append:aarch64 = "-g1"
DEBUG_FLAGS:remove:x86-64 = "-g"
DEBUG_FLAGS:append:x86-64 = "-g1"
# The default debug level flag has moved from DEBUG_FLAGS to a new
# variable starting with Yocto 'styhead' (5.1) release
DEBUG_LEVELFLAG = "-g1"
# V8's JIT infrastructure requires binaries such as mksnapshot and
# mkpeephole to be run in the host during the build. However, these
# binaries must have the same bit-width as the target (e.g. a x86_64

View File

@ -1,6 +1,12 @@
LICENSE = "The-Qt-Company-Commercial"
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) & GFDL-1.3-no-invariants-only & BSD-3-Clause"
LIC_FILES_CHKSUM = " \
file://src/qmlcompilerplus/cppcodegen_p.h;endline=27;md5=6a1dccd03d0d5864357e72b67def8ff2 \
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 \
"
inherit qt6-cmake

View File

@ -1,16 +1,14 @@
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) & GFDL-1.3-no-invariants-only) & BSD-3-Clause & MIT"
LICENSE = "(The-Qt-Company-Commercial | (GPL-3.0-only & Qt-GPL-exception-1.0) & GPL-3.0-only & GFDL-1.3-no-invariants-only) & BSD-3-Clause & MIT"
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 \
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.txt;md5=f3c4ae64ab2a23f1b8734609e1a2d48a \
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 \
"
inherit qt6-cmake
@ -19,12 +17,13 @@ inherit features_check
REQUIRED_DISTRO_FEATURES = "opengl"
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-lts.inc
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,12 +7,13 @@ 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
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-lts.inc
include recipes-qt/qt6/qt6.inc
ENABLE_QMLCOMPILER = "0"

View File

@ -6,3 +6,4 @@ python() {
QT_GIT = "${QT_COMMERCIAL_GIT}"
QT_GIT_PROTOCOL = "${QT_COMMERCIAL_GIT_PROTOCOL}"
QT_MODULE = "tqtc-${BPN}"
QT_MODULE_BRANCH := "tqtc/lts-${QT_MODULE_BRANCH}"

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.8"
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 = "900a0d2c892194a6f56c322fba46eb7178639f7a"
SRCREV_tqtc-qtinsighttracker = "4076f0cddc0d58f89457a461e0fbbd746840f715"
SRCREV_tqtc-qtvncserver = "268149e7320ffef647de422250ae66ab05f6f871"
SRCREV_qt3d = "7436bbf6c57f288dea560a5eb90d8ab5b722834a"
SRCREV_qt3d-assimp = "5967dee48b0b8ed32a41579559570e380462a1dd"
SRCREV_qt5compat = "29a070f62732e14ffbdcad316f571a75e2c9b4ea"
SRCREV_qtbase = "244964d06a3ffcfea922f79c726ba9182149e2c7"
SRCREV_qtapplicationmanager = "2b0a6902f02b2f34e81fb6b788a63028bd236fd3"
SRCREV_qtcharts = "5d1e1c71de4f44b6765b2dc08624933a9e8be536"
SRCREV_qtcoap = "c110a072cf63fc1f6a54b2333696e60b18ca8ae2"
SRCREV_qtconnectivity = "3676fe7bede8cae706d58db15ceb38ef80d0e2c4"
SRCREV_qtdatavis3d = "97bf08196865d742ce1e032ec50b6b10e44cb1a7"
SRCREV_qtdeclarative = "4ad3d0c6096e6caefec74681eed86c2fa92149fd"
SRCREV_qtdeviceutilities = "b962a81d88e978cc54f01bc2e291f37763a20505"
SRCREV_qtdoc = "b395157ee6e932ccb3bd05e64e9e4a5fffe779bd"
SRCREV_qtgraphs = "0569f02599f25d705898de0c673140765b999884"
SRCREV_qtgrpc = "4e619fc2fcd6dc4d7d0928e9a2db034c8b68223f"
SRCREV_qthttpserver = "9472e2b3de6427648d4af82ac4c5f9138531131d"
SRCREV_qtimageformats = "14970083d0702de4f2ec162a07c8d97717c392f7"
SRCREV_qtinterfaceframework = "9fd99ecd36418ebe90ec1ba4bd50000da3b98a9d"
SRCREV_qtlanguageserver = "70898fe27b8c28e41d38b46b68049d278ef3162f"
SRCREV_qtlocation = "c9f12395bac82d0f0f2aa45caec765d1ed3bb5f0"
SRCREV_qtlottie = "2d6ec04ddd0567c901239a54fe7f909ba8b8aaa6"
SRCREV_qtmqtt = "22cc223fa0e3bf2b6def5ae01c3744fb475efc5d"
SRCREV_qtmultimedia = "c8ba076f80d1c100d237343a19887db51e091117"
SRCREV_qtnetworkauth = "b0e6658743494e097257a3c1b619abd116aaed9b"
SRCREV_qtopcua = "f5d9e4116be209b22ba812744178fe7a068e817f"
SRCREV_qtpositioning = "413ede61f32da23c446654a98f285ce06ef035c8"
SRCREV_qtquick3d = "cf8859dcdc2aede907dc36a138a527719dca016a"
SRCREV_qtquick3d-assimp = "5967dee48b0b8ed32a41579559570e380462a1dd"
SRCREV_qtquick3dphysics = "4cce79cd1594770dfcb280aabcb91ff360da38dc"
SRCREV_qtquickdesigner-components = "41eb62ef3f71a0c2c74de237cb0f5224a2cd94dc"
SRCREV_qtquicktimeline = "dae240097b0dc1749e038565f56406efd646855a"
SRCREV_qtremoteobjects = "dcacf5c7aa5b9ada58d256e206a8792294ce5462"
SRCREV_qtscxml = "a5c6c03fb27e00ce8155ab774808b585ccb70bb1"
SRCREV_qtsensors = "03368c437aebb46968635cbd5ea1f754e69297b0"
SRCREV_qtserialbus = "d2ef492af98c8cc25951e4d049742ea44cfa19ff"
SRCREV_qtserialport = "fbf728e58909a3952f3ba5d283db1ada7f463883"
SRCREV_qtshadertools = "50f1193245c47cadef4e74ee6d261c038d9796dc"
SRCREV_qtspeech = "4d7355d6da376d84b377034d514b259a9a650645"
SRCREV_qtsvg = "7c255093fa41d9885767a276e5a344c8780b9502"
SRCREV_qttools = "49438275bdf6b08ba46e2ea2d89753f1f9c63d76"
SRCREV_qttools-qlitehtml = "4f737256c0a698ff3ba380cbaef1ba80a16fc3a8"
SRCREV_tqtc-qmlcompilerplus = "a1f8b9739640654a7bd94f38bac8e1ce926e204c"
SRCREV_tqtc-qtinsighttracker = "d04484ca1d69a6b581221f9d31b0497fcc4f8dc4"
SRCREV_tqtc-qtvncserver = "9aa100fd7671520e322b87d9d3c532a6a01a0cf5"
SRCREV_tqtc-pyside-setup = "fcf29b2e1d6cc00064909f80e84baf1627d7ba69"
SRCREV_qt3d = "2c3be33307ade7ea5747ad1629154c6b411c1ffc"
SRCREV_qt3d-assimp = "647f94648c0ae24b9c6684383a9dbbc0e2fc23b7"
SRCREV_qt5compat = "258f7fc0c51ce355696f86fc0ba86253ced08427"
SRCREV_qtbase = "a3d31f3a79eff68f6ff7ca5cdba876b3320c8b4f"
SRCREV_qtapplicationmanager = "e6f55a99a123ba75afa3e6f69f9733978394d5aa"
SRCREV_qtcharts = "459eeba64f43428a6c60714d97c1f3cd095d212b"
SRCREV_qtcoap = "23bcc699f00d94561fece98e8d8fda1f54f93cc0"
SRCREV_qtconnectivity = "76c242f1f6fcb61eea6a19c9619b78f0fe7d6f63"
SRCREV_qtdatavis3d = "2fd2fae0f90f16b81d739998fde97a3dadd25f5d"
SRCREV_qtdeclarative = "84bd05c230d6bde508d7cc925bc2be05b22b0fa7"
SRCREV_qtdeviceutilities = "9adeba04db0bd507298409c97310895e366aad43"
SRCREV_qtdoc = "5a622acb4edadc147066e5ba9d7f42afb59e77fb"
SRCREV_qtgraphs = "21ee2c2ff8c381461a8de263273db27facab2020"
SRCREV_qtgrpc = "5d99e335aa66ab15cbb0c384bb4f953ea187a16d"
SRCREV_qthttpserver = "c8f40088bd4ce17a6635358023880d5137f944e2"
SRCREV_qtimageformats = "3b3c37d2763423538d98b65ed582a8871844bd46"
SRCREV_qtinterfaceframework = "3509ba7f1e3f701969290d2dd45c879f64e73c56"
SRCREV_qtlanguageserver = "6a972748514bd9f9220395199570c6458058e82b"
SRCREV_qtlocation = "4c860b7ebc1a9b48207a04dc6e01eee3b6dbd849"
SRCREV_qtlottie = "ff7119a0c17e8aef7292584a16c5069bdcace05f"
SRCREV_qtmqtt = "82f843d4c58cd09c6e2771da1eac388827f50e75"
SRCREV_qtmultimedia = "4364ea9422c935df545e1a3f5d9ee5679af4288c"
SRCREV_qtnetworkauth = "8d4b59675c9929280562eddadbe32bc357a29859"
SRCREV_qtopcua = "ffc94588ed556df39f9a0b044ec0443facb8fa33"
SRCREV_qtpositioning = "024ea0d0385f55fa48ff37a99f25949408b44558"
SRCREV_qtquick3d = "03056d00141fbc3bf1c08d782ad9843778613c6c"
SRCREV_qtquick3d-assimp = "647f94648c0ae24b9c6684383a9dbbc0e2fc23b7"
SRCREV_qtquick3dphysics = "d7e84dee6b44ec3d2dfd14764276a3040dcbd29e"
SRCREV_qtquickdesigner-components = "8c9e0faa0dd8b8adf019e357212e59898a7bebfb"
SRCREV_qtquicktimeline = "0dd5b87f2cee9a202fdfd3f1b8ef0aa687d96b32"
SRCREV_qtremoteobjects = "a1c902b5de6329ccb70378502ba0e01a2deefcab"
SRCREV_qtscxml = "2d781c24c37c14ac960be597c53d0aaa7b8051d5"
SRCREV_qtsensors = "02975eb415781b1d8744b74359de53564da32000"
SRCREV_qtserialbus = "fb28400e008ed8c8c8c9174cb6e97f8c1bf46ee2"
SRCREV_qtserialport = "7dfc13081bcd72cf4d16932028241dff62b1a685"
SRCREV_qtshadertools = "36870f68746a38ff14f39c5e6c8b495bd5958e42"
SRCREV_qtspeech = "d85e82440bd217cdd55f2e5022ca505b09945619"
SRCREV_qtsvg = "9110f78b98f0899462c103969c39081fee325b5c"
SRCREV_qttools = "ce039d9b2f66ab83593414deed5b3234b0e018ae"
SRCREV_qttools-qlitehtml = "3fe5821dad98747d6e41c9ed54b86c3d0eee9daf"
SRCREV_qttools-qlitehtml-litehtml = "6ca1ab0419e770e6d35a1ef690238773a1dafcee"
SRCREV_qttranslations = "937ab6d3d95aec88f80d72432f7cf07fc582e635"
SRCREV_qtvirtualkeyboard = "fe318ca5eada301d8bc19d2eebc23679607c970f"
SRCREV_qtwayland = "d72cd58a3f1e97a4e9be78d16536821c969c3569"
SRCREV_qtwebchannel = "9f1ca1c6bdde6adedeb215e487ebdb05a17ad2d0"
SRCREV_qtwebengine = "ebf9ad043daa53c310ea2d5ee9987afbc615e4cd"
SRCREV_qtwebengine-chromium = "814db44bc99f79d0c4a847e0cac4a398034ee2f3"
SRCREV_qtwebsockets = "9ee34de492ef99c518b5db34877cdc5ae652a883"
SRCREV_qtwebview = "3c5af32f1534f60ab2fc028fd02bb7c71b464046"
SRCREV_qttranslations = "e98168d470f29e7c4678548683bf22161b284cd1"
SRCREV_qtvirtualkeyboard = "e678b3bf7fa942c0c764f5443b1ebb1280042bde"
SRCREV_qtwayland = "8d73e64ac1624cb850528304eb708155dbe704db"
SRCREV_qtwebchannel = "589e7a911302b3c411587e4e7a2f11af668e6cb7"
SRCREV_qtwebengine = "dc84de514aa2b6fbc588a896288c1493ee4f2bca"
SRCREV_qtwebengine-chromium = "6763373d6a1d762846e780af5354aecfac3fe469"
SRCREV_qtwebsockets = "4b0a53f060b0ed626445351a1f6517fefc99408e"
SRCREV_qtwebview = "d9f2513859602b9d8a321c03f2a7df3264512558"

View File

@ -87,6 +87,7 @@ FILES:${PN}-dev += " \
${QT6_INSTALL_LIBDIR}/cmake \
${QT6_INSTALL_LIBDIR}/metatypes \
${QT6_INSTALL_LIBDIR}/pkgconfig \
${QT6_INSTALL_LIBDIR}/sbom \
${QT6_INSTALL_MKSPECSDIR} \
${QT6_INSTALL_QMLDIR}/*.qmltypes \
${QT6_INSTALL_QMLDIR}/*/*.qmltypes \
@ -120,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

@ -11,12 +11,16 @@ LIC_FILES_CHKSUM = " \
inherit qt6-cmake
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-lts.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"
EXTRA_OECMAKE += "-DQT_APPMAN_SKIP_EXCLUDE_TOOLS_FROM_DEFAULT_TARGET=ON"
PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'multi-process', '', d)}"
PACKAGECONFIG[tools-only] = "-DFEATURE_am_tools_only=ON, -DFEATURE_am_tools_only=OFF"
@ -26,9 +30,11 @@ 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* \
"
BBCLASSEXTEND = "nativesdk native"
INSANE_SKIP:${PN}-ptest += "buildpaths"

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

@ -15,14 +15,17 @@ LIC_FILES_CHKSUM = " \
inherit qt6-cmake
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-lts.inc
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,8 +56,9 @@ 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)}"
@ -63,6 +67,7 @@ PACKAGECONFIG_SYSTEM ?= ""
PACKAGECONFIG_DISTRO ?= ""
PACKAGECONFIG_DEFAULT ?= "\
accessibility \
${@bb.utils.contains_any('DISTRO_FEATURES', 'x11 wayland', 'accessibility-atspi-bridge', '', d)} \
dbus \
fontconfig \
glib \
@ -94,9 +99,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"
@ -116,10 +118,12 @@ PACKAGECONFIG[glib] = "-DFEATURE_glib=ON,-DFEATURE_glib=OFF,glib-2.0"
PACKAGECONFIG[icu] = "-DFEATURE_icu=ON,-DFEATURE_icu=OFF,icu"
PACKAGECONFIG[journald] = "-DFEATURE_journald=ON,-DFEATURE_journald=OFF,systemd"
PACKAGECONFIG[lttng] = "-DFEATURE_lttng=ON,-DFEATURE_lttng=OFF,lttng-ust"
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"
@ -193,6 +197,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
@ -206,7 +215,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

@ -1,14 +1,14 @@
LICENSE = "The-Qt-Company-Commercial | (GPL-3.0-only & Qt-GPL-exception-1.0) & GFDL-1.3-no-invariants-only"
LICENSE = "The-Qt-Company-Commercial | GPL-3.0-only & GFDL-1.3-no-invariants-only"
LIC_FILES_CHKSUM = " \
file://LICENSES/GFDL-1.3-no-invariants-only.txt;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
file://LICENSES/GPL-3.0-only.txt;md5=d32239bcb673463ab874e80d47fae504 \
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
file://LICENSES/Qt-GPL-exception-1.0.txt;md5=9a13522cd91a88fba784baf16ea66af8 \
"
inherit qt6-cmake
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-lts.inc
include recipes-qt/qt6/qt6.inc
DEPENDS += "qtbase"
@ -16,3 +16,4 @@ DEPENDS += "qtbase"
PACKAGECONFIG ?= "qml"
PACKAGECONFIG[qml] = ",,qtdeclarative qtdeclarative-native"
INSANE_SKIP:${PN}-ptest += "buildpaths"

View File

@ -10,6 +10,7 @@ LIC_FILES_CHKSUM = " \
inherit qt6-cmake
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-lts.inc
include recipes-qt/qt6/qt6.inc
DEPENDS += "qtbase"

View File

@ -1,22 +1,21 @@
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) & GFDL-1.3-no-invariants-only & BSD-3-Clause"
LICENSE = "The-Qt-Company-Commercial | GPL-3.0-only & GFDL-1.3-no-invariants-only & BSD-3-Clause"
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 \
"
inherit qt6-cmake
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-lts.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

@ -9,8 +9,11 @@ LIC_FILES_CHKSUM = " \
inherit qt6-cmake features_check
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-lts.inc
include recipes-qt/qt6/qt6.inc
REQUIRED_DISTRO_FEATURES = "opengl"
DEPENDS += "qtbase qtdeclarative qtdeclarative-native"
INSANE_SKIP:${PN}-ptest += "buildpaths"

View File

@ -13,9 +13,11 @@ LIC_FILES_CHKSUM = " \
inherit qt6-cmake
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-lts.inc
include recipes-qt/qt6/qt6.inc
DEPENDS += "qtbase qtshadertools qtshadertools-native qtdeclarative-native qtlanguageserver qtsvg"
BBCLASSEXTEND = "native nativesdk"
INSANE_SKIP:${PN}-ptest += "buildpaths"

View File

@ -1,8 +1,17 @@
LICENSE = "GPL-3.0-only | The-Qt-Company-Commercial"
LIC_FILES_CHKSUM = "file://LICENSE.GPL3;md5=d32239bcb673463ab874e80d47fae504"
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) & GFDL-1.3-no-invariants-only & BSD-3-Clause"
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 \
"
inherit qt6-cmake
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-lts.inc
include recipes-qt/qt6/qt6.inc
DEPENDS = "qtbase qtdeclarative qtdeclarative-native qtvirtualkeyboard"

View File

@ -1,4 +1,4 @@
LICENSE = "(The-Qt-Company-Commercial | (GPL-3.0-only & Qt-GPL-exception-1.0) & GFDL-1.3-no-invariants-only & BSD-3-Clause) & Apache-2.0 & CC-BY-4.0 & CC-BY-SA-4.0"
LICENSE = "(The-Qt-Company-Commercial | GPL-3.0-only & GFDL-1.3-no-invariants-only & BSD-3-Clause) & Apache-2.0 & CC-BY-4.0 & CC-BY-SA-4.0 & ISC"
LIC_FILES_CHKSUM = " \
file://LICENSES/Apache-2.0.txt;md5=b4c615f64dff32f71eeed614d13dfd4c \
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
@ -6,13 +6,14 @@ LIC_FILES_CHKSUM = " \
file://LICENSES/CC-BY-SA-4.0.txt;md5=7130783469368ceb248a4f03e89ea4b8 \
file://LICENSES/GFDL-1.3-no-invariants-only.txt;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
file://LICENSES/GPL-3.0-only.txt;md5=d32239bcb673463ab874e80d47fae504 \
file://LICENSES/ISC.txt;md5=2494cdbaca137fd93842fe9702e9bc4d \
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=caa060942f6b722bc4329d4195584c38 \
file://LICENSES/Qt-GPL-exception-1.0.txt;md5=9a13522cd91a88fba784baf16ea66af8 \
"
inherit qt6-cmake
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-lts.inc
include recipes-qt/qt6/qt6.inc
DEPENDS += "\
@ -29,12 +30,14 @@ DEPENDS += "\
qtsvg \
qtwebsockets \
"
DEPENDS:append:aarch64 = " qtpdf qtquick3dphysics"
DEPENDS:append:aarch64 = " ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'qtpdf', '', d)} qtquick3dphysics"
DEPENDS:append:arm = " qtquick3dphysics"
DEPENDS:append:armv6 = " qtpdf"
DEPENDS:append:armv7a = " qtpdf"
DEPENDS:append:armv7ve = " qtpdf"
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 = " qtpdf qtquick3dphysics"
DEPENDS:append:x86-64 = " ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'qtpdf', '', d)} qtquick3dphysics"
PACKAGECONFIG ?= "examples"
INSANE_SKIP:${PN}-ptest += "buildpaths"

View File

@ -10,6 +10,9 @@ LIC_FILES_CHKSUM = " \
inherit qt6-cmake
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-lts.inc
include recipes-qt/qt6/qt6.inc
DEPENDS += "qtbase qtdeclarative qtdeclarative-native qtquick3d qtquick3d-native"
INSANE_SKIP:${PN}-ptest += "buildpaths"

View File

@ -11,10 +11,14 @@ LIC_FILES_CHKSUM = " \
inherit qt6-cmake
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-lts.inc
include recipes-qt/qt6/qt6.inc
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"
BBCLASSEXTEND = "native nativesdk"
INSANE_SKIP:${PN}-ptest += "buildpaths"

View File

@ -1,15 +1,15 @@
LICENSE = "The-Qt-Company-Commercial | (GPL-3.0-only & Qt-GPL-exception-1.0) & GFDL-1.3-no-invariants-only & BSD-3-Clause"
LICENSE = "The-Qt-Company-Commercial | GPL-3.0-only & GFDL-1.3-no-invariants-only & BSD-3-Clause"
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-3.0-only.txt;md5=d32239bcb673463ab874e80d47fae504 \
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
file://LICENSES/Qt-GPL-exception-1.0.txt;md5=9a13522cd91a88fba784baf16ea66af8 \
"
inherit qt6-cmake
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-lts.inc
include recipes-qt/qt6/qt6.inc
DEPENDS += "qtbase"

View File

@ -1,16 +1,14 @@
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) & GFDL-1.3-no-invariants-only"
LICENSE = "The-Qt-Company-Commercial | GPL-3.0-only & GFDL-1.3-no-invariants-only"
LIC_FILES_CHKSUM = " \
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 \
"
inherit qt6-cmake
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-lts.inc
include recipes-qt/qt6/qt6.inc
DEPENDS += "qtbase"

View File

@ -11,6 +11,7 @@ LIC_FILES_CHKSUM = " \
inherit qt6-cmake
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-lts.inc
include recipes-qt/qt6/qt6.inc
FILES:${PN}-dev += " \
@ -30,3 +31,5 @@ PACKAGECONFIG[remoteobjects] = "-DFEATURE_remoteobjects=ON,-DFEATURE_remoteobjec
BBCLASSEXTEND = "native nativesdk"
PRIVATE_LIBS:${PN}-examples = "libInstrumentCluster.so"
INSANE_SKIP:${PN}-ptest += "buildpaths"

View File

@ -1,9 +1,7 @@
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) & GFDL-1.3-no-invariants-only"
LICENSE = "The-Qt-Company-Commercial | (GPL-3.0-only & Qt-GPL-exception-1.0) & GPL-3.0-only & GFDL-1.3-no-invariants-only"
LIC_FILES_CHKSUM = " \
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 \
"
@ -11,8 +9,11 @@ LIC_FILES_CHKSUM = " \
inherit qt6-cmake
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-lts.inc
include recipes-qt/qt6/qt6.inc
DEPENDS += "qtbase"
BBCLASSEXTEND = "native nativesdk"
INSANE_SKIP:${PN}-ptest += "buildpaths"

View File

@ -1,15 +1,16 @@
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) & GFDL-1.3-no-invariants-only & BSD-3-Clause"
LICENSE = "(The-Qt-Company-Commercial | GPL-3.0-only & GFDL-1.3-no-invariants-only) & BSD-3-Clause & MIT"
LIC_FILES_CHKSUM = " \
file://LICENSE.LGPL3;md5=e6a600fd5e1d9cbde2d983680233ad02 \
file://LICENSE.GPL2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
file://LICENSE.GPL3;md5=d32239bcb673463ab874e80d47fae504 \
file://LICENSE.GPL3-EXCEPT;md5=763d8c535a234d9a3fb682c7ecb6c073 \
file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e \
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
file://LICENSES/GFDL-1.3-no-invariants-only.txt;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
file://LICENSES/GPL-3.0-only.txt;md5=d32239bcb673463ab874e80d47fae504 \
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
file://LICENSES/MIT.txt;md5=3605d54ecceddcd50962eb89318779ec \
"
inherit qt6-cmake
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-lts.inc
include recipes-qt/qt6/qt6.inc
DEPENDS += "qtbase qtpositioning"
@ -20,3 +21,5 @@ PACKAGECONFIG[mapbox] = "-DFEATURE_geoservices_mapbox=ON,-DFEATURE_geoservices_m
PACKAGECONFIG[nokia] = "-DFEATURE_geoservices_nokia=ON,-DFEATURE_geoservices_nokia=OFF,"
PACKAGECONFIG[osm] = "-DFEATURE_geoservices_osm=ON,-DFEATURE_geoservices_osm=OFF,"
PACKAGECONFIG[qml] = ",,qtdeclarative qtdeclarative-native"
INSANE_SKIP:${PN}-ptest += "buildpaths"

View File

@ -1,15 +1,16 @@
LICENSE = "The-Qt-Company-Commercial | (GPL-3.0-only & Qt-GPL-exception-1.0) & GFDL-1.3-no-invariants-only"
LICENSE = "The-Qt-Company-Commercial | GPL-3.0-only & GFDL-1.3-no-invariants-only"
LIC_FILES_CHKSUM = " \
file://LICENSES/GFDL-1.3-no-invariants-only.txt;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
file://LICENSES/GPL-3.0-only.txt;md5=d32239bcb673463ab874e80d47fae504 \
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
file://LICENSES/Qt-GPL-exception-1.0.txt;md5=9a13522cd91a88fba784baf16ea66af8 \
"
inherit qt6-cmake
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-lts.inc
include recipes-qt/qt6/qt6.inc
DEPENDS += "qtbase qtdeclarative qtdeclarative-native"
INSANE_SKIP:${PN}-ptest += "buildpaths"

View File

@ -1,15 +1,15 @@
LICENSE = "The-Qt-Company-Commercial | (GPL-3.0-only & Qt-GPL-exception-1.0) & GFDL-1.3-no-invariants-only & BSD-3-Clause"
LICENSE = "The-Qt-Company-Commercial | GPL-3.0-only & GFDL-1.3-no-invariants-only & BSD-3-Clause"
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-3.0-only.txt;md5=d32239bcb673463ab874e80d47fae504 \
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
file://LICENSES/Qt-GPL-exception-1.0.txt;md5=9a13522cd91a88fba784baf16ea66af8 \
"
inherit qt6-cmake
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-lts.inc
include recipes-qt/qt6/qt6.inc
DEPENDS += "qtbase"

View File

@ -1,10 +1,8 @@
LICENSE = "(The-Qt-Company-Commercial | (GPL-3.0-only & Qt-GPL-exception-1.0) & (LGPL-3.0-only | GPL-3.0-only) & (LGPL-3.0-only | GPL-2.0-only | GPL-3.0-only) & GFDL-1.3-no-invariants-only ) & Apache-2.0 & BSD-3-Clause & MPL-2.0"
LICENSE = "(The-Qt-Company-Commercial | (GPL-3.0-only & Qt-GPL-exception-1.0) & GPL-3.0-only & GFDL-1.3-no-invariants-only ) & Apache-2.0 & BSD-3-Clause & MPL-2.0"
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 \
file://src/3rdparty/resonance-audio/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57 \
@ -16,6 +14,7 @@ LIC_FILES_CHKSUM = " \
inherit qt6-cmake
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-lts.inc
include recipes-qt/qt6/qt6.inc
DEPENDS += "qtbase qtshadertools qtshadertools-native"
@ -36,3 +35,5 @@ PACKAGECONFIG[vaapi] = "-DFEATURE_vaapi=ON,-DFEATURE_vaapi=OFF,libva"
QT_DEFAULT_MEDIA_BACKEND ?= "${@bb.utils.contains('PACKAGECONFIG', 'gstreamer', 'gstreamer', 'ffmpeg', d)}"
EXTRA_OECMAKE += "-DQT_DEFAULT_MEDIA_BACKEND=${QT_DEFAULT_MEDIA_BACKEND}"
INSANE_SKIP:${PN}-ptest += "buildpaths"

View File

@ -1,15 +1,15 @@
LICENSE = "The-Qt-Company-Commercial | (GPL-3.0-only & Qt-GPL-exception-1.0) & GFDL-1.3-no-invariants-only & BSD-3-Clause"
LICENSE = "The-Qt-Company-Commercial | GPL-3.0-only & GFDL-1.3-no-invariants-only & BSD-3-Clause"
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-3.0-only.txt;md5=d32239bcb673463ab874e80d47fae504 \
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
file://LICENSES/Qt-GPL-exception-1.0.txt;md5=9a13522cd91a88fba784baf16ea66af8 \
"
inherit qt6-cmake
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-lts.inc
include recipes-qt/qt6/qt6.inc
DEPENDS += "qtbase"

View File

@ -1,12 +1,16 @@
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) & GFDL-1.3-no-invariants-only) & BSD-3-Clause & CC-BY-SA-4.0 & CC0-1.0 & MIT & MPL-2.0"
LICENSE = "(The-Qt-Company-Commercial | GPL-3.0-only & (LGPL-3.0-only | GPL-2.0-only | GPL-3.0-only) & GFDL-1.3-no-invariants-only) & BSD-3-Clause & CC-BY-SA-4.0 & CC0-1.0 & MIT & MPL-2.0"
LIC_FILES_CHKSUM = " \
file://LICENSES/Apache-2.0.txt;md5=b4c615f64dff32f71eeed614d13dfd4c \
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
file://LICENSES/CC0-1.0.txt;md5=65d3616852dbf7b1a6d4b53b00626032 \
file://LICENSES/CC-BY-SA-4.0.txt;md5=bb082061306cc1dc0afcd128f972d344 \
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 \
file://LICENSES/MIT.txt;md5=3605d54ecceddcd50962eb89318779ec \
file://LICENSES/MPL-2.0.txt;md5=48a3fe23ed1353e0995dadfda05ffdb6 \
file://src/3rdparty/open62541/BSD-3-CLAUSE;md5=8647c60c0b1892cb8f30c8efd60b318f \
file://src/3rdparty/open62541/CC-BY-SA-4.0;md5=bb082061306cc1dc0afcd128f972d344 \
file://src/3rdparty/open62541/LICENSE-2.0.txt;md5=3b83ef96387f14655fc854ddc3c6bd57 \
@ -18,10 +22,14 @@ LIC_FILES_CHKSUM = " \
inherit qt6-cmake
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-lts.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
@ -31,3 +39,5 @@ SECURITY_STRINGFORMAT = ""
DEPENDS += "qtbase qtopcua-native"
BBCLASSEXTEND = "native nativesdk"
INSANE_SKIP:${PN}-ptest += "buildpaths"

View File

@ -2,6 +2,7 @@ require recipes-qt/qt6/qtwebengine.inc
require recipes-qt/qt6/chromium-gn.inc
DEPENDS += " \
cups \
nodejs-native \
gperf-native \
bison-native \
@ -33,4 +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
rm -f ${D}${libdir}/sbom/qtwebengine*
}

View File

@ -13,6 +13,7 @@ LIC_FILES_CHKSUM = " \
inherit qt6-cmake
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-lts.inc
include recipes-qt/qt6/qt6.inc
DEPENDS += "qtbase"
@ -22,3 +23,5 @@ PACKAGECONFIG[geoclue] = ",,,geoclue"
PACKAGECONFIG[gypsy] = "-DFEATURE_gypsy=ON,-DFEATURE_gypsy=OFF,gconf gypsy"
PACKAGECONFIG[nmea] = ",,qtserialport"
PACKAGECONFIG[qml] = ",,qtdeclarative qtdeclarative-native"
INSANE_SKIP:${PN}-ptest += "buildpaths"

View File

@ -1,10 +1,11 @@
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) & GFDL-1.3-no-invariants-only) & Apache-2.0 & BSD-3-Clause & MIT"
LICENSE = "(The-Qt-Company-Commercial | (GPL-3.0-only & Qt-GPL-exception-1.0) & GPL-3.0-only & GFDL-1.3-no-invariants-only) & Apache-2.0 & BSD-3-Clause & BSL-1.0 & CC-BY-4.0 & MIT"
LIC_FILES_CHKSUM = " \
file://LICENSES/Apache-2.0.txt;md5=b4c615f64dff32f71eeed614d13dfd4c \
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
file://LICENSES/BSL-1.0.txt;md5=8c92b4c255bdcce2989707d5b8a4d302 \
file://LICENSES/CC-BY-4.0.txt;md5=ed88d31cea57b15030a1f58ceb04e0d5 \
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 \
file://src/3rdparty/assimp/LICENSE;md5=78dabdafb167945fef55b5c37ac94df3 \
@ -16,12 +17,13 @@ LIC_FILES_CHKSUM = " \
inherit qt6-cmake
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-lts.inc
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 \
"
@ -41,3 +43,5 @@ SRCREV_FORMAT = "qtquick3d_qtquick3d-assimp"
# Needed for supporting 64bit off_t
CFLAGS:append:libc-musl = " -DIOAPI_NO_64 -D_GNU_SOURCE"
INSANE_SKIP:${PN}-ptest += "buildpaths"

View File

@ -11,6 +11,7 @@ LIC_FILES_CHKSUM = " \
inherit qt6-cmake
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-lts.inc
include recipes-qt/qt6/qt6.inc
COMPATIBLE_MACHINE = "(-)"
@ -22,3 +23,5 @@ COMPATIBLE_MACHINE:x86-64 = "(.*)"
DEPENDS = "qtbase qtquick3d qtquick3d-native qtdeclarative-native"
FILES:${PN}-tools = ""
INSANE_SKIP:${PN}-ptest += "buildpaths"

View File

@ -1,15 +1,15 @@
LICENSE = "The-Qt-Company-Commercial | (GPL-3.0-only & Qt-GPL-exception-1.0) & GFDL-1.3-no-invariants-only & BSD-3-Clause"
LICENSE = "The-Qt-Company-Commercial | GPL-3.0-only & GFDL-1.3-no-invariants-only & BSD-3-Clause"
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-3.0-only.txt;md5=d32239bcb673463ab874e80d47fae504 \
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
file://LICENSES/Qt-GPL-exception-1.0.txt;md5=9a13522cd91a88fba784baf16ea66af8 \
"
inherit qt6-cmake
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-lts.inc
include recipes-qt/qt6/qt6.inc
DEPENDS = "qtbase qtdeclarative qtdeclarative-native"

View File

@ -1,10 +1,8 @@
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) & GFDL-1.3-no-invariants-only & BSD-3-Clause"
LICENSE = "The-Qt-Company-Commercial | (GPL-3.0-only & Qt-GPL-exception-1.0) & GPL-3.0-only & GFDL-1.3-no-invariants-only & BSD-3-Clause"
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 \
"
@ -12,9 +10,12 @@ LIC_FILES_CHKSUM = " \
inherit qt6-cmake
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-lts.inc
include recipes-qt/qt6/qt6.inc
DEPENDS += "qtbase qtdeclarative qtremoteobjects-native"
BBCLASSEXTEND += "native nativesdk"
INSANE_SKIP:${PN}-ptest += "buildpaths"

View File

@ -1,10 +1,8 @@
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) & GFDL-1.3-no-invariants-only & BSD-3-Clause"
LICENSE = "The-Qt-Company-Commercial | (GPL-3.0-only & Qt-GPL-exception-1.0) & GPL-3.0-only & GFDL-1.3-no-invariants-only & BSD-3-Clause"
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 \
"
@ -12,6 +10,7 @@ LIC_FILES_CHKSUM = " \
inherit qt6-cmake
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-lts.inc
include recipes-qt/qt6/qt6.inc
DEPENDS += "qtbase qtscxml-native"
@ -21,3 +20,4 @@ PACKAGECONFIG[qml] = ",,qtdeclarative qtdeclarative-native"
BBCLASSEXTEND = "native nativesdk"
INSANE_SKIP:${PN}-ptest += "buildpaths"

View File

@ -1,18 +1,17 @@
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) & GFDL-1.3-no-invariants-only & BSD-3-Clause"
LICENSE = "The-Qt-Company-Commercial | GPL-3.0-only & GFDL-1.3-no-invariants-only & BSD-3-Clause"
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 \
"
inherit qt6-cmake
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-lts.inc
include recipes-qt/qt6/qt6.inc
DEPENDS += "qtbase qtdeclarative qtdeclarative-native"
INSANE_SKIP:${PN}-ptest += "buildpaths"

View File

@ -1,17 +1,15 @@
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) & GFDL-1.3-no-invariants-only & BSD-3-Clause"
LICENSE = "The-Qt-Company-Commercial | GPL-3.0-only & GFDL-1.3-no-invariants-only & BSD-3-Clause"
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 \
"
inherit qt6-cmake
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-lts.inc
include recipes-qt/qt6/qt6.inc
DEPENDS += "qtbase"
@ -22,3 +20,5 @@ PACKAGECONFIG:class-nativesdk = ""
PACKAGECONFIG[modbus-serialport] = "-DFEATURE_modbus_serialport=ON,-DFEATURE_modbus_serialport=OFF,qtserialport"
PACKAGECONFIG[socketcan] = "-DFEATURE_socketcan=ON,-DFEATURE_socketcan=OFF,,libsocketcan"
INSANE_SKIP:${PN}-ptest += "buildpaths"

View File

@ -1,17 +1,15 @@
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) & GFDL-1.3-no-invariants-only & BSD-3-Clause"
LICENSE = "The-Qt-Company-Commercial | GPL-3.0-only & GFDL-1.3-no-invariants-only & BSD-3-Clause"
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 \
"
inherit qt6-cmake
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-lts.inc
include recipes-qt/qt6/qt6.inc
DEPENDS += "qtbase"

View File

@ -1,11 +1,11 @@
LICENSE = "(The-Qt-Company-Commercial | (GPL-3.0-only & Qt-GPL-exception-1.0) & GFDL-1.3-no-invariants-only) & (Apache-2.0 | MIT) & BSD-3-Clause & BSD-2-Clause & Apache-2.0 & GPL-3-with-bison-exception"
LICENSE = "(The-Qt-Company-Commercial | GPL-3.0-only & GFDL-1.3-no-invariants-only) & (Apache-2.0 | MIT) & BSD-3-Clause & BSD-2-Clause & Apache-2.0 & GPL-3-with-bison-exception"
LIC_FILES_CHKSUM = " \
file://LICENSES/Apache-2.0.txt;md5=c846ebb396f8b174b10ded4771514fcc \
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
file://LICENSES/GFDL-1.3-no-invariants-only.txt;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
file://LICENSES/GPL-3.0-only.txt;md5=d32239bcb673463ab874e80d47fae504 \
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
file://LICENSES/Qt-GPL-exception-1.0.txt;md5=9a13522cd91a88fba784baf16ea66af8 \
file://src/3rdparty/SPIRV-Cross/KHRONOS-LICENSE.txt;md5=220cd23564f44ef34996a001e2651a36 \
file://LICENSES/LicenseRef-MIT-Khronos-old.txt;md5=a81aa9fd63b8e618b46e566919afa6a5 \
file://src/3rdparty/SPIRV-Cross/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57 \
file://src/3rdparty/glslang/LICENSE.txt;md5=2a2b5acd7bc4844964cfda45fe807dc3 \
"
@ -13,6 +13,7 @@ LIC_FILES_CHKSUM = " \
inherit qt6-cmake
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-lts.inc
include recipes-qt/qt6/qt6.inc
DEPENDS = "qtbase qtshadertools-native"

View File

@ -1,16 +1,15 @@
LICENSE = "The-Qt-Company-Commercial | (LGPL-3.0-only | GPL-2.0-only) & (LGPL-3.0-only | GPL-2.0-only | GPL-3.0-only) & GFDL-1.3-no-invariants-only & BSD-3-Clause"
LICENSE = "The-Qt-Company-Commercial | GPL-3.0-only & GFDL-1.3-no-invariants-only & BSD-3-Clause"
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 \
"
inherit qt6-cmake
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-lts.inc
include recipes-qt/qt6/qt6.inc
DEPENDS += "qtbase qtmultimedia"
@ -18,3 +17,5 @@ DEPENDS += "qtbase qtmultimedia"
PACKAGECONFIG ?= "qml"
PACKAGECONFIG[flite] = "-DFEATURE_flite=ON,-DFEATURE_flite=OFF,flite"
PACKAGECONFIG[qml] = ",,qtdeclarative qtdeclarative-native"
INSANE_SKIP:${PN}-ptest += "buildpaths"

View File

@ -1,4 +1,4 @@
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) & GFDL-1.3-no-invariants-only & BSD-3-Clause) & HPND-sell-variant"
LICENSE = "(The-Qt-Company-Commercial | GPL-3.0-only & (LGPL-3.0-only | GPL-2.0-only | GPL-3.0-only) & GFDL-1.3-no-invariants-only & BSD-3-Clause) & HPND-sell-variant"
LIC_FILES_CHKSUM = " \
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
file://LICENSES/GFDL-1.3-no-invariants-only.txt;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
@ -6,13 +6,13 @@ LIC_FILES_CHKSUM = " \
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 \
file://src/svg/XSVG_LICENSE.txt;md5=46bb75504ccdcac579aa4fee538e6c39 \
file://src/svg/LICENSE.XSVG.txt;md5=46bb75504ccdcac579aa4fee538e6c39 \
"
inherit qt6-cmake
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-lts.inc
include recipes-qt/qt6/qt6.inc
DEPENDS += "qtbase"

View File

@ -0,0 +1,45 @@
From 6acac52cec61494e97d3e3db68df2da3c22cff5b Mon Sep 17 00:00:00 2001
From: Samuli Piippo <samuli.piippo@qt.io>
Date: Fri, 18 Oct 2024 09:02:20 +0000
Subject: [PATCH] examples: don't track source path
Avoid using source path in the example binary as that causes
QA error [buildpaths]
Upstream-Status: Pending
Change-Id: Id5aebc2afa7d4ded38d6bdd43fbbb2813f4bad5d
---
examples/assistant/simpletextviewer/CMakeLists.txt | 4 ----
examples/help/contextsensitivehelp/CMakeLists.txt | 4 ----
2 files changed, 8 deletions(-)
diff --git a/examples/assistant/simpletextviewer/CMakeLists.txt b/examples/assistant/simpletextviewer/CMakeLists.txt
index 8d459a261..89076bcd1 100644
--- a/examples/assistant/simpletextviewer/CMakeLists.txt
+++ b/examples/assistant/simpletextviewer/CMakeLists.txt
@@ -27,10 +27,6 @@ set_target_properties(simpletextviewer PROPERTIES
MACOSX_BUNDLE TRUE
)
-target_compile_definitions(simpletextviewer PUBLIC
- SRCDIR="${CMAKE_CURRENT_SOURCE_DIR}/"
-)
-
target_link_libraries(simpletextviewer PUBLIC
Qt::Core
Qt::Gui
diff --git a/examples/help/contextsensitivehelp/CMakeLists.txt b/examples/help/contextsensitivehelp/CMakeLists.txt
index fb251dea7..dd0c30434 100644
--- a/examples/help/contextsensitivehelp/CMakeLists.txt
+++ b/examples/help/contextsensitivehelp/CMakeLists.txt
@@ -27,10 +27,6 @@ set_target_properties(contextsensitivehelp PROPERTIES
MACOSX_BUNDLE TRUE
)
-target_compile_definitions(contextsensitivehelp PUBLIC
- SRCDIR="${CMAKE_CURRENT_SOURCE_DIR}/"
-)
-
target_link_libraries(contextsensitivehelp PUBLIC
Qt6::Core
Qt6::Gui

View File

@ -1,11 +1,9 @@
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) & GFDL-1.3-no-invariants-only) & Apache-2.0 & BSD-3-Clause & BSL-1.0 & MIT"
LICENSE = "(The-Qt-Company-Commercial | (GPL-3.0-only & Qt-GPL-exception-1.0) & GPL-3.0-only & GFDL-1.3-no-invariants-only) & Apache-2.0 & BSD-3-Clause & BSL-1.0 & MIT"
LIC_FILES_CHKSUM = " \
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
file://LICENSES/BSL-1.0.txt;md5=8c92b4c255bdcce2989707d5b8a4d302 \
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 \
file://src/assistant/qlitehtml/src/3rdparty/litehtml/LICENSE;md5=55d411204c54bf2524f471635a7d306a \
@ -15,18 +13,24 @@ LIC_FILES_CHKSUM = " \
inherit qt6-cmake
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-lts.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"
PACKAGECONFIG:class-native = "${@bb.utils.contains('BBFILE_COLLECTIONS', 'clang-layer', 'clang', '', d)}"
PACKAGECONFIG:class-nativesdk = "${@bb.utils.contains('BBFILE_COLLECTIONS', 'clang-layer', 'clang', '', d)}"
PACKAGECONFIG:remove:mingw32 = "clang"
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[clang] = "-DFEATURE_clang=ON,-DFEATURE_clang=OFF,clang"

View File

@ -8,6 +8,7 @@ LIC_FILES_CHKSUM = " \
inherit qt6-cmake
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-lts.inc
include recipes-qt/qt6/qt6.inc
DEPENDS += "qtbase qttools qttools-native"
@ -27,4 +28,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,20 +5,21 @@ 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 \
"
inherit qt6-cmake
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-lts.inc
include recipes-qt/qt6/qt6.inc
# To enabled Nuance T9 Write support, you need to provide the licensed components
# 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 ?= "\
@ -121,3 +122,4 @@ FILES:${PN}-dictionaries = "${QT6_INSTALL_DATADIR}/qtvirtualkeyboard/*/*.dat"
DEPENDS += "qtbase qtdeclarative qtsvg qtdeclarative-native"
INSANE_SKIP:${PN}-ptest += "buildpaths"

View File

@ -1,13 +1,11 @@
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) & GFDL-1.3-no-invariants-only & BSD-3-Clause) & HPND & MIT"
LICENSE = "(The-Qt-Company-Commercial | (GPL-3.0-only & Qt-GPL-exception-1.0) & GPL-3.0-only & GFDL-1.3-no-invariants-only & BSD-3-Clause) & HPND & MIT"
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 \
file://src/3rdparty/protocol/HPND_LICENSE.txt;md5=147672b78461c805e65dc29a92591db1 \
file://src/3rdparty/protocol/text-input/v2/HPND_LICENSE.txt;md5=147672b78461c805e65dc29a92591db1 \
file://src/3rdparty/protocol/MIT_LICENSE.txt;md5=e8ad01a5182f2c1b3a2640e9ea268264 \
"
@ -17,9 +15,10 @@ inherit features_check
REQUIRED_DISTRO_FEATURES = "wayland"
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-lts.inc
include recipes-qt/qt6/qt6.inc
SRC_URI +="\
SRC_URI += "\
file://0001-Allow-qtwaylandscanner-to-be-built-without-dependenc.patch \
"

View File

@ -1,4 +1,4 @@
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) & GFDL-1.3-no-invariants-only & BSD-3-Clause"
LICENSE = "The-Qt-Company-Commercial | GPL-3.0-only & (LGPL-3.0-only | GPL-2.0-only | GPL-3.0-only) & GFDL-1.3-no-invariants-only & BSD-3-Clause"
LIC_FILES_CHKSUM = " \
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
file://LICENSES/GFDL-1.3-no-invariants-only.txt;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
@ -6,12 +6,12 @@ LIC_FILES_CHKSUM = " \
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 \
"
inherit qt6-cmake
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-lts.inc
include recipes-qt/qt6/qt6.inc
DEPENDS += "qtbase"
@ -20,3 +20,4 @@ PACKAGECONFIG ?= "qml"
PACKAGECONFIG[examples] = "-DQT_BUILD_EXAMPLES=ON,-DQT_BUILD_EXAMPLES=OFF,qtwebsockets"
PACKAGECONFIG[qml] = ",,qtdeclarative qtdeclarative-native"
INSANE_SKIP:${PN}-ptest += "buildpaths"

View File

@ -1,10 +1,13 @@
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) & GFDL-1.3-no-invariants-only) & BSD-3-Clause"
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) & LGPL-2.0-or-later & GFDL-1.3-no-invariants-only) & BSD-3-Clause & Apache-2.0 & MIT"
LIC_FILES_CHKSUM = " \
file://LICENSES/Apache-2.0.txt;md5=b4c615f64dff32f71eeed614d13dfd4c \
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-2.0-or-later.txt;md5=efce6405b860a099130379f50121ec8b \
file://LICENSES/LGPL-3.0-only.txt;md5=e6a600fd5e1d9cbde2d983680233ad02 \
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
file://LICENSES/MIT.txt;md5=3605d54ecceddcd50962eb89318779ec \
file://LICENSES/Qt-GPL-exception-1.0.txt;md5=9a13522cd91a88fba784baf16ea66af8 \
file://LICENSE.Chromium;md5=d64fde5d347c3a68afe70f5e2e31fe83 \
"
@ -12,23 +15,27 @@ LIC_FILES_CHKSUM = " \
inherit qt6-cmake
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-lts.inc
include recipes-qt/qt6/qt6.inc
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 = "118-based"
QT_MODULE_BRANCH_CHROMIUM = "122-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 \
"
@ -36,5 +43,6 @@ SRC_URI += " \
SRC_URI += " \
file://chromium/0001-v8-qemu-wrapper.patch;patchdir=src/3rdparty \
file://chromium/0002-Remove-the-GN-settings-done-for-clang-that-conflict-.patch;patchdir=src/3rdparty \
file://chromium/0003-Do-not-build-webnn-with-xnnpack.patch;patchdir=src/3rdparty \
"
SRCREV_FORMAT = "qtwebengine_qtwebengine-chromium"

View File

@ -0,0 +1,34 @@
From e7f11f7135104d1b05fb26637502ec3d19e4c2cd Mon Sep 17 00:00:00 2001
From: Michal Klocek <michal.klocek@qt.io>
Date: Wed, 14 Aug 2024 13:40:31 +0200
Subject: [PATCH] Do not build webnn with xnnpack for arm64
Upstream-Status: Pending
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Change-Id: Ib23b6da98eddc8319fa79e8c1365b4e67d21086d
---
.../third_party/blink/renderer/modules/ml/webnn/features.gni | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/chromium/third_party/blink/renderer/modules/ml/webnn/features.gni b/chromium/third_party/blink/renderer/modules/ml/webnn/features.gni
index 941740db3e3..50e139dc1af 100644
--- a/chromium/third_party/blink/renderer/modules/ml/webnn/features.gni
+++ b/chromium/third_party/blink/renderer/modules/ml/webnn/features.gni
@@ -3,12 +3,13 @@
# found in the LICENSE file.
import("//build/config/chrome_build.gni")
+import("//build/config/features.gni")
declare_args() {
# This enables building WebNN with XNNPACK. Currently only available for
# Windows, macOS and Linux on x64, x86 and arm64.
build_webnn_with_xnnpack = (is_linux || is_win || is_mac) &&
(current_cpu == "x64" || current_cpu == "x86" ||
- (current_cpu == "arm64" && !is_win))
+ (current_cpu == "arm64" && !is_win && !is_qtwebengine))
# This build flag enables WebNN to access hardware acceleration using TFLite
# via the ModelLoader mojo interface.
--
2.43.2

View File

@ -72,7 +72,12 @@ PACKAGECONFIG[spellchecker] = "-DFEATURE_webengine_spellchecker=ON,-DFEATURE_web
PACKAGECONFIG[webchannel] = "-DFEATURE_webengine_webchannel=ON,-DFEATURE_webengine_webchannel=OFF,qtwebchannel"
PACKAGECONFIG[webrtc] = "-DFEATURE_webengine_webrtc=ON,-DFEATURE_webengine_webrtc=OFF,libvpx"
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,zlib minizip"
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} \
@ -88,3 +93,5 @@ INSANE_SKIP:${PN} += "textrel"
# QTBUG-109565 workaround: Disable GCC -O2 on armv7a-neon due to stack alignment issue
FULL_OPTIMIZATION:remove:armv7a = "${@bb.utils.contains('TUNE_FEATURES', 'neon', '-O2', '', d)}"
FULL_OPTIMIZATION:append:armv7a = "${@bb.utils.contains('TUNE_FEATURES', 'neon', ' -O1', '', d)}"
INSANE_SKIP:${PN}-ptest += "buildpaths"

View File

@ -1,18 +1,17 @@
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) & GFDL-1.3-no-invariants-only & BSD-3-Clause"
LICENSE = "The-Qt-Company-Commercial | GPL-3.0-only & GFDL-1.3-no-invariants-only & BSD-3-Clause"
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 \
"
inherit qt6-cmake
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-lts.inc
include recipes-qt/qt6/qt6.inc
DEPENDS += "qtbase qtdeclarative qtdeclarative-native"
INSANE_SKIP:${PN}-ptest += "buildpaths"

View File

@ -1,17 +1,15 @@
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) & GFDL-1.3-no-invariants-only & BSD-3-Clause"
LICENSE = "The-Qt-Company-Commercial | GPL-3.0-only & GFDL-1.3-no-invariants-only & BSD-3-Clause"
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 \
"
inherit qt6-cmake
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-lts.inc
include recipes-qt/qt6/qt6.inc
DEPENDS += "qtbase qtdeclarative qtdeclarative-native qtwebengine"

View File

@ -0,0 +1,116 @@
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}-qt68x-linux64.run"
SRC_URI = "\
${SQUISH_MIRROR}/${SQUISH_INSTALLER};name=squish \
${SQUISH_MIRROR}/squish-${PV}-qt-embedded-src.tar.gz;name=qt-squish-embedded \
"
SRC_URI[squish.sha256sum] = "e697cbe7928594138237e827f6bd58eb495367baf857613ddbc674bb6bca5685"
SRC_URI[qt-squish-embedded.sha256sum] = "91201fcd038e48d7fefc68a3ad25dc6814999129679600e130e5451cd1a37d4f"
S = "${WORKDIR}/squish-${PV}-qt-embedded-src"
B = "${WORKDIR}/build"
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"