Compare commits

...

347 Commits

Author SHA1 Message Date
Qt Submodule Update Bot
04884044aa Update submodule refs on 'lts-6.2.12' in yocto/meta-qt6
Change-Id: I9cdaab91a0d0ce796930725a0a71093d37ba4849
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-03-14 18:45:21 +00:00
Qt Submodule Update Bot
84baa0521e Update submodule refs on 'lts-6.2.12' in yocto/meta-qt6
Change-Id: I7e1927990c0c5f84e1c90d9a62a9943222990b2b
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-03-13 01:26:56 +00:00
Qt Submodule Update Bot
31fb6aba09 Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: I5bce13ff5c8e3c3cbe5a96d0d56b44b1214f39e1
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-03-07 01:41:48 +00:00
Qt Submodule Update Bot
2c995e538a Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: Ib3b73ae03c9aae891d1355c567f000d627d8ad5e
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-03-03 18:06:09 +00:00
Qt Submodule Update Bot
e398c87a31 Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: I461cd9105caabc7d05dd24a72ea82e291de3007d
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-02-22 06:49:34 +00:00
Qt Submodule Update Bot
b9f6e671b1 Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: Iaff34ba77270d58a6e18bfa673f24e3f148f068f
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-02-19 06:36:07 +00:00
Qt Submodule Update Bot
e8b1086896 Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: I036701fee950b94b625532785dbbfc584afe5189
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-02-09 07:26:59 +00:00
Qt Submodule Update Bot
65f6973efa Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: I44b4710aabcc6fbd774ef29fe73078383a842f86
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-01-28 19:34:31 +00:00
Qt Submodule Update Bot
b54f5bc66f Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: I092842765a5ae1e41d767ab8b6a6eede92a51042
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-01-18 11:55:48 +00:00
Qt Submodule Update Bot
027171bdfa Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: Ib3d9a2c59d0abc5dabd3c303f4b88af37742c076
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-12-18 03:45:45 +00:00
Mikko Gronoff
3ef01623af Bump version to 6.2.12
Change-Id: I2ac1bc9bb95553a0ae978006f9076d3378c5442e
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2023-12-08 09:24:30 +02:00
Qt Submodule Update Bot
7a9160076e Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: I42a75839681b3c78ba00d818763951848f972613
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-12-01 03:45:16 +00:00
Qt Submodule Update Bot
3664d65cbb Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: Ib61554b9c1d4a585cc915ab072dedd110dab4f50
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-11-27 03:52:59 +00:00
Qt Submodule Update Bot
e88bfcf24b Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: Ib457b2d8b4f6be3a34c4233369de5e6bee818582
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-11-20 03:54:47 +00:00
Qt Submodule Update Bot
3030d8f5e2 Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: I9378fa10ba6d137a212a836955206d71ea3fb694
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-11-15 19:13:50 +00:00
Qt Submodule Update Bot
92ddc8dbde Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: I6c13f1f85e5673fba7cac55ea5eb912ea3679a80
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-11-13 21:09:51 +00:00
Qt Submodule Update Bot
61c214fcc5 Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: I3e13e33fd8b155b51b2258db163534eb8a275625
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-11-09 03:30:07 +00:00
Qt Submodule Update Bot
57b69dff25 Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: I88f649b3952f07918eb4da038130b37166252a18
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-11-04 18:34:26 +00:00
Qt Submodule Update Bot
5c1e6ea234 Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: If59989ab5b5b24b8a3fc0b7a7e80cdffb9d52ffd
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-11-02 05:18:46 +00:00
Qt Submodule Update Bot
926735738c Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: Ie6b7fb5c7e1e3e76d310122b7be220fbf476839f
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-10-19 06:40:13 +00:00
Qt Submodule Update Bot
6237a1ffb5 Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: I491eb9188f4d9b196d6f40185b47cd2c0309376e
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-10-12 03:54:40 +00:00
Qt Submodule Update Bot
0dd7a79f79 Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: I5cfe62fc9546905943b647c07913b957d61698d3
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-10-09 04:05:06 +00:00
Mikko Gronoff
f390d4ce0f Bump version to 6.2.11
Change-Id: If4209c8e65d240974ea47be9633436092adafa62
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2023-10-03 13:27:04 +03:00
Samuli Piippo
b39efb8423 qtinsighttracker: add workaround for gold bug
Disable PTEST for x86 targets if gold linker is used. Gold linker has
bug the causes linker error: unexpected reloc 3 against global symbol
qt_version_tag without base register in object file when generating
a position-independent output file.

Change-Id: I2027a9f430b03d8efc1348c7d11001c6d7da6f11
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-09-20 10:37:53 +00:00
Qt Submodule Update Bot
c41d281ab2 Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: I1105981a39c2a76b02764bc77fccab282d086eb3
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-09-20 10:37:38 +00:00
Qt Submodule Update Bot
1cb114acfc Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: I822e909614005d958b656c883a9ce844190c4038
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-09-11 03:44:45 +00:00
Qt Submodule Update Bot
7b20eda29c Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: I12ad514712a56413f96705a456f65c3efbf0c964
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-09-07 03:30:07 +00:00
Qt Submodule Update Bot
f354ada1ef Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: Ia7a8dd6dc8fb98c45632889265ac551d0b1017dc
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-09-05 03:45:42 +00:00
Qt Submodule Update Bot
fdc5f5b4c4 Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: I6534b3056652d019ed8613dc4386de486e16621f
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-08-31 13:47:18 +00:00
Jaeyoon Jung
cd1391211a qtshadertools: Fix missing dependency to spirv-tools
qsb needs spirv-tools when -O flag is given, but it is not pulled in
recipe-sysroot-native due to missing dependency. It causes qsb files
are not created as output. Errors like below can be seen with a small
tweak that makes qsb run with no -s flag.

[1/218] cd /home/noelma/work/webos/build-webos/BUILD/work/x86_64-linux/qtdeclarative-native/6.7.0-r0/build/src/quick && /home/noelma/work/webos/build-webos/BUILD/work/x86_64-linux/qtdeclarative-native/6.7.0-r0/recipe-sysroot-native/usr/bin/qsb --glsl 100es,120,150 --hlsl 50 --msl 12 -b -O -o /home/noelma/work/webos/build-webos/BUILD/work/x86_64-linux/qtdeclarative-native/6.7.0-r0/build/src/quick/.qsb/scenegraph/shaders_ng/8bittextmask.frag.qsb /home/noelma/work/webos/build-webos/BUILD/work/x86_64-linux/qtdeclarative-native/6.7.0-r0/git/src/quick/scenegraph/shaders_ng/8bittextmask.frag
spirv-opt -O /tmp/qsb-XOAphY/qsb_spv_temp -o /tmp/qsb-XOAphY/qsb_spv_temp_out
Failed to run spirv-opt -O /tmp/qsb-XOAphY/qsb_spv_temp -o /tmp/qsb-XOAphY/qsb_spv_temp_out: Child process set up failed: execve: No such file or directory

Change-Id: I49c88711be4ca09425fa71f8ce8eda88256370f6
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
(cherry picked from commit 7c2a20a1c5)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2023-08-30 14:38:00 +00:00
Qt Submodule Update Bot
7229fabf90 Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: Id83cc8c3acf955a404b152bd587945f75deebfeb
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-08-30 04:26:23 +00:00
Samuli Piippo
4548dc9d32 qtbase: fix install if lcl_maybe_fortify is empty
lcl_maybe_fortify might be empty, which would make sed fail during
do_install. Workaround this by adding space to the substitution
pattern.

Fixes: QTBUG-115588
Change-Id: Ic6c5a6c80011dfefc92e1b2d7aadc48cce82ed7a
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
(cherry picked from commit deab0703da)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2023-08-28 17:26:09 +00:00
Qt Submodule Update Bot
391dddbfd5 Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: I3b5358cf9cf2d1352062a35266c70776abab2b58
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-08-25 08:05:37 +00:00
Qt Submodule Update Bot
d29a30d046 Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: I8aae4cbc7e888574836f78bded68b22fb21f03d4
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-08-21 03:54:38 +00:00
Samuli Piippo
252c438708 qtshadertools: add runtime dependency to spirv-tools
Add runtime dependency to spirv-tools as the qsb utility can use
spirv-opt at runtime. Cannot include it for mingw32 toolchain
as compilation fails.

To support dunfell, add BBCLASSEXTEND append to the spirv-tools.

Fixes: QTBUG-113210
Change-Id: Icce264b1f2bff5f56cf2b40a0420c5001493e236
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 69a8018ec1)
2023-08-18 12:34:25 +00:00
Qt Submodule Update Bot
579a5e5440 Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: If08f38ad8070bf48231835ec21261a836140ed60
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-08-17 03:44:48 +00:00
Samuli Piippo
0e86bd4b0f examples: add runtime dependency to main package
If examples are only using QML modules, the package manager won't
add automatic dependency to either the main or -qmlplugins packages,
and those might not get installed to the image. Add the runtime
dependency explicitly for the examples package.

Fixes: QTBUG-115310
Change-Id: I5b713d3a65f794da1ab0113cf1d7f69035e29288
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit c0318a6ad8)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2023-08-15 16:10:26 +00:00
Samuli Piippo
f5c98eeef6 readme: add note about release branches and tags
Fixes: QTBUG-114723
Change-Id: I2f6b4ce365b53ec7bd96555c0d6fcbea0e7e50cd
Reviewed-by: <inkamari.harjula@qt.io>
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 21beafaf82)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2023-08-15 16:10:26 +00:00
Qt Submodule Update Bot
57c3edc81f Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: I357c948838ad0763e8cf4680b6d801c5a7873bbc
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-08-15 03:45:38 +00:00
Qt Submodule Update Bot
cc145892ef Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: I780a54805b79b4890f45e0e667feed53694bada8
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-08-04 03:43:45 +00:00
Qt Submodule Update Bot
a0151bf229 Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: I21fed9e29eb20d19298699cf9e220ec3c51de048
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-07-18 03:30:06 +00:00
Qt Submodule Update Bot
c0af3b098e Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: I32581bcddf6e70ec3e991f6de68b0f87ac85d929
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-06-20 03:30:06 +00:00
Samuli Piippo
fb316a5d40 qtwebengine: update chromium branch
Now using QtWebEngine from 6.5 with 108-based chromium.
Update patch to apply correctly.

Change-Id: I23fb9b3de0fb616666815d8927e4ef0f887ee164
Reviewed-by: Tarja Sundqvist <tarja.sundqvist@qt.io>
(cherry picked from commit 1582892dec)
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-06-20 06:30:05 +03:00
Samuli Piippo
8bee31db13 qttools: add PACKAGECONFIG for clang dependency
QDoc depends on libclang and using clang toolchain causes build error:
| CMake Error at qttools/6.6.0-r0/recipe-sysroot/usr/lib/cmake/Qt6/QtToolHelpers.cmake:623 (message):
|   Failed to find the host tool "Qt6::qdoc".  It is part of the Qt6ToolsTools
|   package, but the package did not contain the tool.  Make sure that the host
|   module Tools was built with all features enabled (no explicitly disabled
|   tools).
because libclang was found for qttools-native, but not for the target.

Add PACKAGECONFIG that can be enabled when using clang toolchain
if there is need for the qdoc, but otherwise keep it disabled.

Change-Id: Idc4e35936511ef0c208d7e8fd6f8fc51f3f8a1e2
Reviewed-by: Martin Jansa <Martin.Jansa@gmail.com>
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
Reviewed-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 4729a37e36)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2023-06-08 17:52:26 +00:00
Qt Submodule Update Bot
cb216f8976 Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: I72a77b06270bb948eef5c71ff9723dd74fae4a98
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-06-02 03:43:26 +00:00
Mikko Gronoff
02ba4014f5 Bump version to 6.2.10
Change-Id: I371f25d6b2b4ebf1ebdcc95727c18a9448a6d6c4
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2023-05-31 14:39:20 +03:00
Qt Submodule Update Bot
7bb1b66af3 Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: I8ec36468b247838d41337f289481d284854aa642
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-05-30 03:44:00 +00:00
Samuli Piippo
4955c78e5e Coin: use correct path for mirror
Change-Id: I878122ac5a34aaf464bb4190e3307793c53eabba
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 651610f42f)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2023-05-29 08:49:10 +00:00
Samuli Piippo
3bcb7a54bd qtbase: add runtime dependency to C.UTF-8 locale
Qt expects to have UTF-8 locale available. If the current locale
is not UTF-8, Qt will try to use C.UTF-8 locale. Make that available
by adding RRECOMMENDS to locale-base-c package.

Task-number: QTBUG-113371
Change-Id: I48f18488413168afbeffddb9eac58985d1b8a988
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 6ad68945b5)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2023-05-29 08:49:09 +00:00
Qt Submodule Update Bot
91abe5d671 Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: I4d8cbacce0de8443c17751a5b4681925e3e94cd7
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-05-25 03:45:22 +00:00
Qt Submodule Update Bot
beefbecd6d Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: I7e9970d51ff5c76c1061cadfe486e7e4ed856b3a
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-05-22 03:45:39 +00:00
Qt Submodule Update Bot
1d8e76b018 Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: I2c18ea12e8ee5fa897d7f283558618bcde48b181
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-05-17 03:44:21 +00:00
Jani Heikkinen
b84d92a37d Update LICENSE.QT-LICENSE-AGREEMENT md5sum
It is changed in 474195

Task-number: QTBUG-113132
Change-Id: Ic1964472636fb30bf52fb25c34b0b8d030717a8b
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2023-05-17 03:44:20 +00:00
Jani Heikkinen
b99f11aeed Update The-Qt-Company-Commercial
Update Appendix 9
Add missing Appendix 11

Task-number: QTBUG-113132
Change-Id: Ida1600720f505ea55fc1f1c912ee4fc38b5f6725
Reviewed-by: Tarja Sundqvist <tarja.sundqvist@qt.io>
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2023-05-16 06:11:48 +00:00
Qt Submodule Update Bot
bc8978f13d Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: I1edec7297a5d9faffbff2a996b9a030b95bb5bbd
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-05-11 03:44:41 +00:00
Qt Submodule Update Bot
d5dbc9f7cb Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: I1fd8cfe676b638eebe46293bdedd271548241f0c
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-05-04 03:44:47 +00:00
Qt Submodule Update Bot
03819a57c9 Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: Ifae2388ab4071d345b465384b9a81ba134247d2e
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-05-01 03:45:05 +00:00
Samuli Piippo
480fa11769 packagegroups: enable workaround for allarch packagegroup
Enable workaround for the sanity check of allarch packagegroups
which caused
ERROR: nativesdk-packagegroup-qt6-toolchain-host-essentials-1.0-r0
  do_package_write_rpm: An allarch packagegroup shouldn't depend on
  packages which are dynamically renamed (nativesdk-qttools-dev
  to nativesdk-libqt6uitools-dev)

Nativesdk changes the PACKAGE_ARCH correctly, but it cannot be
inherited first because that would throw another sanity warning.

Fixes: QTBUG-113178
Change-Id: Ifd77ef76f37b9fe39ef38adcc28c87130bf6d6d4
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 5b387fd78d)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2023-04-28 10:53:46 +00:00
Qt Submodule Update Bot
bb6032794c Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: I10ab7d5b834578b8c5e11a32ebe96429e0a0b631
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-04-25 04:02:21 +00:00
Qt Submodule Update Bot
c3830e48bf Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: Ice32067dac5378ad9614e1976b3176e85b5705b1
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-04-18 03:50:47 +00:00
Qt Submodule Update Bot
2865ebd477 Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: I22865ff18d7eac8d4884d483726da4ca0f2c1168
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-04-14 04:23:31 +00:00
Qt Submodule Update Bot
3a53824a41 Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: I1041ed38f823f19c8e3558fafc50e9a5de29d30d
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-04-11 18:44:22 +00:00
Qt Submodule Update Bot
905a54ae32 Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: Id9e80979db42e591fe60faec455ae2d4ba52b37a
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-04-07 03:47:03 +00:00
Qt Submodule Update Bot
4c8db9e3f7 Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: Iefc135d62c22198be8b023ade1bd81e510e6f356
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-04-04 04:11:40 +00:00
Qt Submodule Update Bot
7a56b203ca Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: I49e1e231045cc14043ae5401f197f506e2d2cd1c
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-03-29 18:04:18 +00:00
Mikko Gronoff
7eff4f81d1 Bump version to 6.2.9
Change-Id: I5a132cd2b7e3d7c6ad01085e36560af47e499835
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2023-03-29 17:35:27 +03:00
Qt Submodule Update Bot
35035d73b7 Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: I3c46de8e428ba2ad762562d5f8f8a6ba1a7246f0
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-03-28 07:13:15 +00:00
Samuli Piippo
5e7993f6da qtserialbus: socketcan need openembedded layer
Don't enable socketcan PACKAGECONFIG unless openembedded layer
is available.

Change-Id: I54aa0d70014448bf5425ef7a49f9a32e27ba7807
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit a4bf9c64e5)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2023-03-27 17:46:36 +00:00
Qt Submodule Update Bot
8b13511443 Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: If9a10e093525e9e2bf5e41df471d08fa4c210fbc
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-03-23 11:46:56 +00:00
Andrej Valek
54f20a2143 qt6-git: do not override CVE products
Some components use also base name in NVD CVE database product:
| sqlite> select * from products where product like 'qtbase';
| CVE-2019-18281|qt|qtbase|5.11.0|>=|5.11.3|<=
| CVE-2019-18281|qt|qtbase|5.12.0|>=|5.12.5|<
| sqlite> select * from products where product like 'qtsvg';
| CVE-2021-45930|qt|qtsvg|5.0.0|>=|5.15.2|<=
| CVE-2021-45930|qt|qtsvg|6.0.0|>=|6.2.1|<=

Change-Id: Ic8cbc59522731f49907e10bf08c6a00a213ae006
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
(cherry picked from commit d4f4b54f4e)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2023-03-22 14:37:34 +00:00
Qt Submodule Update Bot
0e12589474 Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: I4063d289db101de491be971389ba75e49278ae53
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-03-20 03:30:53 +00:00
Qt Submodule Update Bot
9a6065bd54 Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: I3011af9c46d0c4638677512dbd86d096eb31be63
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-03-14 04:08:07 +00:00
Qt Submodule Update Bot
80bded3eb3 Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: Ibc1f39c1b6ab7fd4e570f00d8b7920a242ba141b
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-03-11 03:43:54 +00:00
Samuli Piippo
760d334c61 Coin: fetch repo from github
Git clones from google fail frequently with:
   >> fatal: early EOF
   >> error: index-pack died
Switch to using github mirror for the git-repo repository.

Change-Id: Id0cbf3c59e50869d62880e56251b003490c4c1ee
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 61f984c49d)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2023-03-09 21:26:56 +00:00
Qt Submodule Update Bot
b417bedcae Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: I4bdba61564e6b132cff5dfa8a262f16c02684e1e
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-03-08 05:57:55 +00:00
Qt Submodule Update Bot
5ab791d27b Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: I064522a590ff013ff69596c4c5ae6a26c5043768
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-02-23 03:49:15 +00:00
Qt Submodule Update Bot
cc33cee27e Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: I31b4829aa8e9f9e5163c9a0b483aaea003a9772a
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-02-20 03:59:08 +00:00
Samuli Piippo
c3fab4da87 coin: always use the latest platforms for CI build
Change the CI dependencies so that we always get the VM configurations
from the qt5.git dev branch. This makes sure that all Yocto builds,
regardless of the Qt version, are using the same host VM version.

Change-Id: Iceb5ca006b8d83ed636d59566a115d64d3919e38
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit a162d8c5a6)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2023-02-14 15:32:57 +00:00
Qt Submodule Update Bot
fa24d1bda5 Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: I6a8bfe4f7cd99ef723e23bddeb577d948e128c02
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-02-14 07:05:52 +00:00
Samuli Piippo
a3191d0fd7 Add recipe for QtInsightTracker
QtInsightTracker is a commercial-only module.

Task-number: ANALYTICS-238
Change-Id: I30412dec8552898b76865402c2e2ccfcae8d1904
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
(cherry picked from commit 56710e8724)
2023-02-08 13:28:43 +00:00
Qt Submodule Update Bot
836964d756 Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: I15e78ec0542690ecc60cc8129013a9bcbe28fdd6
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-02-08 03:46:12 +00:00
Qt Submodule Update Bot
c031a903f3 Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: I7f6dc3187920270f1d899cf2c5468018d19a75a6
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-02-04 19:23:58 +00:00
Qt Submodule Update Bot
44ec305512 Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: I64c86d945580d9b5696279b5ceffffbb6db32a46
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-02-01 12:15:35 +00:00
Samuli Piippo
da6ec2d847 Use global variable for Qt version
Add a global variable that can be used whenever meta-qt6 layer is
included in the build to identify the Qt version.

Change-Id: I3d40d151e0be9f9123d2bf7cbe34a44861e7b093
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
(cherry picked from commit a6f9d2499b)
2023-01-30 12:28:35 +00:00
Samuli Piippo
2e931d2c1d qtbase: use correct path to libdir
Qt might be using different path to libs.

Change-Id: Iaf0721af1c5e74cd293437cb35c287bd820fa3a5
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
(cherry picked from commit 91a21476ab)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2023-01-20 18:45:42 +00:00
Qt Submodule Update Bot
e668cb59ca Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: I75b2d540c443609681f32e0d9e501872c1077abb
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-01-18 22:36:08 +00:00
Samuli Piippo
318784a90a sdk: use security cflags in cmake toolchain file
Keep the SECURITY_CFLAGS set by Yocto builds also in the SKD's
CMake toolchain file. Instead remove only the fortify flags,
since they add unnecessary warnings when doing debug builds
with Qt Creator.

Change-Id: Ia01f92f21c4f68b1be0d57f9a586a34acbe2333c
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit a942032591)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2023-01-12 13:49:09 +00:00
Samuli Piippo
8ee4fe6d88 sdk: move sdk mkspec additions to qtbase recipe
The qmake mkspec additions are used with the sdk when the toolchain
environment-setup script hasn't been run. Instead of adding those in
the sdk creation phase, do it already in the qtbase recipe.

Change the mkspec also so that CC/CXX has only the compiler executable,
but none of the compile flags that usually are there in Yocto builds.
This keeps Qt Creator happier as well.

Task-number: QTCREATORBUG-27372
Change-Id: If27d595965df59ff9846f4c773469889a8480040
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
(cherry picked from commit cfaf86d808)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2023-01-11 19:38:43 +00:00
Samuli Piippo
e395658092 Support SDK workflow inside a Yocto build
Add support for using qmake directly from Yocto build sysroots
with following workflow:

bitbake meta-ide-support
bitbake build-sysroots
. ./tmp/deploy/images/qemuarm64/environment-setup-cortexa57-poky-linux
qmake & make

Use configurable sysroot paths in populate_qt6_sdk_base so that it can
be reused also for yocto build sysroots.

Fixes: QTBUG-108778
Change-Id: Iee48f75edbc62e5adcca318a9f4cf17b7477f4a0
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
(cherry picked from commit 0533b8907e)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2023-01-11 19:38:42 +00:00
Qt Submodule Update Bot
432c013394 Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: I03b970ae0a3159174ad6653b1583c0fd846f902f
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-01-05 06:22:42 +00:00
Qt Submodule Update Bot
1217a5ec7d Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: I74d479e9bb8ae7a2a520e04268120979562fa158
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-12-30 04:06:25 +00:00
Qt Submodule Update Bot
f697689e09 Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: If13d78c00b2c8ed92a9617f9b4e71da4a4199a43
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-12-26 03:59:30 +00:00
Qt Submodule Update Bot
567869dfc8 Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: Ibf5b2ff1f7d656526024bcc517371696e39bf2a8
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-12-21 04:10:39 +00:00
Qt Submodule Update Bot
82759447b1 Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: I1e1206349a2e51573b325e5728e16d0eeafc6aee
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-12-16 03:49:17 +00:00
Samuli Piippo
1f5da8b806 Coin: don't use zip format for mingw sdk
Zip doesn't handle symlinks correctly and sdk won't work.

Change-Id: Id57cef766f708d714919994ea947701fcc83089a
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 918cb5b310)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-12-14 16:53:37 +00:00
Qt Submodule Update Bot
0d3c89e1aa Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: I037c650bc0873343cd851c4579e82e2445cd71a2
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-12-13 03:46:22 +00:00
Samuli Piippo
5dab5f76bb Don't validate the SRCREV value against the branch
Qt modules recently lost all their release branches in their git
repositories. This broke previous releases since bitbake validates
that SRCREV can be found from the current branch. Add additional
parameter to repo URI to stop bitbake from validating the SRCREV.

Task-number: QTBUG-109319
Change-Id: Ib61164839fdbc5938a23b92ab03f3c07e945812f
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 28842c8014)
2022-12-12 13:57:28 +02:00
Qt Submodule Update Bot
1a9fbaf6b3 Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: Id0e120f17c83bb02d5f6d4f5c5d2ffa4e9452d47
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-12-07 04:35:03 +00:00
Samuli Piippo
50c99b360e qtbase: enable better image support for native builds
Enable jpeg support for qtbase-native, needed at least by shadergen.
To use system png, zlib needs to be enabled as well.

Change-Id: I0bea658d689fb99596374701b11aa9ce028e882d
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 4c5d3e2c3c)
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2022-12-01 17:15:04 +02:00
Samuli Piippo
5d39b52f3b sdk: add new class for populating qt6 sdk
Add new class that can be used to create toolchain containing
all available Qt modules.

Change-Id: I84982749ea9093bbbd20f99391b063c4bcaee39f
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 63ba821b5c)
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2022-12-01 17:14:55 +02:00
Qt Submodule Update Bot
1edf867038 Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: I5f10fefec240f11f5e210cb1f942299b2049d34e
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-11-30 14:42:20 +00:00
Mikko Gronoff
81aa6d84d4 Bump version to 6.2.8
Change-Id: I2ad94d97606160d29ad559296f6f2eaf2fcec7b8
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2022-11-28 10:46:27 +02:00
Qt Submodule Update Bot
686f7c4b08 Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: Ide141d975ce3fceea938d4c9fb3d8eec6334840e
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-11-26 09:44:51 +00:00
Mikko Gronoff
e82536ff7b Revert "webengine: add patch for python 3.11 build issue"
This reverts commit 77b03a5a53.

Reason for revert: Available upstream.

Change-Id: I7e44cddf7f2afced0bc6bc931680c8a6fbdd95c6
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-11-26 09:44:39 +00:00
Mikko Gronoff
a5a773400b coin: remove unused test-gatesgarth.inc
Unused for a long time.

Change-Id: If1689ce4c96409598cd5501d7e232481c1cc9be1
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2022-11-23 13:48:27 +02:00
Samuli Piippo
162a948e39 qtwebengine: add dependency to cups
Printing support needs cups in cases when it's not already enabled
in qtbase.

Change-Id: I5435bdd61b418f91524726571c9acd2cea92c729
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 7731aab502)
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2022-11-21 10:31:05 +02:00
Qt Submodule Update Bot
6333a34826 Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: I804cc28474201287277deeeaf4f4ceb960ef693c
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-11-21 03:48:26 +00:00
Qt Submodule Update Bot
5b3b8cd597 Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: I190a7c33b1e6bdee2a800bb7ef279997c6f0fbf5
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-11-17 03:30:47 +00:00
Samuli Piippo
4ee0482dd2 qtwebengine: webrtc-pipewire depends on libgbm
Add libgbm dependency to webrtc-pipewire PACKAGECONFIG and
remove it from the defaults, since not all graphics stacks
have it.

Change-Id: Ibb8033514d8ed14674d6b475b26f84f14aefca18
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 76e4f4c875)
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2022-11-16 13:41:27 +02:00
Mikko Gronoff
54bf4ded71 webengine: adapt to WE 6.3 -> 6.4 update
Picked & squashed together from meta-qt6(6.4) the relevant parts
from commits "65972077eb19bac169cab82dfd6aa29e5c56c691
qtwebengine: move to 98-based chromium" and
"dc6a7797e0235c59adf48271b4c3101192be7e13 Add QtPDF"

...leaving the QtPDF addition part & obsolete chromium branch
adjustments out.

Change-Id: Ied9d5dc31af336dcc85207d2075d8b06f6650d53
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2022-11-16 13:41:22 +02:00
Samuli Piippo
42326e359f qtwebengine: move to 102-based chromium
Latest chromium no longer supports x86 builds.
Enabled spellchecker as build fails without it.

Change-Id: I6f40d48c20a47edbbc958e2f9c25907d05feb5b1
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit c1441fcabc)
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2022-11-16 13:41:09 +02:00
Samuli Piippo
a3df17ac97 qtwebengine: update licenses
Update licenses after SPDX changes were applied to the module.

Change-Id: I5fba720fd55b7a5912e81617e3b25f40eed47da1
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
(cherry picked from commit ca64e61b97)
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2022-11-16 13:41:01 +02:00
Qt Submodule Update Bot
82e85ace8c Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: I161efa7e88ed2ad5310dc010904d515044bf5982
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-11-16 11:40:51 +00:00
Samuli Piippo
0f2b57455d Coin: enable examples for qtapplicationmanager
Change-Id: If4065a9b309fafd8e05d018495dedd22be956aa7
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 85d9d71e27)
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2022-11-14 22:49:48 +02:00
Samuli Piippo
3738a38271 qtbase: build native and nativesdk with zstd enabled
rcc is using zstd to compress resources, so that needs be
enabled also in native and nativesdk builds.

Change-Id: Ic10758eb41a67712e55b44bfec4d4385d0512f7e
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 812bf25183)
2022-11-14 13:26:51 +02:00
Mikko Gronoff
9c69307144 coin: update test-no-webengine.inc
Update bitbake syntax.

Change-Id: Ifc0fa4ad1e3926cc55b38d8a008e914962fdd779
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2022-11-14 13:25:52 +02:00
Samuli Piippo
0144a4389c ptest: fix build issue with qtbase tests
ptest build had a subtle problem with qtbase where it was using
Qt6BuildInternals package from native sysroot instead of the target
install path. This could add compiler flags that were not supported
for the target architecture:
  cc1plus: error: '-fcf-protection=full' is not supported for this target

QT_ADDITIONAL_PACKAGES_PREFIX_PATH is not used in qtbase/CMakeLists.txt:
  find_package(Qt6 REQUIRED COMPONENTS BuildInternals CMAKE_FIND_ROOT_PATH_BOTH)
so the current approach for using Qt from the install path was not working.

Change the ptest build from using QT_ADDITIONAL_PACKAGES_PREFIX_PATHs
to using separate cmake toolchain file that prepends the install path
to CMAKE_FIND_ROOT_PATH, which makes CMake find the target Qt packages
correctly.

Change-Id: Idc99a26577886208b85bafe811f61538bb38d5bc
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
(cherry picked from commit b6a93fbdb6)
2022-11-11 16:06:18 +02:00
Samuli Piippo
9fd87589f7 ptest: remove references to destination directory
Tests are build against the destination directory where qt module was
just installed. This causes extra files to be taken into source package
and adds references to the TMPDIR, which produces QA warnings from
buildpaths QA test. Use DEBUG_PREFIX_MAP to get rid of those paths.

Task-number: QTBUG-105913
Change-Id: I01ed9261004410db307f2cd809a181377b734c9e
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
(cherry picked from commit 497624e967)
2022-11-10 10:50:43 +02:00
Samuli Piippo
f77498d211 ptest: remove build paths from tests
Testlib adds references to the build and source directories to tests,
which causes warnings on buildpaths QA test. Remove those references.

Task-number: QTBUG-105913
Change-Id: Ic63e72a0b11bef55876ef5ca40d0c1d753243004
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
(cherry picked from commit 3102804b65)
2022-11-10 10:50:20 +02:00
Michal Klocek
8468dd9b99 Fix minizip usage in qtwebengine
WebEngine needs minizip which is part of zlib.Till now it always built
bundled zip as minizip recipe does not exist in poky and moreover this
was never a configurable feature as it was not in PACKAGECONFIG.

A change in https://codereview.qt-project.org/c/qt/qtwebengine/+/384262
enables compilation of bundled minizip against system zlib (by using
shim headers) however it is not advisable as those two version of zip
might be different and minizip is project wise a part of zlib.

Therefore introduce cheap rip off of zlib recipe, however
building minizip from same source tree.

Task-number: QTBUG-103149
Change-Id: I1e36d2fba339fb5383018f05a6347c27dde0c8c1
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
(cherry picked from commit 9c2b02aab6)
2022-11-09 20:45:31 +02:00
Michal Klocek
cf01e7bf3c Add zlib dependency for qtbase
Zlib is mandatory dependency, meaning if there is no system
one qt will do bundled one. This is important to
know which one is used as webengine will try to build also
bundled one.

Task-number: QTBUG-103149
Change-Id: Ie7cc83dea558a5605295133fb0bf6fe0a3217492
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
(cherry picked from commit a565bccb07)
2022-11-09 20:45:21 +02:00
Mikko Gronoff
77b03a5a53 webengine: add patch for python 3.11 build issue
yocto master branch updated python to 3.11, resulting
in webengine build error(s):

"File "/home/qt/work/build/build/tmp/work/cortexa15t2hf-neon-poky-linux-gnueabi/qtwebengine/6.4.1-r0/git/src/3rdparty/chromium/tools/grit/grit/util.py", line 214, in ReadFile
with io.open(filename, mode, encoding=encoding) as f:
     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: invalid mode: 'rU'"

Add patch from chromium upstream.

Change-Id: I6308d2acd17a74b20ad6651d59f34e7246dc96ef
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
(cherry picked from commit 676e6da41b)
2022-11-04 10:13:58 +02:00
Qt Submodule Update Bot
a85a7f2daf Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: Ie78feafb18ea35ee746f88d1424bc0a15199cdbf
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-10-24 04:42:13 +00:00
Qt Submodule Update Bot
0d0a52a277 Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: Iabdca01696d2e8de4365586f4bc1fadd5338a462
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-10-18 01:30:45 +00:00
Samuli Piippo
e66966dcbf qtbase: avoid cmake archiving api for native build
After 812bf25183, we need to extend the
workaround for badly configured CMake also to qtbase-native. This fixes
error: CMake was not built with zstd support. Rebuild CMake or
set QT_AVOID_CMAKE_ARCHIVING_API=ON.

Fixes: WEBOSCI-54
Change-Id: I33c97b1a051fe90d706461c83f75912aa1c1c820
Reviewed-by: Janne Juntunen <janne.juntunen@qt.io>
(cherry picked from commit 0bb5361fe0)
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-10-12 06:57:09 +00:00
Qt Submodule Update Bot
f2a7f387b1 Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: Ia4f5e1d3ac8cfad0d340be646db7338ddf8657f0
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-10-08 16:14:18 +00:00
Qt Submodule Update Bot
e341180db5 Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: I5d9dc33b97ebadbcc8ce21237779fafd5aff65e3
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-10-04 12:13:56 +00:00
Mikko Gronoff
c039f7bb52 Bump version to 6.2.7
Change-Id: Ia4a75ff47cb9b9b4dc4e226a9b0a6d74f2360e04
Reviewed-by: Tarja Sundqvist <tarja.sundqvist@qt.io>
2022-09-27 13:13:18 +03:00
Qt Submodule Update Bot
c5929225c9 Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: Ibd6094d73fa48b9d2b2dea98aec53648105c1895
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-09-27 01:30:43 +00:00
Mikko Gronoff
7a6c300b73 Bump version to 6.2.7
Change-Id: I0e6529af717038f15e6ea8ee3bbf4f75dc09d338
Reviewed-by: Tarja Sundqvist <tarja.sundqvist@qt.io>
2022-09-26 08:55:24 +03:00
Samuli Piippo
c4c6cc20da qtinterfaceframework: add RRECOMMEND for the simulation package
If simulation support is enabled, make sure the package gets installed
to the image and toolchain. CMake files have references to the plugins
which causes builds to fail if interfaceframework is used with the SDK.

Change-Id: I7cf0fc334644ce38e783f6b7e21a7f5b082dacd0
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
(cherry picked from commit 18e0008e9e)
2022-09-15 07:03:54 +00:00
Samuli Piippo
7b2f8a53bd Revert "qtmultimedia: include only when opengl is available"
The problem has been resolved awhile ago, enable multimedia always.

This reverts commit 7feb5f4a4a.

Change-Id: I8d33f435955c3eeeecc18963f174351f7cfb13c6
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-09-12 06:05:49 +00:00
Qt Submodule Update Bot
81e19e1995 Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: Idee68abd4684d85be55713ae07a523c6ff352e53
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-09-12 01:30:43 +00:00
Qt Submodule Update Bot
88e591c288 Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: I64604bb777a9c965a4f8ade9a36509db53a083f6
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-09-02 01:52:06 +00:00
Qt Submodule Update Bot
c2628cbafa Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: I429291d45db3e6c6d30df2c0d1373d92528e4146
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-08-30 03:54:55 +00:00
Samuli Piippo
83d3bd799b qtbase: remove unneeded scripts
Reduce warnings from buildpaths QA test (contains reference to TMPDIR)
and remove few build utils that are not usable in bitbake build.
Run same do_install steps for all qtbase builds instead of keeping
separate ones for nativesdk.

Change-Id: Id8a6c4c3b03a850bdb1f99e3a3a08973e134eafc
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit ee836b7a9f)
2022-08-25 08:46:14 +03:00
Samuli Piippo
45340a8082 Remove QMAKE_PRL_BUILD_DIR from prl files
Reduce warnings from buildpaths QA test (contains reference to TMPDIR)
by removing QMAKE_PRL_BUILD_DIR from prl files.

Change-Id: I1a5fbac82c4a026b6ba41db3b0cca6a9fbf1e31a
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 8fb6c082d4)
2022-08-25 08:46:10 +03:00
Qt Submodule Update Bot
50e53d5a75 Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: I53865f5a78a27d66aa955200889496c748283e95
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-08-23 14:02:02 +00:00
Samuli Piippo
9567768fa3 ptest: handle names with spaces
Correctly remove debug file also when directory names have spaces.

Change-Id: Ia1d9efdd72d8f37417f2fd3f3f6d4a2736283ac9
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
(cherry picked from commit faed0e8947)
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-08-18 10:37:38 +00:00
Samuli Piippo
6b1fa542f6 qmlcompilerplus: add dependency to native
If we stop forcing build of target tools, we then need to have
dependency to the native package.

Change-Id: Ie5d9634ba4c85af877920e66fd88d36880af8afc
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 8228b69a19)
2022-08-18 10:37:38 +00:00
Qt Submodule Update Bot
8696a99640 Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: I4e16aeecf22869820295be972797b482a47966b8
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-08-18 05:53:43 +00:00
Qt Submodule Update Bot
933622183a Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: I8829d05ee5d550abff3af21b29fab3da9dc95ffd
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-08-11 08:33:43 +00:00
Mikko Gronoff
a2a9ba81b7 qt6-git.inc: remove qtspeech from the updated modules list
Qtspeech is not part of 6.2x. Submodule update bot managed to
trigger an update round in a release branch with qtspeech as
a single updated module. Remove the unneeded qtspeech entry to
prevent future issues.

Change-Id: I2ba31ee7d9c77293433af705bf67628009b02ff7
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2022-08-09 11:59:31 +03:00
Qt Submodule Update Bot
aa6d433692 Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: Ifcfb2863a45d5dbfd85d0918d1214681ff4e897b
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-08-08 02:11:30 +00:00
Qt Submodule Update Bot
2e55fcad17 Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: I588ee4bcf8a67a84756471360fdfbd7efc9ab160
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-08-04 04:17:14 +00:00
Qt Submodule Update Bot
91aab69afb Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: I4f861a1bca6515572366e66ca8c0ab23f2bd30ec
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-07-25 08:33:20 +00:00
Mikko Gronoff
8193106871 qt6-git.inc: Bump PV to 6.2.6
Change-Id: I1e8d23ef8ce50c084e075435d5b55615e903141c
Reviewed-by: Tommi Mänttäri <tommi.manttari@qt.io>
2022-07-21 12:51:31 +03:00
Qt Submodule Update Bot
f6c64fa0f8 Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: I6437841a3c3c8defbba195d4ee534c17624a2e92
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-07-20 02:18:58 +00:00
Qt Submodule Update Bot
1f00475f59 Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: Id1228e6e59621669dc2de07b7b85ea3a6ab2f527
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-07-11 05:25:30 +00:00
Samuli Piippo
176e84ced7 qtbase: add runtime dependency to vulkan-loader
Dependency to the vulkan-loader need to be runtime to correctly
pull it into the image.

Change-Id: I76be6de10d3515826e16b71444828a043c06970b
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
(cherry picked from commit 928a97fd48)
2022-07-04 08:37:54 +03:00
Qt Submodule Update Bot
b458bd3a77 Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: Ife5c885f2188189e59c3b5dbddbf66f397e1fe49
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-06-27 07:39:42 +00:00
Samuli Piippo
073a175a5d sdk: don't define flags for RELEASE build type
The default flags in TARGET_CFLAGS contain '-g' which matches
better to RELWITHDEBINFO build type than RELEASE. Don't define
any build type flags in the toolchain as CMake provides good
default values for each build type.

Change-Id: I6493597f6becf774893386df952c72ab4f66ead2
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 6672e84e6a)
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2022-06-21 15:46:36 +03:00
Qt Submodule Update Bot
71b5aaad28 Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: I4319c530164bb698df8127945eeb1c2a545a5235
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-06-21 07:09:52 +00:00
Samuli Piippo
012bc51f36 Use common variables for both LTS and commercial modules
Define QT_COMMERCIAL_GIT variable in layer.conf and use it in both
LTS and commercial modules.

Change-Id: If9137331236faa8fb78c02f76629cdf17114d230
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
(cherry picked from commit 49ee2bdf07)
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-06-15 11:17:30 +03:00
Samuli Piippo
4d7ee7fc3a qtwebengine: bring back correct licenses
Amend 72cf04bedb and use the
correct (L)GPL-3.0-only licenses

Change-Id: I4bdbf0e197d003966c5f06eaa94b9ced835e7820
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-06-14 11:21:50 +00:00
Samuli Piippo
72cf04bedb qtwebengine: update to 94-based chromium
QtWebEngine based on 94 chromium can be build with python3.
Remove all references to python2 and its meta layer.

Latest oe-core has version of ICU, freetype, harfbuzz and ffmpeg
that are not compatible with Chromium. Disable those PACKAGECONFIGs
by default.

Cherry-picked without qtpdf which is not supported on lts-6.2.

Change-Id: Ie2e38db14df0f51aaa87ecde7e0487b31be0bddd
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 57b22c6ea0)
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2022-06-13 10:31:37 +00:00
Samuli Piippo
c51ee614ce qtwebengine: update patch
Change-Id: I9647cba85fd4a9fcd0aadba1273b077b7ae6c844
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 682313136d)
2022-06-13 13:31:30 +03:00
Samuli Piippo
eabb084248 qmlcompilerplus: use from lts branch
Change-Id: I54189a5ff9b7217a4a88449c7f238edb6649d586
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2022-06-13 10:31:21 +00:00
Qt Submodule Update Bot
7568f697bd Update submodule refs on 'lts-6.2' in yocto/meta-qt6
Change-Id: If1bb54594f135a1bfa0ffa264e73ff9213e63abb
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-06-13 10:31:13 +00:00
Samuli Piippo
08352251e6 SDK: make sure initial qt host path is absolute
__qt_toolchain_initial_qt_host_path is assigned to QT_HOST_PATH and then
to CMAKE_FIND_ROOT_PATH. Problems occurs if that path is relative.
CMake doesn't do relative path resolving by default in find_package,
when doing sub-prefix checking between find root path and prefix path.

Patch the qt.toochain.cmake so that it always uses absolute path for
__qt_toolchain_initial_qt_host_path, but make it still based on its
own location.

Fixes: QTBUG-103818
Change-Id: I1cce126c243c017b1cecd14a0fd616cb0328fe6d
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
(cherry picked from commit ea541e308f)
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2022-06-09 08:20:49 +00:00
Samuli Piippo
f9b57ed9d7 Update handling of commercial modules
Add new packagegroup for all commercial-only Qt addon modules and add
new variable QT_COMMERCIAL_MODULES which can be used to control if the
modules are included in the build. The same variable also turns on the
use of Qt QML Compiler. Use common include file for the commercial modules.

Change-Id: I673a06685b44a5f0f5518ae51bc45956432739a4
Reviewed-by: Nicholas Bennett <nicholas.bennett@qt.io>
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 7b0817669a)
2022-05-24 09:49:59 +03:00
Samuli Piippo
7deb3d8734 sdk: Use correct CMAKE_PREFIX_PATH for Qt modules
Building Qt modules uses extra CMake instructions that try to be clever
about which CMAKE_PREFIX_PATH to use. With SDK, these instructions end
up using the SDK host paths in the device instead of the actual device
paths. Add CMake option to prevent Qt from changing the default prefix.

Fixes: QTBUG-103577
Change-Id: Ia933c843d811e6adb2ed4ede4708f55a6f0e8f0c
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit ec7e50bbaf)
2022-05-18 17:47:49 +03:00
Samuli Piippo
a5a07d6a0e sdk: don't force tool build from sdk
QT_BUILD_TOOLS_WHEN_CROSSCOMPILING has been deprecated in 6.4,
and cross-compiling compile time tools from sdk doesn't make
sense, all runtime tools are still being compiled.

Change-Id: Ia35255e3b84c38342be58b11461a4ee908fba1f9
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 73e88c5848)
2022-05-18 17:47:49 +03:00
Janne Juntunen
5e1822d67d qtbase: add option for developer_build feature
Developer_build will include all tests, including private tests,
enabling verification of Qt functionality on target platform.

Change-Id: Icd477958fc7e8144194c5cae3f5b94eebfee6045
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
(cherry picked from commit 9036696107)
Reviewed-by: Janne Juntunen <janne.juntunen@qt.io>
2022-05-18 13:16:16 +03:00
Michal Klocek
244039ef37 Fix bogus env path for qt6 toolchain setup
Use '$ENV{PATH}' otherwise generated file:
sysroots/x86_64-pokysdk-linux/usr/share/cmake/Qt6Toolchain.cmake
ends with:
set(ENV{PATH} "${SYSROOTS}/x86_64-pokysdk-linux/usr/bin:ENV{PATH}")
which breaks find_package calls.

Change-Id: Ieed45ca785ffdc0700f620863c5672e9764d3f8e
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
(cherry picked from commit b6b180a74f)
2022-05-16 12:09:15 +03:00
Samuli Piippo
56a32f7d8a Coin: build examples for all modules
Add example build for the missing modules.
Skip qtapplicationmanager due to QTBUG-101508.

Change-Id: Ib01935ac4314f3b97583f032e09fda2966f17549
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 6a5ae1effb)
2022-05-09 10:19:16 +03:00
Samuli Piippo
2aee7a8de8 coin: use correct domain for yocto-cache
Change-Id: I830bf9bcaabf954c4f25b380731781e557a134b6
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit a0e53e01e0)
2022-05-04 10:41:25 +03:00
Samuli Piippo
381e2420c5 coin: rename the shared sstate-cache
Use DISTRO variable in the sstate-cache directory. This lets use
reused the ci configuration in other distro builds as well.

Change-Id: I51ef6cca7fd938046e5b6510087fc4d62f2a4eb3
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit e6fba93482)
2022-05-04 10:41:20 +03:00
Samuli Piippo
0523ed869b qt6: switch to commercial-only LTS repos and branches
Qt 6.2 is now in LTS phase and changes are available only for
commercial users. Change the repositories to the tqtc-* available
from the codereview using ssh protocol.

Change-Id: I8b4bcba38533dd9ae9530915f69e8353c5ca6956
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-05-03 20:48:58 +03:00
Samuli Piippo
718ac4d9cd qtspeech: remove recipe
QtSpeech is not officially supported on Qt6 and no support is provided
in the LTS phase. Remove the recipe.

Change-Id: Ief4ab2d21ab1326d3ab79b120b5da311dc2cab66
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-05-03 20:48:58 +03:00
Mikko Gronoff
07cc88e786 Bump PV to 6.2.5
Change-Id: Ia40d584a9d2155013870646ae7d29270e85bcdd6
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2022-05-03 13:41:34 +03:00
Samuli Piippo
ac964348f6 qtinterfaceframework: fix example packaging
Multiple examples provide the same library which causes packaging failure:
ERROR: qtinterfaceframework-6.4.0-r0 do_package: qtinterfaceframework-examples: Multiple shlib providers for libInstrumentCluster.so

Add the library to PRIVATE_LIBS, since it's only used by the examples.

Change-Id: If09bc7d235171b2b844ec579f6affa6fbe3f8a6d
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 90a8c72bed)
2022-04-29 09:45:58 +03:00
Samuli Piippo
df7b1d2039 Add support for using LTS repos
The commercial-only LTS releases are available from separate repositories
in codereview using ssh protocol. Qt modules can be switched to using the
LTS version by including the qt6-lts.inc after qt6-git.inc.

Change-Id: I1795e3cad5e758e5de050803bd07c35ab168389a
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit ff3157ee7e)
2022-04-28 07:39:30 +00:00
Samuli Piippo
839ba6a1c8 Coin: add CI build for kirkstone
Add CI build using Yocto kirkstone branches and retire hardknott build
in favor of it. Hardknott is EOL on April 2022. Only dev branch will
continue to be tested against Yocto master.

Change-Id: I9aad0e14c1a5054b2e9eab85ec8a2f2d603f6427
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 670a077467)
2022-04-28 10:39:23 +03:00
Samuli Piippo
3dfa092ad6 qtwebengine: skip host build
QtWebEngine normally does a host build before the actual
cross-compilation build. We can skip that since during the
cross-compilation, the target binaries are run using QEMU
instead of ones from the host build.

Fixes: QTBUG-102378
Change-Id: I586a68641b48678933ed91a742235c6b22f1d109
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
(cherry picked from commit 73927c6db3)
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-04-27 07:04:37 +00:00
Samuli Piippo
5f29322cb1 Add details for LTS releases
Change-Id: I30efc2893bb715cc69704f42db20fe1e4727fa55
Reviewed-by: Nicholas Bennett <nicholas.bennett@qt.io>
(cherry picked from commit 368fd592da)
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-04-27 10:04:29 +03:00
Samuli Piippo
6215bb4cb6 Revert "qtquickdesigner-components: lower minimum CMake version"
This reverts commit bab800db57.
Fix has been merged to qtquickdesigner-components.

Change-Id: I1ef7d09e3d1c9517aa5c7abbf376cb9bb9422009
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 7a4cbf2995)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-04-11 09:12:18 +00:00
Qt Submodule Update Bot
92577dc684 Update submodule refs on '6.2' in yocto/meta-qt6
Change-Id: Ic11146503931a4429917a611917239f25415e633
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-04-11 09:12:17 +00:00
Samuli Piippo
4ffc6cb405 Stage all tools to sysroot
The compile time and runtime tools are referenced by CMake files
and if missing from sysroot, it can cause errors suchs as:

| The imported target "Qt6::canbusutil" references the file
|
| "/home/mak/yocto-raspberrypi-latest/build/tmp/work/cortexa53-poky-linux/smartcore/2.2+gitAUTOINC+3970c5b703-r0/recipe-sysroot/usr/bin/canbusutil"
|
| but this file does not exist.

Stage all files in bin and libexec dirs to make sure cmake builds work,
even though the binaries are not actually used during the build.

Fixes: QTBUG-102370
Fixes: QTBUG-97707
Change-Id: I3326e7b8f970952f6d18591204cb78e5a0defcf5
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
(cherry picked from commit 9334145f37)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-04-08 17:43:11 +00:00
Samuli Piippo
c1a84ec5c6 python3-antlr4-runtime: use correct recipe name
Change-Id: Ied805f6349eaaaa2bdff82712a5b24ca8817e02f
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 269c0e836c)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-04-08 05:09:28 +00:00
Samuli Piippo
c47fff0a88 coin: use shared Hash Equivalence server
Use shared Hash Equivalence server together with sstate cache.
The Hash Equivalence server can further improve sstate re-use.

Change-Id: I037b565344942cf99c4992e4ff9769fd47d9c77d
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 9ee589de19)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-04-08 05:09:21 +00:00
Samuli Piippo
957614779a qtbase: update license checksum
Change-Id: If4c6822c71e627d973b55f9edad382a4d6088acd
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
(cherry picked from commit 910ec2e260)
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-04-08 05:09:10 +00:00
Qt Submodule Update Bot
9b986efd83 Update submodule refs on '6.2' in yocto/meta-qt6
Change-Id: Ia19ebbae333d10dfecce8ce9c5a24a4aeae5cd3f
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-04-08 05:09:03 +00:00
Samuli Piippo
72fa838aaa qtserialbus: use PACKAGECONFIGs
Use PACKAGECONFIGs for modbus and socketcan supports. This adds
needed runtime dependency to libsocketcan.

Fixes: QTBUG-102197
Change-Id: I0b0aebfa3f9fd896e0307415c54efb9fc7f1b93a
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
(cherry picked from commit 0f598c3c14)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-04-05 16:12:49 +00:00
Samuli Piippo
7a505d351e qtserialbus: remove native and nativesdk support
The tool provided by qtserialbus is a runtime tool and there no needed
to support either native or nativesdk builds.

Change-Id: If1292680ec8f9afd1085b9a12b1976087cafe71f
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
(cherry picked from commit b24db734ac)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-04-05 16:12:42 +00:00
Samuli Piippo
7d42dee840 qt6: make configure more verbose
Qt configure has lowered its verbose when not using developer-build.
Increase the verbose level to have the configure summary of the
Qt module back into the logs.

Change-Id: If742b68353fe6f0614bf4be8f355cfc24f9a42f3
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 312d7185d8)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-04-05 16:12:42 +00:00
Samuli Piippo
059f6af27f qtquickdesigner-component: switch to CMake build
Change-Id: I464f6cdedf02185876a57f4cafad47d5f60f10b4
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit e8102f036a)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-04-05 16:12:41 +00:00
Samuli Piippo
bec4186a23 qtquickdesigner-components: lower minimum CMake version
Dunfell still has CMake 3.16, which is the default minimum version
for Qt. Use it for qtquickdesigner-componets as well.

Change-Id: I07c0c35dfc589bae4fc9d47e4ec31ef27042454d
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit bab800db57)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-04-05 16:12:41 +00:00
Qt Submodule Update Bot
46ec53dc2b Update submodule refs on '6.2' in yocto/meta-qt6
Change-Id: If0e7cca14a0976029d974750ffb10910136ae181
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-03-25 02:37:18 +00:00
Jani Heikkinen
ff6b32f452 Update The-Qt-Company-Commercial
Newest version is 4.4.1 so update it in the git as well

Task-number: QTBUG-101714
Change-Id: Ifd65867cc25abacd37bf1e90c0638bc50ac476b5
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
(cherry picked from commit 8d84283339)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-03-24 19:51:55 +00:00
Samuli Piippo
466377bff2 qtinterfaceframework: remove workaround
Kirkstone has been updated with working nativesdk-python3
builds and qtinterfacewramework can now be included in the SDK.

Change-Id: Ibcaf520688a56f9607db89993aa9ec9e2d667844
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
(cherry picked from commit bc0717a20b)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-03-23 13:00:00 +00:00
Samuli Piippo
67ba904ac5 Revert "Bump PV to 6.2.5"
This reverts commit 6a3f387612.

6.2.4 is the last opensource release, 6.2.5 will continue in
the lts branch when created.

Change-Id: I73aabd0dbd61ba5baa33ed61068650131d45ce16
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2022-03-23 07:48:34 +00:00
Qt Submodule Update Bot
d5890fe42c Update submodule refs on '6.2' in yocto/meta-qt6
Change-Id: I4b9bc4f4dc4dbba2b00b4e2cf1aaed9e0156a288
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-03-22 19:36:46 +00:00
Samuli Piippo
d62ef5b941 qtdeclarative: include tools in packagegroup
qtdeclarative-tools has runtime tools, such as qmlscene,
that can be useful in the image.

Change-Id: I359611f8a3e575d8b18b63c4f8a034ad5ab705a1
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
(cherry picked from commit c3d4a5722f)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-03-22 14:44:49 +00:00
Mikko Gronoff
6a3f387612 Bump PV to 6.2.5
Change-Id: If7bbd45b08df5ba7ec430afd41e50e5d5dc26017
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2022-03-21 09:57:20 +02:00
Samuli Piippo
d0defc23bb sdk: add bin to PATH
Prepend PATH env with the path to the bin directory in the cmake
toolchain file. This let's CMake to find CMAKE_MAKE_PROGRAM (make or
ninja) without need to specify it explicitly when using the qt-cmake*
helper scripts.

Change-Id: Ic7ce057421395d98158b3ad6e529f30b629bdded
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit eaee55e9fe)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-03-16 14:31:50 +00:00
Samuli Piippo
4d7469651e sdk: support cmake builds on Windows
CMake and Ninja combination does not support changing RPATH on Windows hosts,
even when cross-compiling. Add CMake configuration to workaround this.

Change-Id: I5d82c0a7f91cf81a0b3ed7c0f14aeccc36464f91
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 554b947ba4)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-03-16 14:31:44 +00:00
Samuli Piippo
fd37fd6991 qtbase: enable scripts for mingw toolchain
Make sure the qt-cmake* helper scripts get correctly created
for mingw toolchains.

Change-Id: I0ec6c4e12abf375677226ea32a6c36066a990f3b
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 3d122c668c)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-03-16 14:31:38 +00:00
Samuli Piippo
1625dbe18d qtinterfaceframework: update workaround for kirkstone
Skip qtinterfaceframework also with kirkstone now that master
branch is using kirkstone as DISTRO_CODENAME.

Change-Id: I8ff7c9c3289d4f2c8864c14a6abcf61fe34250a6
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit b32b7f2774)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-03-16 14:31:38 +00:00
Qt Submodule Update Bot
faaa75bd95 Update submodule refs on '6.2' in yocto/meta-qt6
Change-Id: Ie83d625e9e68e54ebacc86c3d7789182046b544b
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-03-14 19:15:25 +00:00
Qt Submodule Update Bot
6570dc7764 Update submodule refs on '6.2' in yocto/meta-qt6
Change-Id: Ie7ccf01b76357b96e93a0027ceeb7f2e9b1e2268
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-03-11 18:15:23 +00:00
Samuli Piippo
ea7726a0df Create Conan profile
Generate Conan profiles that can then be used with the SDK.
Task in qtbase generates profile that has all the architecture bits
and configure arguments in place. The profile added in the SDK phase
lets Conan recipes know how to use the SDK with the QT_CONFIGURE_MODULE
environment variable.

Change-Id: I33a9b0f3915417d98ad12559ce7661c92b1cc739
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
(cherry picked from commit a64c978983)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-03-10 10:51:57 +00:00
Samuli Piippo
f41e3d3139 sdk: resolve absolute paths in toolchain file at runtime
MinGW toolchain doesn't perform relocation during installation,
so all the absolute path point to the temporary sdk paths.
Use the location of the toolchain file to get the absolute
paths at runtime instead instead of using external SDKPATH
env for it.

Change-Id: I699b2178baf5cc855a57186056341b6c6eefbbf5
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
(cherry picked from commit 0ef2348d49)
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2022-03-09 13:07:24 +02:00
Samuli Piippo
9d5672ebda sdk: rewrite cmake toolchain file without environment variables
The default OEToolchainConfig.cmake uses environment variables
to set all the cmake variables in place. The Qt6Toolchain.cmake
chainloaded the same toolchain file after setting everything to env.

Rewrite the Qt6Toolchain.cmake now to set all the cmake variables
directly without using environment variables or chainloading
the origin OEToolchainConfig.cmake.

This allow better integration to QtCreator that might be used
to modify the compiler flags for projects.

Change-Id: I7c7c42ec17c86f53b62ed557d9b61d5d19abc1e0
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 5cbac6cf35)
2022-03-09 13:07:12 +02:00
Qt Submodule Update Bot
81d0697967 Update submodule refs on '6.2' in yocto/meta-qt6
Change-Id: I1ec7b7f1aa1a0709ba32b8d49fd76a83d823e019
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-03-08 17:33:26 +00:00
Samuli Piippo
b24cb95edc Revert "qtbase: add patch for cross-compilation build"
This reverts commit e31b6352a0.
The patch was merged into qtbase.

Change-Id: I0b342b99cd97a71f358f9e57dee53634e2972de5
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2022-03-08 13:47:36 +02:00
Qt Submodule Update Bot
34020d241f Update submodule refs on '6.2' in yocto/meta-qt6
Change-Id: I61eaa91d9e05c8455f272750943ec760c187ee89
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-03-08 11:47:36 +00:00
Samuli Piippo
aa5a70f0ba licenses: add SPDX license mapping to old license names
The common license files have been renamed to use SPDX names, but we
still support some older yocto branches that use the old names.
Add mapping to allow building with older yocto version after the
recipes are updated to the new license names. This avoid warnings:
No generic license file exists for: GPL-3.0-only in any provider

Change-Id: Ib93baf9027442e69ab5bce294449bd203d9be2aa
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit f80f96848d)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-03-08 07:16:19 +00:00
Martin Jansa
b1b08aa40f meta: update license names
* openembedded-core/scripts/contrib/convert-spdx-licenses.py .
  ...
  All files processed with version 0.01

Change-Id: Ife671a597eea9e1567d2b37d0aea25cc0b8e9012
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit d26bf4af06)
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2022-03-08 09:16:13 +02:00
Samuli Piippo
44966f276a srcrev_update: fix update task with latest fetcher
Additional check was added into the bb.fetcher that needs to be
workaround in srcrev_update task. Otherwise task will fail with
error:

Exception: bb.fetch2.FetchError: Fetcher failure: Recipe uses a
floating tag/branch without a fixed SRCREV yet doesn't call
bb.fetch2.get_srcrev() (use SRCPV in PV for OE).

Change-Id: Ib3c2665257c344c312074519a03d96437866cd8d
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 6492c16955)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-03-05 10:05:17 +00:00
Samuli Piippo
a476f413c6 layer: use the same priority as the core layer
Some of the python3 recipes we carry are already in meta-python
layer, but not in all the branches that we support. In order to use
the most recent recipe, we need to have same or lower BBFILE_PRIORITY
than meta-python. Depending on the branch, meta-python's priority is
either same or higher than the core layer's priority.

Change-Id: I98c74858c5be69e45a76a45ed10aa1168c614618
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit d36033ca56)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-03-03 14:29:58 +00:00
Samuli Piippo
6a9e4eb48e layers: Bump to use kirkstone
Fixes: QTBUG-101142
Change-Id: I85c5dbbfc10184108514dd01a3255018c0dc3db4
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 3ff5acc752)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-02-24 15:46:39 +00:00
Samuli Piippo
94d47588e0 Coin: adapt to variable renaming
In kirkstone, some of the variable have been renamed to
use inclusive language.

Change-Id: Ic03fc3a748ea6a4e3e510040b9cd6b5e038d4662
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 2d4825f309)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-02-24 15:46:33 +00:00
Samuli Piippo
20b5fb31c7 Coin: use include files for configuration
Restructure the Coin build configs so that all configurations
are already in .inc files that can be easily included.

Change-Id: I93d74254804b7d17106a3f08af2973464e669928
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 0708a33ea6)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-02-24 15:46:26 +00:00
Mikko Gronoff
e31b6352a0 qtbase: add patch for cross-compilation build
Add patch that amends cmake related change included in latest
submodule update.

Change-Id: Ifdba80854f28277d40bc245e7a01eac9b7bc4998
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2022-02-21 10:33:45 +02:00
Mikko Gronoff
89ba83fa7a qtwebview: update license & checksums
Pick-to: dev 6.3 6.2.4
Change-Id: I061c2c6a2267fea2bb8c613de2da0c33a5059446
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2022-02-21 08:33:33 +00:00
Mikko Gronoff
e0436d24f3 qtbase: update license agreement checksum
Pick-to: dev 6.3 6.2.4
Change-Id: I76d6a0a4576d3a8430060d42845e4ca4b5fd7219
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2022-02-21 08:33:12 +00:00
Qt Submodule Update Bot
b4dc956230 Update submodule refs on '6.2' in yocto/meta-qt6
Change-Id: Iee18d0bbe3878939791d3033162a9826960222c7
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-02-21 08:32:57 +00:00
Samuli Piippo
faa4646b30 qtquickdesigner-components: add dependency to native-qtdeclarative
native-qtdeclarative is needed to take advantage of qmlcachegen
and qml script compiler.

Change-Id: Ie78b3401a1f4dfe252970f8c0b1dea70c0c0c954
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 9471cb966f)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-02-14 16:04:45 +00:00
Samuli Piippo
2d5228e95b sdk: workaround failing nativesdk-python3-qface build
meta-openembedded/master has issues building certain python3
modules for nativesdk. For python3-qface, failure is from dependency
chain: nativesdk-python3-qface
 -> nativesdk-python3-watchdog
  -> nativesdk-python3-requests
   -> nativesdk-python3-pyopenssl
    -> nativesdk-python3-cryptography

Don't include qtinterfaceframework to sdk when using master branch
with poky until all modules can be built correctly.

Change-Id: Id2837f1363a22cb28e45c1165631cfa3f37756a7
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit b2ccd0bd60)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-02-14 16:04:45 +00:00
Samuli Piippo
5da8552ecc licenses: be explicit about BSD license
All references here to BSD actually mean BSD-3-Clause.

Change-Id: Iec43070c5245d053259c215311f238989741c85d
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 154c396c57)
2022-02-11 17:54:57 +02:00
Samuli Piippo
96c29ca26e Revert "qtwebengine: disable webrtc-pipewire support"
This reverts commit d19c1d8cf9.
The issue has now been fixed.

Change-Id: Id5fad9cb5eadc04441ae6963b90f482cbe10911d
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-02-11 17:54:43 +02:00
Samuli Piippo
46e7451091 qtwebengine: update patch
Change-Id: I4b521099b2283943b893d841c5f2d12e2fbbce01
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 2394565194)
2022-02-11 17:54:32 +02:00
Samuli Piippo
025fcd937f qtapplicationmanager: update revision
Change-Id: I072d8f155612684563da9ad4c7912d6b1340489f
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2022-02-11 17:54:17 +02:00
Qt Submodule Update Bot
8514145884 Update submodule refs on '6.2' in yocto/meta-qt6
Change-Id: Ia6853ecd12c2f929dcac9dd9ab0a53551124b911
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-02-11 15:54:11 +00:00
Samuli Piippo
2a751aeeb1 sdk: use relativate path with cmake toolchain file
Paths in mingw toolchain are not relocated when installed, so we
need to use relative path for the Qt6Toolchain.cmake file.

Fixes: QTBUG-100642
Change-Id: I48542f20f4443c8130f89c2436f5b0ecea914bb0
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit e78c281c0a)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-02-10 13:45:39 +00:00
Mikko Gronoff
2c6531dbfe qtquickdesigner-components: update module
Update to latest revision in dev branch.

Change-Id: If12c3f3071f208c2ab1e1a5d63697b2e9a071c57
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
(cherry picked from commit e4e5b75e22)
2022-02-10 09:51:16 +02:00
Jani Heikkinen
254c53abcd Fix a bug in LA 4.4
Fixes: QTPMO-1479
Change-Id: I86eefc98ad663141de840d54d713ef029ee28291
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
(cherry picked from commit 92b8d16b73)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-02-09 19:15:11 +00:00
Samuli Piippo
760d826ee1 qtwebengine: skip QA issue
Fix QA Issue: qtwebengine: ELF binary /usr/lib/libQt6WebEngineCore.so.6.2.4
has relocations in .text [textrel]

Change-Id: I46fae1212efa0680cec2bfbc29f21800195176d2
(cherry picked from commit 57b22c6ea0)
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-02-09 09:08:41 +02:00
Samuli Piippo
d50f63cea7 Coin: build webengine without system ffmpeg
oe-core/master has incompatible ffmpeg version, instead use the
chromium's own version.

Change-Id: Ic14b85d6f07fd538c18bbb97647fb9bc9c923cb9
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-02-09 09:08:34 +02:00
Samuli Piippo
f369aa3f3b Coin: use manifest to fetch meta layers
Use manifests to fetch meta layer repositories. This enables
us to easily pin the upstream layers to specific revision if
and when the latest revision gets broken.

Build again against master branch, the manifest is pinned to
working meta-openembedded revision.

Change-Id: I5d217f6932aaf5eaacae8ccbc790ea31aaa27f37
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 688791f03d)
2022-02-09 09:08:21 +02:00
Samuli Piippo
ee7f7bed4a ptest: allow ptest to be disabled for all Qt modules
For static Qt builds, it's useful to allow disabling ptest for all
Qt modules without removing ptest from DISTRO_FEATURES, since that
would cause rebuild of most of the system components.

Change-Id: I32aa202ce8e4a1260e287b0625495ef828536511
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit a730a1f029)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-02-04 11:44:22 +00:00
Samuli Piippo
9080dc9fe0 qtbase: remove unneeded patch
Catch2 was updated in qtbase, patch is no longer needed.

Pick-to: dev 6.3
Change-Id: I762e27a49ddcc325c5911e36bb65aab24b0b78cb
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-02-03 15:08:00 +02:00
Samuli Piippo
06231d781a qtwebengine: update license checksum
Change-Id: I9e19340b783fefd3cb3ea9d523354e022e131638
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 81daff59ce)
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2022-02-03 15:07:59 +02:00
Qt Submodule Update Bot
2b106b5871 Update submodule refs on '6.2' in yocto/meta-qt6
Change-Id: Id4a8302bebe9fc15eb6f682bffc95d2853acab77
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-02-03 13:07:58 +00:00
Samuli Piippo
d19c1d8cf9 qtwebengine: disable webrtc-pipewire support
Temporarily disable support for webrtc-pipewire feature due
to QTBUG-100435.

Change-Id: I77191b7c9ed6fd8f598191e37517985263e41281
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-02-03 13:07:57 +00:00
Jani Heikkinen
3679fa9b0e Update The-Qt-Company-Commercial
Newest version is 4.4 so update it in the git as well

Task-number: QTBUG-98971
Change-Id: I3b2086857e7c9b9cf7d44a40c080ae6bd03ca927
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
(cherry picked from commit 7017b2f1f6)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-02-01 17:18:30 +00:00
Samuli Piippo
0370a1bda5 qtinterfaceframework: fix packaging for static builds
In static builds, we can't have the extra simulation and refapi packages
first on the list, since the static libs would end up there as well.
Use PACKAGE_BEFORE_PN to add the packages in proper order.

Change-Id: I35976b90b12137caa7b7044f4aef40c229c75783
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
(cherry picked from commit 7e1e9f892e)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-02-01 09:33:21 +00:00
Samuli Piippo
0f6de61a4b qt6-cmake: inherit pkgconfig
Static build needs pkgconfig for every Qt module. Include it already
in qt6-cmake class instead of in each individual module.

Change-Id: I065382ee49d6b40b76ede9e632d17221451de8d1
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
(cherry picked from commit cbac31ee90)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-02-01 09:33:21 +00:00
Samuli Piippo
c800414eba qt6: add packaging rule for static plugins
Change-Id: I7f511470d3de6ae25eb4631de38b18fe347bcdfd
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
(cherry picked from commit c8499a81b5)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-02-01 09:33:21 +00:00
Mikko Gronoff
81878a43b4 qt6-git.inc: Bump PV to 6.2.4
Change-Id: I09b7433685e7a40e0d5efe152c1ba1237366696a
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2022-01-28 08:15:53 +02:00
Samuli Piippo
d188d422e8 qt6-cmake: remove unncessary directory separator
Change-Id: Ie4ced4340bcf672cfbf7f034283beb53c93dbd92
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 17c05714ad)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-01-20 22:41:42 +00:00
Mikko Gronoff
1c9ac4ace1 qtdatavis3d: update license
Leftover from earlier license update change. Amends
commit 21a91d465d.

Pick-to: 6.2.3
Change-Id: I0117fe38773d39f358475378030e017edabe0a17
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2022-01-20 22:07:31 +02:00
Qt Submodule Update Bot
6a1b0efcaa Update submodule refs on '6.2' in yocto/meta-qt6
Change-Id: Ieb2e261738bf901ea1ef907e16db124a9202fcf1
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-01-20 14:56:21 +00:00
Samuli Piippo
cf55d9d527 qtmultimedia: add dependency to qtsvg for examples
Some examples have dependency to Qt SVG.

Change-Id: I9084c4a4e321710aa60a6e5df351b37c3c1518cb
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit a6e5979a1b)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-01-20 14:56:21 +00:00
Samuli Piippo
5bfd174e39 Coin: disable CI build against upstream master
meta-openebedded is currently broken due to nativesdk-python3-cryptography.

Change-Id: I99fa9313c1c8d1196bc09a8755269ecffe75ce56
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 3da9ed068a)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-01-20 10:18:54 +00:00
Samuli Piippo
6364361d88 sdk: don't filter nativesdk packages with DISTRO_FEATURES
The nativesdk builds have different set of DISTRO_FEATURES, which
by default don't include wayland, even if it's used for target builds.
Instead of filtering wayland packages based on the DISTRO_FEATUREs,
always include them. The nativesdk packages builds correctly, even if
wayland is not supported for the target.

Fixes: QTBUG-99787
Change-Id: I9e00b5e4eacc340a985d0617911c02144ec3e6ed
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit a03cfa981d)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-01-18 12:14:11 +00:00
Mikko Gronoff
5936d6e7a6 qtquickdesigner-components: update module
Update to latest revision in dev branch.

Change-Id: I0518f52a12f6142ccba157785c80feaa2c14c840
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
(cherry picked from commit d56d65c8b8)
2022-01-17 09:59:08 +02:00
Mikko Gronoff
21a91d465d qt6: Update license clauses
Previous submodule update brought in license file
updates for several modules, removing obsolete ones
and adding missing ones. Update license clauses for
the modules to match current licensing.

* Cherry-pick adaptations for 6.2 branch:
  qtserialbus & qtshadertools updates omitted
  as those are not applicable in 6.2 branch

Change-Id: I1481dacf7e8da594866ebba13a5fa44f167562d8
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
(cherry picked from commit b7437b7c2f)
2022-01-17 09:58:56 +02:00
Samuli Piippo
5a4b38abc2 Move generated qmltypes files to dev packages
The qmltypes describe the plugin-supplied types contained in the library.
They are used for QML tooling purposes only. Move them to the dev package.

Change-Id: I8aad69d0cda9564651ddadc2a3d2d0434250b742
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 97899416ec)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-01-13 22:23:12 +00:00
Samuli Piippo
6ebbdc2a17 sdk: use Qt's own qt.toolchain.cmake in build scripts
qt-cmake* helper build scripts by default use Qt's generated
qt.toolchain.cmake as the CMAKE_TOOLCHAIN_FILE. Keep this behavior and
patch qt.toolchain.cmake so that will chain-load our Qt6Toolchain.cmake.

qt.toolchain.cmake includes bits that are needed for the conan
integration to work correctly with the sdk.

Change-Id: I89a5e152324178151ba8a5ab4734d542fa4c995c
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 7f3cb3884d)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-01-11 15:09:26 +00:00
Samuli Piippo
aa6c687f75 qtvirtualkeyboard: inherit pkgconfig
Newer oe-core doesn't pull many default dependencies anymore:
https://lists.openembedded.org/g/openembedded-core/message/156185
add explicit dependency on pkgconfig through pkgconfig.bbclass as
we're using it here.

Fixes:
| ERROR: Feature "hunspell": Forcing to "ON" breaks its condition:
|     QT_FEATURE_3rdparty_hunspell OR QT_FEATURE_system_hunspell
| Condition values dump:
|     QT_FEATURE_3rdparty_hunspell = "OFF"
|     QT_FEATURE_system_hunspell = "OFF"

Change-Id: I5f05e2e249ef52402626ee3469f32b0c05d58cb5
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 0e598fb241)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-01-11 15:09:26 +00:00
Qt Submodule Update Bot
58b77cff2d Update submodule refs on '6.2' in yocto/meta-qt6
Change-Id: Idf3026f8df680543b9c40902efce340ec0d547ef
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-01-05 02:18:12 +00:00
Qt Submodule Update Bot
be4ac9af6c Update submodule refs on '6.2' in yocto/meta-qt6
Change-Id: I6fcbb327ef7c92f05059abb23c19c3f62f5b0dde
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-01-04 00:17:49 +00:00
Martin Jansa
4f28e05494 qtinterfaceframework: inherit pkgconfig
Newer oe-core doesn't pull many default dependencies anymore:
https://lists.openembedded.org/g/openembedded-core/message/156185
add explicit dependency on pkgconfig through pkgconfig.bbclass as
we're using it here.

Fixes:
| ERROR: The taglib submodule was not initialized
| Please initialize the submodule
| E.g. by running the following command:
|     git submodule init && git submodule update
|
| or disable taglib by passing --taglib=no

Change-Id: I1038a755d12e8f918a8b44646b241b0b807da86c
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
(cherry picked from commit b38b4c77ce)
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Reviewed-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-12-29 14:16:29 +02:00
Pasi Petäjäjärvi
2a5b08abdb QtApplicationManager: Add support
Adds Qt Application Manager module

Task-number: QTBUG-94105
Change-Id: I536b088c69b7ace484fbeef8e8a0e8136a1abacc
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
(cherry picked from commit 082551ef78)
2021-12-29 12:35:24 +02:00
Pasi Petäjäjärvi
7b9b54e5d3 QtInterfaceFramework: Add support
Adds Qt Interface Framework module.

Task-number: QTBUG-94105
Change-Id: I3f8a1caf251e2e6b8be55e78361a3e0f2b95fca4
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
(cherry picked from commit d4572bf1b9)
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2021-12-29 10:56:34 +02:00
Jeroen Hofstee
8927654c3e qt6-qmake: use the OE_QMAKE bindir and libexecdir
The bindir and libexecdir can be set to a different directory. Since
qmake and tools were searched for in the normal native staging bindir
and libexec dir, they would not be found. So use the OE_QMAKE version
of them instead.

Change-Id: I834bded248a79a6f0d18c6a32b4230f44ddf6a64
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
(cherry picked from commit af73962f3d)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2021-12-29 07:40:46 +00:00
Pasi Petäjäjärvi
34e7839619 QtIF: Use qface from 3rd party repo
With newer yocto old qface recipe using our internal repo
suddenly preferred pypi own repository for qface. So
use external version of qface instead and try to get that
added to meta-python also.

Fixes: QTBUG-96727
Change-Id: Ia6fae613f6d8ced531dad2bda4f1abc18cbf7eba
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
(cherry picked from commit ce7a39b78b)
2021-12-27 14:23:04 +02:00
Pasi Petäjäjärvi
1022f27987 qtbase: Enable ssl support
Required by QtApplicationManager to build appman-packager binary
for host.

Change-Id: Ia31e2df611fe4876110ba9999dd4f60374b783b1
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
(cherry picked from commit 02f96bd7d5)
2021-12-17 12:30:13 +00:00
Mikko Gronoff
8cb2c3a4a7 qtwayland: remove xcomposite pkgconfigs
Removed by qtwayland commit "048f431737f71813bf9ccc2a8300107ce0ba2020
Don't build XComposite buffer integration by default"

Change-Id: Id853de61003f67d0594fc09ed7476d108e32a933
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2021-12-16 10:26:11 +02:00
Mikko Gronoff
653fa5d16c qt6: update license checksums
The latest submodule update brings many
license changes for modules, removing
obsolete ones & adding missing ones. Update
recipes license chksums to match.

Change-Id: Ibe5b654294658e9a698da13c44fcada0a1690bc8
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2021-12-16 10:25:33 +02:00
Samuli Piippo
dc17449ed3 Update Qt Commercial license
Change-Id: I3668a851635e388d84d6a86c38c415ff82680872
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
(cherry picked from commit 9f5ce3eae8)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2021-12-16 10:25:22 +02:00
Qt Submodule Update Bot
5013bf1b4c Update submodule refs on '6.2' in yocto/meta-qt6
Change-Id: I7ba9e6c7a4e84361446c820dc565ba6fdde54439
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2021-12-16 10:24:59 +02:00
Mikko Gronoff
2de2553d4a qt6-git.inc: Bump PV to 6.2.3
Change-Id: I1ed3231dfb9a385731541cb9667d0f9a349c571b
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2021-12-16 10:24:21 +02:00
Samuli Piippo
6e56aa1a56 qtbase: fix PACKAGECONFIG for PostgreSQL
Change-Id: I6b6ab0a8d6f361931aa0ac39e449b27d3cab24f6
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 5b52d7a14e)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2021-12-15 19:41:45 +00:00
Samuli Piippo
1f5be3a46a Revert "Coin: add required zstd"
This reverts commit a77f474aba.
Zstd is now available in the provisioning.

Change-Id: Id66a3a8797e0c893318974a6fe2dd4e032d563b4
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 7c192d68dc)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2021-12-15 19:41:45 +00:00
Samuli Piippo
447e077905 sdk: support additional build scripts from qtbase
QtBase has several helper scripts available that can be used
to build other modules and tests. Patch those so they work
properly from the sdk.

Fixes: QTBUG-93342
Change-Id: If393d1a0abdebe21a70439190e49715bcd3e35a1
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
(cherry picked from commit 7297b1bee8)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2021-12-14 21:06:21 +00:00
Andrej Valek
3ac95a6c5b qtbase: add missing packageconfigs
Even if eglfs or linuxfb could be enabled via QT_QPA_DEFAULT_PLATFORM
variable, options have been missing. So add those missing options.

Add eglfs/linuxfb option based on opengl feature into
PACKAGECONFIG_GRAPHICS packageoption.

Change-Id: Ida85363ebcf4ef47a4914dcaf5d2649bb70c41fc
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
(cherry picked from commit 90dd254455)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2021-12-14 14:35:41 +00:00
Pasi Petäjäjärvi
610f2629a5 QFace: Add support
Adds Qt Interface Language (QFace) library

* Add also python dependencies that are not available from
meta-python

Task-number: QTBUG-94105
Change-Id: I08e5198834c36b0019bbc99a3a3f0b0fbc8b422a
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
(cherry picked from commit bfd5af7306)
2021-12-14 01:50:09 +03:00
Samuli Piippo
305fc3c3ec sdk: include nativesdk-qtserialbus-tools
QtSerialBus has canbusutil that is expected to be available in the sdk:

CMake Error at usr/lib/cmake/Qt6SerialBusTools/Qt6SerialBusToolsTargets.cmake:85 (message):
  The imported target "Qt6::canbusutil" references the file

     "usr/bin/canbusutil"

  but this file does not exist.

Change-Id: I59dedc2767c47b6dcbfbed318ff8e698accba30c
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
(cherry picked from commit a59b72141a)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2021-12-13 18:18:18 +00:00
Jeroen Hofstee
4a4ddcf156 sdk: don't append the first line to qt.conf
Since commit 212ae9b ("Use bindir for tools on Windows SDK) qt.conf is
now created in the WORKDIR and is still present when rebuilding the SDK.
Since all lines are appended to the file it will continuesly increase.
So write the first line to the file instead of appending it.

Change-Id: I52d4cb91630884a1ecdc1e6b225fda4cf39d852b
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
(cherry picked from commit 6b7208cedd)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2021-12-08 08:24:13 +00:00
Jeroen Hofstee
108ed216b0 sdk: fix compiler location for QT6_INSTALL_BINDIR != bindir
If QT6_INSTALL_BINDIR is set to a different value than bindir, the compiler
cannot be found, since it is typically installed in bindir. So point to
bindir by default instead.

Change-Id: I3bb94c2daf97f1b2500560fdcc4304cba9699ab5
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
(cherry picked from commit 002b2ce29f)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2021-12-07 14:24:33 +00:00
Samuli Piippo
2228551fa0 qmlcompiler: add all needed packages to host SDK
Need to include -dev and -tools packages for Qml Compiler.

Change-Id: I573f835f7166cf3adde7ffc4ef477769b4b4f566
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 503ff87af5)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2021-11-25 11:36:35 +00:00
Samuli Piippo
d2ca64d95a Use correct domain for yocto-cache
Change-Id: I669912271b14cc35c09e390fe26b2da4a6cdb8b3
Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
(cherry picked from commit 16be6131ae)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2021-11-24 13:44:43 +00:00
Samuli Piippo
2887c4e82e Workaround too eager packagegroup sanity check
After oe-core/5bf3e447d2f5064495d83a8fad30229bcf1ecc9b change allarch
packagegroups are sanity checked. Nativesdk packagegroups should be
excluded for that check, add workaround to avoid errors: "An allarch
packagegroup shouldn't depend on packages which are dynamically renamed"

Change-Id: Iaa59380c98e798841d619775c1c266ca99655be4
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 95fa269ffa)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2021-11-17 13:58:51 +00:00
Samuli Piippo
287ba12490 qmlcompiler: disable by default
Properly disable the use of QML Compiler Plus by default.

Change-Id: I4adebf56b2621963585db87e1084a4da819de9b9
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 01d90c1120)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2021-11-17 13:58:51 +00:00
Samuli Piippo
1bca74b41a Add QML Script Compiler
The QML Script Compiler is a commercial drop-in replacement
for the cachegen tool to compile your QML script expressions
and functions to C++ ahead of time.

It is available only for commercial customers and source code
fetch needs proper ssh keys available for accessing the repository
at codereview.qt-project.org.

Usage of QML Script Compiler is not enabled by default, but if
enabled globally using ENABLE_QMLCOMPILER variable, all Qt modules
that have dependency to qtdeclarative are compiled using Qt QML Compiler.
Its usage can also be enabled or disabled by each individual recipe.

Task-number: QTBUG-95475
Change-Id: Iee8539ee8ddc17c70e9ed81ab3b4f242f9386586
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
(cherry picked from commit d0e7002304)
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2021-11-12 16:08:17 +02:00
Qt Submodule Update Bot
19a635e889 Update submodule refs on '6.2' in yocto/meta-qt6
Change-Id: I0e17951829ec967d0de898014c719f2062b47828
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2021-11-11 08:51:20 +00:00
Mikko Gronoff
3a8d613fad qt6-git.inc: update PV 6.2.1 -> 6.2.2
Change-Id: Ibc8cea868fc52ae759970850c9be1abe3d13683c
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2021-11-10 14:03:47 +02:00
Qt Submodule Update Bot
0c60d105fa Update submodule refs on '6.2' in yocto/meta-qt6
Change-Id: If40fa1a64dfa8cf5a470eccc5a22d6c7ea43fcdc
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2021-11-09 14:30:56 +00:00
Samuli Piippo
fb8e8e8dba qtbase-native: don't try to find tools
QT_BUILD_TOOLS_WHEN_CROSSCOMPILING triggered qtbase-native
to try to find tools from QT_HOST_PATH, which obviously
doesn't exists yet. Use it only for target and nativesdk
builds.

Fixes compilation failure:
 | -- Searching for tool 'Qt6::moc' in package Qt6CoreTools.
 | CMake Error at cmake/QtToolHelpers.cmake:122 (message):
 |   Neither QT_HOST_PATH_CMAKE_DIR nor Qt6HostInfo_DIR} available.

Change-Id: I260526c08f48f179049eb4b0ab3e6561958d0a53
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
(cherry picked from commit 3bb76773a8)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2021-11-08 10:24:42 +00:00
Samuli Piippo
181cbf3683 Coin: add builds against Honister
Honister is now released, add it to the CI test builds.
Drop Gatesgarth since it's now EOL.

Change-Id: Ice5813836d8a4edb435db71017d231468993edcf
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 178142ee57)
2021-11-04 10:43:11 +02:00
Martin Jansa
12674d8168 qttools: switch from default 'git' protocol to 'https'
* github decided that nobody should use git://
  https://github.blog/2021-09-01-improving-git-protocol-security-github/#no-more-unauthenticated-git

  and starting today all the builds were failing to fetch the metadata
  layers from github like:

  2021-11-01T18:53:26 INFO _main_ Updating [meta-ros]
  fatal: remote error:
    The unauthenticated git protocol on port 9418 is no longer supported.
  Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information.

  this was just a "test" as they said:
  "November 2, 2021: We'll also run several short brownouts on this date."
  and it will be completely disabled on January 11 2022.

Change-Id: I26de93c094cd1e8002d589e8d760a22a12e76d03
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
(cherry picked from commit 3166786ac3)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2021-11-03 22:43:53 +00:00
Samuli Piippo
3e1eb12a5c coin: use openembedded from the upstream source
Github won't be supporting git protocol anymore, switch to using
layer from openembedded.org.

Change-Id: Id711fe7818d37650b0643c17bd3386ca1a344f9a
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 3cc53e8e7f)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2021-11-03 22:43:53 +00:00
Samuli Piippo
bf9fdb2b79 Coin: build Qt packagegroups in CI integrations
Current CI build using the toolchain recipe is a bit limited as the
package_qa tasks were never ran for the Qt recipes. Also the rm_work
was not done which lead to disk space running out in CI builds. Add
both native and target packagegroup recipes to the target builds that
will ensure that both of the above mentioned tasks are now run.

Change-Id: Ifb73b807f4f9f551836bfa20003aaf88bc758d78
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
(cherry picked from commit 673457878e)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2021-10-29 17:16:55 +00:00
Samuli Piippo
c6fdd6a0d8 qtpositioning: use the new git repository
QtPositioning has been split from the qtlocation into its own
git repository.

Change-Id: Idbe9cbe52828e55689d75c0ac255226e3dd99103
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
(cherry picked from commit 9bb12bca78)
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-10-28 08:52:03 +03:00
Samuli Piippo
4a295d8c77 qtquick3d: add PACKAGECONFIG for qtquicktimeline
QtQuickTimeline is optional dependency for QtQuick3d, but enabled
it by default.

Change-Id: Ibce7da7fa8de31c983f3f4c3feae916bb9b10322
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 0e978b932b)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2021-10-28 05:51:54 +00:00
Samuli Piippo
5ad7a514c1 qtwebengine: update revision
Includes compilation fix for harfbuzz-3.0.0:
error: 'hb_subset' was not declared in this scope; did you mean 'hb_set_set'?

Change-Id: Ieb01f3787eed72c34e178b62eff012fafedb8d9a
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit d13153f426)
2021-10-28 08:51:45 +03:00
Samuli Piippo
071f45d2dd Add qtdeclarative-native dependency where needed
In Qt5, dependency to qtdeclarative-native was added dynamically for
every recipe that had dependency to qtdeclarative. This was done because
building static Qt required the native package even when dynamic build
did not. Remove this automatic dependency and explicitly add the dependency
to those recipe that require it.

Change-Id: Ida44d6a05d95db500b7fbfcb803c703c0433e93b
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
(cherry picked from commit c3389d194c)
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-10-18 14:09:07 +03:00
Mikko Gronoff
f96a7db1d4 qtwebengine: update patches
Update patches to match current code & fix
patch fuzz.

Change-Id: I3a329a467f523aedd5be9bd8bca647d25ae687e1
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2021-10-14 12:21:46 +03:00
Mikko Gronoff
9970f6c9de qt6: update submodules
Update to latest content in Qt 6.2 branch.

Task-number: QTBUG-97015
Change-Id: Ibf8d8ba7866a8dbdec66a8ebfa033298efea7cca
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2021-10-12 09:18:39 +03:00
Samuli Piippo
5d15c6cce8 Coin: extend CI coverage to yocto master branch
Add master to the CI build. Sync coin/test-configs.inc from dev regarding
qtwebengine configuration, which now needs to be disabled from gatesgarth
and dunfell.

The target machines are aligned with dev so that same targets are build
with same yocto branch. This should allow reuse of existing builds
for both branches.

Task-number: QTBUG-97065
Change-Id: I81d5ef3c554f2ebbd065283031a9c99eea6dced3
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-10-08 14:11:15 +03:00
Samuli Piippo
f8f0d83eb3 Coin: add required zstd
Bitbake now requires zstd, which is not yet available in the provisioning
of the CI machines.

Change-Id: I9f75219a686580ae228384c4fb4a6222a0e6fd09
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit a77f474aba)
2021-10-08 14:11:06 +03:00
Samuli Piippo
b44436cad8 Revert "Coin: disable qtbase examples in dunfell"
The CMake issue has been fixed, enable qtbase tests again.
This reverts commit 32685d7671.

Change-Id: Id820482b2bb313a0e79a5305e2e8d58564d519a6
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-10-07 16:05:29 +03:00
Samuli Piippo
1f22d3f13c Add recipe for QtWebView
Task-number: QTBUG-97001
Change-Id: Id8f7dbfc242baaec11c07f7137e72b429f64cfee
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 8b7aa7dd6f)
2021-10-07 09:27:11 +03:00
Mikko Gronoff
02a69cada4 qt6: update submodules
- Update Qt modules to latest content in 6.2 branch
- Update deviceutilities to latest revision in 6.2 branch
- Update quickdesigner-components to latest revision in dev branch
- qtquickcontrols2 translations entry removed from
  packagegroup-qt6-essentials as it has been merged into qtdeclarative
  one (see qttranslations commit 4f70f10e390d2c34bdb32b0f91df888a6aededd1)

Task-number: QTBUG-97015
Change-Id: Ia014bc11a5c997395584b6f942a42dad6dbe31e6
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2021-10-06 17:42:17 +03:00
Samuli Piippo
b48301696b qtbase: remove runtime dependency to libssl from native package
This a workaround for Dunfell, where native packages are still
cleared which means that qtbase-native cannot have runtime dependency
to libssl as the package does not exist.

Fixes:
ERROR: Required build target 'qtbase-native' has no buildable providers.
Missing or unbuildable dependency chain was: ['qtbase-native', 'libssl-native']

Change-Id: Idad2a85b3a84275e5824545e22d425b578d1d647
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
(cherry picked from commit a604992ea8)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2021-10-06 12:16:48 +00:00
Samuli Piippo
27a8c9c168 qtwebengine: fix build with glibc-2.34
Use patches from dev commit 403ab76764

Change-Id: Ie58b3424ce80942ac6c83b3943e53051b4f13e5f
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-10-05 15:35:09 +03:00
Martin Jansa
0232e91200 qtconnectivity: inherit pkgconfig
Newer oe-core doesn't pull many default dependencies anymore:
https://lists.openembedded.org/g/openembedded-core/message/156185
add explicit dependency on pkgconfig through pkgconfig.bbclass as
we're using it here.

Fixes:
| ERROR: Feature "bluez": Forcing to "ON" breaks its condition:
|     BLUEZ_FOUND AND QT_FEATURE_dbus
| Condition values dump:
|     BLUEZ_FOUND = "0"
|     QT_FEATURE_dbus = "ON"

Change-Id: I22d34d7b1e290eee6406750c4531f9b4dd031c87
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
(cherry picked from commit 9f408788ec)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2021-10-05 12:34:34 +00:00
Martin Jansa
d524cae669 qtwayland: inherit pkgconfig
Newer oe-core doesn't pull many default dependencies anymore:
https://lists.openembedded.org/g/openembedded-core/message/156185
add explicit dependency on pkgconfig through pkgconfig.bbclass as
we're using it here.

Fixes:
| ERROR: Feature "xcomposite_glx": Forcing to "ON" breaks its condition:
|     QT_FEATURE_wayland_client AND QT_FEATURE_opengl AND NOT QT_FEATURE_opengles2 AND QT_FEATURE_xlib AND XComposite_FOUND
| Condition values dump:
|     QT_FEATURE_wayland_client = "ON"
|     QT_FEATURE_opengl = "ON"
|     QT_FEATURE_opengles2 = "OFF"
|     QT_FEATURE_xlib = "ON"
|     XComposite_FOUND = "0"

Already fixed in meta-qt5 with:
51d1ed13f5

Change-Id: I6b2895e0eb2ea4f26b3313de69475b069587af0b
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
(cherry picked from commit d251bc8f22)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2021-10-05 12:34:29 +00:00
Samuli Piippo
9a736ed306 qt3d: disable system assimp
Latest change in upstream assimp breaks the qt3d build. Disable
the system assimp for now.

MJ: Also assimp was removed from oe-core in honister with:
https://git.openembedded.org/openembedded-core/commit/?h=honister&id=92719e01a90f2a80f5cceb2f98a48c49f0c24f1c
due to license issue.

Change-Id: Ib1bf4533a1670b0401748e56dcafb9d1b71fe66a
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2021-10-05 14:34:20 +02:00
Martin Jansa
02d5a6bd43 qtbase: fix build with glibc-2.34
* fails in do_install_ptest_base when ptest is in DISTRO_FEATURES

Change-Id: I89778b3b53594a2ca46a088775689251e82dc8aa
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2021-10-05 14:34:13 +02:00
Martin Jansa
49d6c23cdf qtserialport: inherit pkgconfig
Newer oe-core doesn't pull many default dependencies anymore:
https://lists.openembedded.org/g/openembedded-core/message/156185
add explicit dependency on pkgconfig through pkgconfig.bbclass as
we're using it here.

Fixes:
CMake Error at TOPDIR/BUILD/work/raspberrypi4-webos-linux-gnueabi/qtserialport/6.2.0-r0/recipe-sysroot/usr/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:2063 (add_library):
  Target "SerialPort" links to target "PkgConfig::Libudev" but the target was
  not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?

Change-Id: I2c1549f22bebf3c091485644574cbc46402c4996
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
(cherry picked from commit f475a94185)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2021-10-05 12:34:00 +00:00
Martin Jansa
9470ebe195 qtsensors: inherit pkgconfig
Newer oe-core doesn't pull many default dependencies anymore:
https://lists.openembedded.org/g/openembedded-core/message/156185
add explicit dependency on pkgconfig through pkgconfig.bbclass as
we're using it here.

Fixes:
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
Sensorfw pkg not found. Looking for library
CMake Error at cmake/FindSensorfw.cmake:9 (find_library):
  find_library called with incorrect number of arguments

Change-Id: Ia16c038afa7af54295b1cb6c7c9bcccfa311bf0c
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
(cherry picked from commit 1575c7229a)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2021-10-05 12:33:55 +00:00
Martin Jansa
85d2f59c51 qtmultimedia: inherit pkgconfig
Newer oe-core doesn't pull many default dependencies anymore:
https://lists.openembedded.org/g/openembedded-core/message/156185
add explicit dependency on pkgconfig through pkgconfig.bbclass as
we're using it here.

Fixes:
ERROR: Feature 'pulseaudio' was enabled, but the pre-condition 'libs.pulseaudio' failed.

Similar change was already applied in meta-qt5:
f200be9d67
but the same is needed for qt6.

Change-Id: Ic3f674bcfd7dbbc6f149a1ae94cd66613a948050
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
(cherry picked from commit d718354d16)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2021-10-05 12:33:51 +00:00
Martin Jansa
879b08ed03 qtbase: inherit pkgconfig
Newer oe-core doesn't pull many default dependencies anymore:
https://lists.openembedded.org/g/openembedded-core/message/156185
add explicit dependency on pkgconfig through webos_pkgconfig.bbclass as
we're using it here.

Fixes:
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
...
ERROR: Feature "zstd": Forcing to "ON" breaks its condition:
ERROR: Feature "libudev": Forcing to "ON" breaks its condition:

Change-Id: I0705e15d57f30b5aeb908631d269db3dfd3413f3
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2021-10-05 14:33:44 +02:00
Martin Jansa
b74cb78bec layer.conf: LAYERSERIES_COMPAT: Add honister and drop zeus
all currently supported versions (dunfell, hardknott, honister)
do support new syntax (when latest bitbake revision from
corresponding branch is being used).

Drop zeus which is EOL and doesn't support new override syntax.

if it's still not clear, then bitbake is accepting ':' in
** dunfell with 1.46:
   https://git.openembedded.org/bitbake/commit/?h=1.46&id=a6d5fb7554e3cf071e453db56a1e7469ac44277c
   https://git.openembedded.org/bitbake/commit/?h=1.46&id=c5418eae56cc50dbae7951c055434a0c456c53a4
** gatesgarth with 1.48:
   https://git.openembedded.org/bitbake/commit/?h=1.48&id=aa9f7b80cfdb1119050af469a07ebd949829026c
   https://git.openembedded.org/bitbake/commit/?h=1.48&id=14ae61205111383d5f609519c02476925184f6d1
** hardknott with 1.50:
   https://git.openembedded.org/bitbake/commit/?h=1.50&id=f8d1bc200460fc1cb5cbf7a7d1986fd86424b22d
   https://git.openembedded.org/bitbake/commit/?h=1.50&id=9b2d96b27f550da0fa68ba9ea96be98eb3a832a6
** honister with 1.51+:
   https://git.openembedded.org/bitbake/commit/?id=0dbbb4547cb2570d2ce607e9a53459df3c0ac284
   https://git.openembedded.org/bitbake/commit/?id=019251649a38754d5877759d13b664e28dea77de
   and required since:
   https://git.openembedded.org/bitbake/commit/?id=7dcf317cc141dc980634f8c18bfa84f83e57206a

Similarly for poky users (which get bitbake updates together with oe-core updates in combo-layer managed poky repo):
** dunfell:
   https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?h=dunfell&id=1f7b04355c032cd0de4cbe9352745920964c8057
   https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?h=dunfell&id=9c2186108e2e8fcf5837c0ffe9dbdeeaea4b7398
** gatesgarth:
   https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?h=gatesgarth&id=f2d2136dbb3730abb87699ce03dd54c27ebb7833
   https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?h=gatesgarth&id=779ca22928bce94849e32c1bdd5f5d0f64658c2d
** hardknott:
   https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?h=hardknott&id=666d3421389cc3c01c56e92199cc32bddf1922de
   https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?h=hardknott&id=14c5392fded42f17962e1cc07fcc0446881b4fa0
** honister:
   https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=75fad23fc06c008a03414a1fc288a8614c6af9ca
   https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=d41af446febd516f14f26db53e6572d9eae35b1e
   and required since:
   https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=2abf8a699edd513405befbd1a0eafc8f55d6b514

If your builds don't accept new syntax, then you just need to update bitbake a bit.

Change-Id: Icee948cb8da0021c3fa968c8720031d6189f274f
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2021-10-05 14:33:37 +02:00
Martin Jansa
6d74a73ef3 Convert to new override syntax
This is the result of automated script (0.9.3) conversion:

oe-core/scripts/contrib/convert-overrides.py .

converting the metadata to use ":" as the override character instead of "_".

Change-Id: I23f9e955618b36878635b17265f0d8bb81a5cf55
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2021-10-05 14:33:32 +02:00
Martin Jansa
a1b2b3841c qtwebengine: inherit pkgconfig
Newer oe-core doesn't pull many default dependencies anymore:
https://lists.openembedded.org/g/openembedded-core/message/156185
add explicit dependency on pkgconfig through pkgconfig.bbclass as
we're using it here.

Fixes:
| ERROR: Feature "webengine_system_icu": Forcing to "ON" breaks its condition:
|     ICU_FOUND
| Condition values dump:
|     ICU_FOUND = ""
|
| ERROR: Feature "webengine_system_libwebp": Forcing to "ON" breaks its condition:
|     UNIX AND WEBP_FOUND
| Condition values dump:
|     UNIX = "1"
|     WEBP_FOUND = ""
|
| ERROR: Feature "webengine_system_opus": Forcing to "ON" breaks its condition:
|     UNIX AND OPUS_FOUND
| Condition values dump:
|     UNIX = "1"
|     OPUS_FOUND = ""
|
| ERROR: Feature "webengine_system_glib": Forcing to "ON" breaks its condition:
|     UNIX AND GLIB_FOUND
| Condition values dump:
|     UNIX = "1"
|     GLIB_FOUND = ""
|
| ERROR: Feature "webengine_system_zlib": Forcing to "ON" breaks its condition:
|     UNIX AND QT_FEATURE_system_zlib AND ZLIB_FOUND
| Condition values dump:
|     UNIX = "1"
|     QT_FEATURE_system_zlib = "ON"
|     ZLIB_FOUND = ""
|
| ERROR: Feature "webengine_system_libevent": Forcing to "ON" breaks its condition:
|     UNIX AND LIBEVENT_FOUND
| Condition values dump:
|     UNIX = "1"
|     LIBEVENT_FOUND = ""
|
| ERROR: Feature "webengine_system_lcms2": Forcing to "ON" breaks its condition:
|     UNIX AND LCMS2_FOUND
| Condition values dump:
|     UNIX = "1"
|     LCMS2_FOUND = ""
|
| ERROR: Feature "webengine_system_libpng": Forcing to "ON" breaks its condition:
|     UNIX AND TARGET Qt::Gui AND PNG_FOUND AND QT_FEATURE_system_png
| Condition values dump:
|     UNIX = "1"
|     TARGET Qt::Gui found
|     PNG_FOUND = ""
|     QT_FEATURE_system_png = "ON"
|
| ERROR: Feature "webengine_system_libjpeg": Forcing to "ON" breaks its condition:
|     UNIX AND TARGET Qt::Gui AND TEST_jpeg AND QT_FEATURE_system_jpeg
| Condition values dump:
|     UNIX = "1"
|     TARGET Qt::Gui found
|     TEST_jpeg = "FALSE"
|     QT_FEATURE_system_jpeg = "ON"
|
| ERROR: Feature "webengine_system_harfbuzz": Forcing to "ON" breaks its condition:
|     UNIX AND TARGET Qt::Gui AND HARFBUZZ_FOUND AND QT_FEATURE_system_harfbuzz
| Condition values dump:
|     UNIX = "1"
|     TARGET Qt::Gui found
|     HARFBUZZ_FOUND = ""
|     QT_FEATURE_system_harfbuzz = "ON"
|
| ERROR: Feature "webengine_system_freetype": Forcing to "ON" breaks its condition:
|     UNIX AND TARGET Qt::Gui AND TEST_freetype AND QT_FEATURE_system_freetype
| Condition values dump:
|     UNIX = "1"
|     TARGET Qt::Gui found
|     TEST_freetype = "FALSE"
|     QT_FEATURE_system_freetype = "ON"
|
| ERROR: Feature "webengine_system_libpci": Forcing to "ON" breaks its condition:
|     UNIX AND LIBPCI_FOUND
| Condition values dump:
|     UNIX = "1"
|     LIBPCI_FOUND = ""

Already fixed in meta-qt5 with:
bf2daefeb5

Change-Id: I20add60b601bd85a7f5eb8b6e6f63e1bc729a893
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
(cherry picked from commit 35665dad23)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2021-10-01 10:34:29 +00:00
Martin Jansa
9d68253366 qtwebengine: enable webrtc-pipewire only when multimedia-layer is included
* pipewire recipe is in meta-multimedia not meta-oe layer
* fixes:
  ERROR: Nothing PROVIDES 'pipewire' (but /OE/build/oe-core/meta-qt6/recipes-qt/qt6/qtwebengine_git.bb DEPENDS on or otherwise requires it)

Change-Id: I137c708ed7e186b4f4d5bbe921cccc7100db48b4
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
(cherry picked from commit c4147feb79)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2021-10-01 10:34:21 +00:00
Mikko Gronoff
caaf2ea697 qt6: update submodules
Update to latest content in Qt 6.2.0 branch.

Task-number: QTBUG-91012
Change-Id: I47f9d99d1f8d546a38c74fc1e53c583c3f8475ef
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2021-09-27 09:22:29 +03:00
Mikko Gronoff
7f679afdfe qt6-git.inc: sort modules in alphabetical order
qtlocation was qtpositioning for a while, move to
correct place.

Change-Id: If69d0aac0ad485087acc47531c03c2abc3aa7b72
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2021-09-24 17:32:28 +03:00
Samuli Piippo
fe4f272d1e qtwebengine: explicitly inherit bbclass for intel workaround
get_glibc_loader is provided by linuxloader bbclass, make sure
we inherit that. Also change the function to get_linuxloader
that provides correct loader based on the used libc.

Amends e225c808b3

Change-Id: Ic8cd3dc8c4d908a4f0c3256d49209bf2d2ddf4d3
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-09-24 13:55:06 +03:00
Michal Klocek
680d8b2e24 Fix missing QtWebEngineProcess on images
QtWebEngineProcess is not deployed on images, reason for that is
that current package order is:

PACKAGE_BEFORE_PN = "${PN}-qmlplugins ${PN}-tools ${PN}-plugins ${PN}-examples"

where ${PN}-tools will grap the QtWebEngineProcess before ${PN}
pacakage, since it includes all ${QT6_INSTALL_LIBEXECDIR}.

Simply add qtwebengine-tools, and remove superfluous path
from qtwebengine recipe.

Fixes: QTBUG-96857
Change-Id: Ibe1d35e916caf38b75a8452c041bbff888103018
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2021-09-24 06:53:04 +00:00
Samuli Piippo
0b3d35b680 ptest: don't package debug files from tests
Debug files from tests were packaged along with everything else causing
toolchain to have over 3Gb of debug files of little use. Since the
packaging of the debug files is done dynamically, we'll need to remove them
using an additional function that run during the packaging.

Task-number: QTBUG-96583
Change-Id: I3695cdd21ba9b9443770c671e50bbf230a58cfd6
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 626697c8bd)
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2021-09-22 16:11:59 +03:00
Mikko Gronoff
b0151580d9 qt6: update submodules
Update to latest content in Qt 6.2.0 branch (RC2 snapshot).

Task-number: QTBUG-91012
Change-Id: I3ac14dd17d5a918bec4551dfa7cd1ccebde83766
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2021-09-22 12:53:54 +03:00
Samuli Piippo
90911c422d qttools: rename git submodule
QtTools is using a git submodule within a submodule. Rename it so
that the parent chain is recorded correctly for scripts to handle
the update.

Change-Id: I7b8028da254be4e6bb1f523fe10947996563186e
Reviewed-by: Daniel Smith <Daniel.Smith@qt.io>
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 223788235b)
2021-09-20 09:00:31 +03:00
Daniel Smith
e4311bbcfd Fix whitespace in qt6-git.inc
Change-Id: I5a02c23a27db5706685434ee75eb1087897cc550
(cherry picked from commit 8955a1e397)
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-09-18 06:45:29 +00:00
Samuli Piippo
a6d3d28ae0 Move all Qt module SRCREVs into one file
Move all the module SRCREV into qt6-git.inc file using the same format,
where repository name is used for the postfix. Changes to the module SRCREVs
are mostly done by updating all the modules at once, usually either with
a separate update script, srcrev_update bbclass or by external update bot.
This change should make the update process more easily automated.

Update the srcrev_update bbclass to handle updates in qt6-git.inc in addition
to recipe files, with and without the repository name postfix.

Change-Id: I711e7867dba3b066d363ca40f78e7b4aa740a69c
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit f61b87ae78)
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2021-09-17 16:39:24 +03:00
Pasi Petäjäjärvi
cf0fda377f qtbase: Add python binary available for ptest
*-native recipes using python fails without this.

Change-Id: Ieb6b45f97ed01c6984522c687c411ff09680b803
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
(cherry picked from commit 5a34cf9f49)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2021-09-17 09:36:30 +00:00
Samuli Piippo
93bc55f4f4 Coin: increase CPU count for CI builds
For Coin builds, ask for 16 core build machine, but limit the maximum
number of bitbake tasks to 8. Try to speed up the builds, but to avoid
OOM which can occur when several Qt modules start to build in parallel
after dependency to qtdeclarative is satisfied.

Change-Id: I3a0d646f4204fb0269bba2356543589a5620ed3e
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 170ca88bcd)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2021-09-16 15:54:44 +00:00
Mikko Gronoff
5e0f656cf0 qt6: update submodules
- Update Qt modules to latest content in 6.2.0 branch
- Update deviceutilities to latest revision in 6.2.0 branch
- Update quickdesigner-components to latest revision in dev branch

Task-number: QTBUG-91012
Change-Id: I9a6e2fa39d0b6b6937ec265dc70b70ee9a509ded
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2021-09-15 07:09:25 +03:00
Samuli Piippo
7f83b93082 Coin: give CI build more time to complete
Raise max build to 12 hours, but lower time without output to 2 hours.

Change-Id: I866bf07324793fce4ce88189053216abd8b4302f
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit bc1d2a0fff)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2021-09-09 20:37:26 +00:00
Samuli Piippo
f45f237084 qtbase: disable tests that fail with gold linker
Some of the tests fail with gold linker.
error: unexpected reloc 3 against global symbol qt_version_tag without base register in object file when generating a position-independent output file
collect2: error: ld returned 1 exit status

Change-Id: I223e34fb9ecba01a8f3df5123eed6705d93ceed8
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-09-09 18:47:58 +03:00
Samuli Piippo
3e09c9011b qt6: use gold when it's selected in DISTRO_FEATURES
Gold linker offers bettern performance than bfd.

Change-Id: I64b44234b758abde17fbdcb206cb15a7f6a0a0e0
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-09-09 18:47:53 +03:00
Samuli Piippo
e225c808b3 qtwebengine: add workaround for x86-64 targets
Some x86-64 target, such as intel-skylake-64, use AVX instructions that are
not supported by QEMU (https://gitlab.com/qemu-project/qemu/-/issues/164).
This causes the build tools to crash with QEMU when they are ran during
to build. Instead of using QEMU, change the wrapper to try to run the
tools directly, using the target dynloader.

Change-Id: I790e013f91ce5f0e42fb1e11ff61e4428d14d9ad
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2021-09-09 18:47:48 +03:00
Samuli Piippo
403ab76764 Add QtWebEngine
Build QtWebEngine using CMake. Include helper files (chromium-gn.inc and
gn-utils.inc) from meta-browser. QtWebEngine build no longer requires
additional support in the host system, instead the build time tools
are run using QEMU.

WebEngine requires python2, available from meta-python2 layer, and
at least CMake 3.19. Only oe-core/hardknott provides recent enough CMake.
CI builds of webengine are limited to hardknott for this reason.

To use system ICU, QtWebEngine requires ICU 68 or up. This is also
available starting from oe-core/hardnott.

spellchecker feature doesn't work properly, since it requires
a native util to be built.

Task-number: QTBUG-93825
Change-Id: Id150275f5adfedd8f1acdc5f92c46a437da84f2e
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
2021-09-09 18:47:43 +03:00
Samuli Piippo
6ce601a4d5 qtmultimedia: fix build with older (<1.16) gstreamer
Some of the video formats were introduces in GStreamer 1.16 and fail
to build with older releases.

Change-Id: I56c04f472840ce6b82f480e9e918d2b4245ab14e
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-09-08 08:23:41 +03:00
Samuli Piippo
251d89e2ca qtmultimedia: add workaround for conflicting declartions in GL headers
Change-Id: Id080829fd0e10c4edad99ea2857550d27c4d6953
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-09-07 15:44:25 +03:00
Samuli Piippo
7feb5f4a4a qtmultimedia: include only when opengl is available
QtMultimedia current depends on EGL and build fails when opengl
is not available.

Task-number: QTBUG-96251
Change-Id: I26d1c3880db9f5593132bda4617088da6cafe16d
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-09-07 06:59:26 +00:00
Mikko Gronoff
bee140b3b1 qt6: update submodules
Update to latest content in Qt 6.2 branch.

Task-number: QTBUG-91012
Change-Id: Iad7b3e8e9fbda13f9042c984d768f232806413d3
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2021-09-06 13:48:05 +03:00
Samuli Piippo
32685d7671 Coin: disable qtbase examples in dunfell
As a workround for apparent CMake issue, disable examples from
qtbase.

Task-number: QTBUG-96197
Change-Id: I95cb44f21c22d1e4a1c73913fde5f2a49fcd5530
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-09-05 21:34:33 +03:00
Samuli Piippo
70dff380b2 Coin: allow yocto version specific configurations
Add easy way to have different configuration for the CI builds
based on the current Yocto version.

Pick-to: dev
Change-Id: Idfda5d2e9079864e210382fa0e928b969fae311d
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-09-05 21:34:22 +03:00
Pasi Petäjäjärvi
ba60bb511b sdk: Add QtShadertool
Provides qsb command line tool for shader compilation/inspection

Change-Id: Icc71773c0cdc1501472448a22056695e499f87a4
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
(cherry picked from commit 8579e97c0d)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2021-08-30 15:42:29 +00:00
Samuli Piippo
d4232d5a71 Coin: use toolchain for the CI test
Build the toolchain recipe for CI test, which allows us the limit
what recipes are included.

Change-Id: I9c532dcc97979bf40a0ca094850d7a0602f2f9d0
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-08-30 08:18:53 +03:00
Samuli Piippo
bb3c5a08a2 Coin: remove uninative overrides
Upstream has more recent versions already.

Change-Id: Idc64576ddbdb2549e2b4af802cc8b8b5b62f704e
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit fdda14cfbc)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2021-08-24 13:36:24 +00:00
Mikko Gronoff
3b3572a59c qt6: update submodules
* Update to latest content in Qt 6.2 branch
* qtquickcontrols2: remove recipe & references
  (quickcontrols2 was merged into qtdeclarative
  module, see QTBUG-95173)
* Proposed 6.2.0 beta3 content - one qtdeclarative patch
  added on top of that to be able to build native side
  successfully (accessibility disabled)

Task-number: QTBUG-91012
Change-Id: Ie72f98518ceae98b83ceddb4b97a3772c40a9185
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2021-08-17 08:29:54 +03:00
Samuli Piippo
34f86eb73c qt6: update submodules
Latest revisions from 6.2 branches.

Change-Id: If19155088bf0828398c589b2ec7c61d7776f9338
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2021-08-05 09:17:46 +03:00
Samuli Piippo
36c7a0bd38 Coin: stop using master branch for CI build
Latest bitbake has changed the override syntax to use colons
instead of underscores. This makes master branch incompatible
with meta-qt6 until we convert to the same syntax.

Change-Id: I5181882f44d49ce872f76e1620c5e3c195f6686c
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Rami Potinkara <rami.potinkara@qt.io>
2021-08-04 16:00:41 +03:00
Jani Suonpera
b1230558dd qt6: update submodules for 6.2
Task-number: QTBUG-91012
Change-Id: Ida1e6c8a0397642e98eef5ca866946a369af01cf
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2021-07-26 10:03:34 +03:00
Mikko Gronoff
b39409532c qt6: update submodules
Update to latest content in Qt 6.2 branch.

Task-number: QTBUG-91012
Change-Id: Iefb06a7049002ae014dfb220c08df4a0a615cd27
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Jukka Jokiniva <jukka.jokiniva@qt.io>
2021-07-02 19:12:37 +03:00
Mikko Gronoff
0d88f51b12 qt6: update submodules
Update to latest content in Qt 6.2 branch.

Task-number: QTBUG-91012
Change-Id: Ib8adb7e215a1bbaae6ce4c63f50c74f46a503fdc
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2021-07-01 10:28:53 +03:00
Mikko Gronoff
872cbab2d8 ptest: disable rpaths due QA issue
Disable rpaths from ptest to fix
QA Issue: package contains bad RPATH.

Change-Id: I0d790f276a2e45559675e2e51e95a2cb4b99a5b1
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2021-06-30 09:00:51 +03:00
Mikko Gronoff
e64bfcb7ec qt6: update submodules
Update to latest content in Qt 6.2 branch.

Task-number: QTBUG-91012
Change-Id: Ia833922fd5956ada244c186854f38be507edef82
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2021-06-29 15:00:03 +03:00
Samuli Piippo
4548a015db sdk: use relative paths in qt.conf
Change the absolute host paths in qt.conf to relative. This allows
SDK to work in Windows without need to patch the paths.

Change-Id: I0a3f6e793b033d727f7633c022b27392acc91823
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 7ac9c84014)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2021-06-28 20:06:39 +00:00
Mikko Gronoff
9a4453aa51 qt6: update submodules
Update to latest content in Qt 6.2 branch.

Task-number: QTBUG-91012
Change-Id: I10eaefcab3d5f8678022e74184b279c25f21c9d4
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Rami Potinkara <rami.potinkara@qt.io>
Reviewed-by: Jukka Jokiniva <jukka.jokiniva@qt.io>
2021-06-23 08:35:25 +03:00
97 changed files with 3477 additions and 1383 deletions

View File

@ -3,28 +3,58 @@ Qt6 OpenEmbedded/Yocto Project layer
This layer depends on:
URI: https://github.com/openembedded/openembedded-core
URI: https://git.openembedded.org/openembedded-core/
and optionally:
URI: https://github.com/openembedded/meta-openembedded
URI: https://git.openembedded.org/meta-openembedded/
Yocto version support
---------------------
The branching of meta-qt6 layer follows Qt branching scheme, that is
`dev` for the development branch, and `6.x` for each minor release.
The branching of meta-qt6 layer follows [Qt branching scheme](https://wiki.qt.io/Branch_Guidelines),
that is `dev` for the development branch, `6.x` for minor stabilization branches,
`6.x.y` for the release branches and `lts-6.x.y` for commercial LTS releases.
Each Qt release is tagged either as `v6.x.y` or `v6.x.y-lts`
Following table shows the Yocto branches which are used to test each
Qt version.
Qt version (x) and any additional Yocto releases that are stated in
the LAYERSERIES_COMPAT (c).
| Yocto \ Qt | dev | 6.1 | 6.0 |
| Yocto \ Qt | 6.2 | 6.1 | 6.0 |
| ---------- |:---:|:---:|:---:|
| master | x | | |
| hardknott | x | x | x |
| gatesgarth | x | x | x |
| kirkstone | x | | |
| honister | x | | |
| hardknott | c | x | x |
| gatesgarth | c | x | x |
| dunfell | x | x | x |
Commercial Qt
-------------
Qt is dual-licensed under commercial and open source licenses.
The license can be selected using the `QT_EDITION` variable. `commercial` and
`opensource` are valid values. The default value is `opensource`.
For commercial Qt users, the layer provides additional support with LTS
(Long Term Support) releases for selected Qt versions and additional
Qt modules licensed as commercial-only.
The LTS releases are available in branches named `lts-6.x`. The source code
for the LTS releases and the commercial Qt modules are only available for
commercial Qt license holders. They can only be built and used if you have
a commercial Qt license and you have set up SSH access to Qt Gerrit (see links below).
The commercial Qt modules are included in the build if the `QT_COMMERCIAL_MODULES`
variable is set to `1` and you are using a commercial edition of Qt.
QtWebEngine
-----------
QtWebEngine needs at least CMake 3.19, which is available starting from Hardknott.
For this reason QtWebEngine is not tested on older releases.
Contributing
------------

View File

@ -0,0 +1,5 @@
inherit populate_sdk_qt6_base
# include all available modules
TOOLCHAIN_HOST_TASK:append = " nativesdk-packagegroup-qt6-toolchain-host"
TOOLCHAIN_TARGET_TASK:append = " packagegroup-qt6-modules"

View File

@ -1,19 +1,22 @@
inherit qt6-paths
SDK_POSTPROCESS_COMMAND_prepend = "create_qt6_sdk_files;"
SDK_POSTPROCESS_COMMAND:prepend = "create_qt6_sdk_files;"
EXE_EXT = ""
EXE_EXT:sdkmingw32 = ".exe"
PATH_DELIM = ":"
PATH_DELIM_sdkmingw32 = ";"
PATH_DELIM:sdkmingw32 = ";"
QT6_INSTALL_HOST_LIBEXECDIR = "${QT6_INSTALL_LIBEXECDIR}"
QT6_INSTALL_HOST_LIBEXECDIR_sdkmingw32 = "${QT6_INSTALL_LIBEXECDIR_mingw32}"
QT6_INSTALL_HOST_LIBEXECDIR:sdkmingw32 = "${QT6_INSTALL_LIBEXECDIR:mingw32}"
TARGET_SYSROOT ?= "${SDKTARGETSYSROOT}"
NATIVE_SYSROOT ?= "${SDKPATHNATIVE}"
create_qt6_sdk_files () {
# Generate a qt.conf file to be deployed with the SDK
qtconf=${WORKDIR}/qt.conf
touch $qtconf
echo '[Paths]' >> $qtconf
echo '[Paths]' > $qtconf
echo 'Prefix = ${prefix}' >> $qtconf
echo 'Headers = ${QT6_INSTALL_INCLUDEDIR}' >> $qtconf
echo 'Libraries = ${QT6_INSTALL_LIBDIR}' >> $qtconf
@ -28,22 +31,23 @@ create_qt6_sdk_files () {
echo 'Settings = ${QT6_INSTALL_SYSCONFDIR}' >> $qtconf
echo 'Examples = ${QT6_INSTALL_EXAMPLESDIR}' >> $qtconf
echo 'Tests = ${QT6_INSTALL_TESTSDIR}' >> $qtconf
echo 'HostPrefix = ${SDKPATHNATIVE}' >> $qtconf
echo 'HostData = ${SDKTARGETSYSROOT}${QT6_INSTALL_ARCHDATADIR}' >> $qtconf
echo 'HostBinaries = ${SDKPATHNATIVE}${QT6_INSTALL_BINDIR}' >> $qtconf
echo 'HostLibraries = ${SDKPATHNATIVE}${QT6_INSTALL_LIBDIR}' >> $qtconf
echo 'HostLibraryExecutables = ${SDKPATHNATIVE}${QT6_INSTALL_HOST_LIBEXECDIR}' >> $qtconf
echo 'Sysroot = ${SDKTARGETSYSROOT}' >> $qtconf
echo 'HostPrefix = ${@os.path.relpath("${NATIVE_SYSROOT}", "${NATIVE_SYSROOT}${QT6_INSTALL_BINDIR}")}' >> $qtconf
echo 'HostData = ${@os.path.relpath("${TARGET_SYSROOT}${QT6_INSTALL_ARCHDATADIR}", "${NATIVE_SYSROOT}")}' >> $qtconf
echo 'HostBinaries = ${@os.path.relpath("${NATIVE_SYSROOT}${QT6_INSTALL_BINDIR}", "${NATIVE_SYSROOT}")}' >> $qtconf
echo 'HostLibraries = ${@os.path.relpath("${NATIVE_SYSROOT}${QT6_INSTALL_LIBDIR}", "${NATIVE_SYSROOT}")}' >> $qtconf
echo 'HostLibraryExecutables = ${@os.path.relpath("${NATIVE_SYSROOT}${QT6_INSTALL_HOST_LIBEXECDIR}", "${NATIVE_SYSROOT}")}' >> $qtconf
echo 'Sysroot = ${@os.path.relpath("${TARGET_SYSROOT}", "${NATIVE_SYSROOT}${QT6_INSTALL_BINDIR}")}' >> $qtconf
echo 'HostSpec = linux-oe-g++' >> $qtconf
echo 'TargetSpec = linux-oe-g++' >> $qtconf
echo 'SysrootifyPrefix = true' >> $qtconf
# add qt.conf to both bin and libexec dirs
cp ${WORKDIR}/qt.conf ${SDK_OUTPUT}${SDKPATHNATIVE}${QT6_INSTALL_BINDIR}/
cp ${WORKDIR}/qt.conf ${SDK_OUTPUT}${SDKPATHNATIVE}${QT6_INSTALL_HOST_LIBEXECDIR}/
cp ${WORKDIR}/qt.conf ${SDK_OUTPUT}${NATIVE_SYSROOT}${QT6_INSTALL_BINDIR}/
cp ${WORKDIR}/qt.conf ${SDK_OUTPUT}${NATIVE_SYSROOT}${QT6_INSTALL_HOST_LIBEXECDIR}/
cp ${WORKDIR}/qt.conf ${SDK_OUTPUT}${NATIVE_SYSROOT}${QT6_INSTALL_BINDIR}/target_qt.conf
install -d ${SDK_OUTPUT}${SDKPATHNATIVE}/environment-setup.d
script=${SDK_OUTPUT}${SDKPATHNATIVE}/environment-setup.d/qt6.sh
install -d ${SDK_OUTPUT}${NATIVE_SYSROOT}/environment-setup.d
script=${SDK_OUTPUT}${NATIVE_SYSROOT}/environment-setup.d/qt6.sh
touch $script
echo 'export OE_QMAKE_CFLAGS="$CFLAGS"' >> $script
echo 'export OE_QMAKE_CXXFLAGS="$CXXFLAGS"' >> $script
@ -56,62 +60,80 @@ create_qt6_sdk_files () {
echo 'export OE_QMAKE_OBJCOPY="$OBJCOPY"' >> $script
echo 'export OE_QMAKE_AR_LTCG="${HOST_PREFIX}gcc-ar"' >> $script
mkspec=${SDK_OUTPUT}${SDKTARGETSYSROOT}${QT6_INSTALL_MKSPECSDIR}/linux-oe-g++/qmake.conf
echo "count(QMAKE_AR, 1): QMAKE_AR = ${AR} cqs" >> $mkspec
echo "count(QMAKE_AR_LTCG, 1): QMAKE_AR_LTCG = ${HOST_PREFIX}gcc-ar cqs" >> $mkspec
echo "isEmpty(QMAKE_STRIP): QMAKE_STRIP = ${STRIP}" >> $mkspec
echo "isEmpty(QMAKE_OBJCOPY): QMAKE_OBJCOPY = ${OBJCOPY}" >> $mkspec
echo "isEmpty(QMAKE_CC): QMAKE_CC = ${CC}" >> $mkspec
echo "isEmpty(QMAKE_CFLAGS): QMAKE_CFLAGS = ${CFLAGS}" >> $mkspec
echo "isEmpty(QMAKE_CXX): QMAKE_CXX = ${CXX}" >> $mkspec
echo "isEmpty(QMAKE_CXXFLAGS): QMAKE_CXXFLAGS = ${CXXFLAGS}" >> $mkspec
echo "isEmpty(QMAKE_LINK): QMAKE_LINK = ${CXX}" >> $mkspec
echo "isEmpty(QMAKE_LFLAGS): QMAKE_LFLAGS = ${LDFLAGS}" >> $mkspec
sed -i $mkspec \
-e 's:${RECIPE_SYSROOT}:$$[QT_SYSROOT]:' \
-e 's:${TARGET_PREFIX}:$$[QT_HOST_BINS]/${TARGET_SYS}/${TARGET_PREFIX}:'
# Generate a toolchain file for using Qt without running setup-environment script
cat > ${SDK_OUTPUT}${SDKPATHNATIVE}/usr/share/cmake/Qt6Toolchain.cmake <<EOF
set(ENV{PATH} "${SDKPATHNATIVE}${bindir}${PATH_DELIM}${SDKPATHNATIVE}${bindir}/${TARGET_SYS}${PATH_DELIM}\$ENV{PATH}")
set(ENV{CC} "${TARGET_PREFIX}gcc ${TARGET_CC_ARCH} --sysroot=${SDKTARGETSYSROOT}")
set(ENV{CXX} "${TARGET_PREFIX}g++ ${TARGET_CC_ARCH} --sysroot=${SDKTARGETSYSROOT}")
cat > ${SDK_OUTPUT}${NATIVE_SYSROOT}/usr/share/cmake/Qt6Toolchain.cmake <<EOF
cmake_minimum_required(VERSION 3.11)
include_guard(GLOBAL)
set(ENV{CFLAGS} "${TARGET_CFLAGS}")
set(ENV{CXXFLAGS} "${TARGET_CXXFLAGS}")
get_filename_component(SYSROOTS \${CMAKE_CURRENT_LIST_DIR}/../../../.. ABSOLUTE)
set(ENV{OECORE_NATIVE_SYSROOT} "${SDKPATHNATIVE}")
set(ENV{OECORE_TARGET_SYSROOT} "${SDKTARGETSYSROOT}")
set(ENV{SDKTARGETSYSROOT} "${SDKTARGETSYSROOT}")
set(ENV{PATH} "${NATIVE_SYSROOT}${bindir}${PATH_DELIM}\$ENV{PATH}")
set(ENV{PKG_CONFIG_SYSROOT_DIR} "${TARGET_SYSROOT}")
set(ENV{PKG_CONFIG_PATH} "${TARGET_SYSROOT}${libdir}/pkgconfig")
set(ENV{PKG_CONFIG_SYSROOT_DIR} "${SDKTARGETSYSROOT}")
set(ENV{PKG_CONFIG_PATH} "${SDKTARGETSYSROOT}${libdir}/pkgconfig")
set(CMAKE_SYSTEM_NAME Linux)
set(CMAKE_SYSROOT ${TARGET_SYSROOT})
set(CMAKE_FIND_ROOT_PATH ${TARGET_SYSROOT})
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY)
set(CMAKE_SYSTEM_PROCESSOR ${TUNE_PKGARCH})
set(CMAKE_C_COMPILER "${NATIVE_SYSROOT}${bindir}/${TARGET_SYS}/${TARGET_PREFIX}gcc${EXE_EXT}")
set(CMAKE_CXX_COMPILER "${NATIVE_SYSROOT}${bindir}/${TARGET_SYS}/${TARGET_PREFIX}g++${EXE_EXT}")
set(TARGET_COMPILER_FLAGS "${TARGET_CC_ARCH} --sysroot=${TARGET_SYSROOT}")
set(TARGET_LINKER_FLAGS "${TARGET_LDFLAGS}")
include(CMakeInitializeConfigs)
function(cmake_initialize_per_config_variable _PREFIX _DOCSTRING)
if (_PREFIX MATCHES "CMAKE_(C|CXX|ASM)_FLAGS")
set(CMAKE_\${CMAKE_MATCH_1}_FLAGS_INIT "\${TARGET_COMPILER_FLAGS}")
foreach (config DEBUG RELEASE MINSIZEREL RELWITHDEBINFO)
if (DEFINED TARGET_COMPILER_FLAGS_\${config})
set(CMAKE_\${CMAKE_MATCH_1}_FLAGS_\${config}_INIT "\${TARGET_COMPILER_FLAGS_\${config}}")
endif()
endforeach()
endif()
if (_PREFIX MATCHES "CMAKE_(SHARED|MODULE|EXE)_LINKER_FLAGS")
foreach (config SHARED MODULE EXE)
set(CMAKE_\${config}_LINKER_FLAGS_INIT "\${TARGET_LINKER_FLAGS}")
endforeach()
endif()
_cmake_initialize_per_config_variable(\${ARGV})
endfunction()
if(CMAKE_HOST_WIN32)
set(CMAKE_BUILD_WITH_INSTALL_RPATH ON)
endif()
if(NOT DEFINED CMAKE_INSTALL_PREFIX)
set(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT 1)
endif()
set(CMAKE_INSTALL_PREFIX "${prefix}" CACHE PATH "Install path prefix")
set(CMAKE_TOOLCHAIN_FILE "${SDKPATHNATIVE}/usr/share/cmake/OEToolchainConfig.cmake")
include("\${CMAKE_TOOLCHAIN_FILE}")
set(QT_BUILD_INTERNALS_NO_FORCE_SET_INSTALL_PREFIX ON CACHE BOOL "")
EOF
# override qt-cmake
cat > ${SDK_OUTPUT}${SDKPATHNATIVE}${QT6_INSTALL_BINDIR}/qt-cmake <<EOF
#!/bin/sh
# resolve absolute paths at runtime
sed -i -e 's|${SDKPATH}/sysroots|\${SYSROOTS}|g' \
${SDK_OUTPUT}${NATIVE_SYSROOT}/usr/share/cmake/Qt6Toolchain.cmake
cmake_path="${SDKPATHNATIVE}${bindir}/cmake"
toolchain_path="${SDKPATHNATIVE}/usr/share/cmake/Qt6Toolchain.cmake"
exec "\$cmake_path" -DCMAKE_TOOLCHAIN_FILE="\$toolchain_path" "\$@"
# Conan profile
mkdir -p ${SDK_OUTPUT}${NATIVE_SYSROOT}/usr/share/conan
cat > ${SDK_OUTPUT}${NATIVE_SYSROOT}/usr/share/conan/profile <<EOF
include(${TARGET_SYSROOT}${datadir}/conan/profile)
[env]
QT_CONFIGURE_MODULE=${NATIVE_SYSROOT}${QT6_INSTALL_BINDIR}/qt-configure-module
EOF
}
create_qt6_sdk_files_append_sdkmingw32() {
sed -i -e 's|${SDKPATH}|$ENV{SDKPATH}|g' \
${SDK_OUTPUT}${SDKPATHNATIVE}/usr/share/cmake/Qt6Toolchain.cmake
}
# default debug prefix map isn't valid in the SDK
DEBUG_PREFIX_MAP = ""
SECURITY_CFLAGS = ""
lcl_maybe_fortify = ""

View File

@ -1,17 +1,20 @@
inherit cmake python3native perlnative qt6-paths
inherit cmake python3native perlnative pkgconfig qt6-paths
DEPENDS_prepend = "qtbase-native "
DEPENDS:prepend = "qtbase-native "
QT_MESSAGE_LOG_LEVEL ?= "STATUS"
EXTRA_OECMAKE += "\
-DQT_CMAKE_DEBUG_EXTEND_TARGET=ON \
-DQT_BUILD_TOOLS_WHEN_CROSSCOMPILING=ON \
-DQT_BUILD_INTERNALS_NO_FORCE_SET_INSTALL_PREFIX=ON \
-DCMAKE_MESSAGE_LOG_LEVEL=${QT_MESSAGE_LOG_LEVEL} \
"
EXTRA_OECMAKE_append_class-target = "\
-DQT_HOST_PATH:PATH=${RECIPE_SYSROOT_NATIVE}/${prefix_native}/ \
EXTRA_OECMAKE:append:class-target = "\
-DQT_HOST_PATH:PATH=${RECIPE_SYSROOT_NATIVE}${prefix_native}/ \
-DQT_BUILD_TOOLS_WHEN_CROSSCOMPILING=ON \
"
EXTRA_OECMAKE_append_class-nativesdk = "\
-DQT_HOST_PATH:PATH=${RECIPE_SYSROOT_NATIVE}/${prefix_native}/ \
EXTRA_OECMAKE:append:class-nativesdk = "\
-DQT_HOST_PATH:PATH=${RECIPE_SYSROOT_NATIVE}${prefix_native}/ \
-DQT_BUILD_TOOLS_WHEN_CROSSCOMPILING=ON \
"
EXTRA_OECMAKE += "\
@ -32,9 +35,10 @@ EXTRA_OECMAKE += "\
-DINSTALL_MKSPECSDIR:PATH=${@os.path.relpath(d.getVar('QT6_INSTALL_MKSPECSDIR'), d.getVar('prefix') + '/')} \
"
do_install_append() {
do_install:append() {
# Replace host paths with qmake built-in properties QTBUG-84725
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 's|${STAGING_DIR_HOST}|$$[QT_SYSROOT]|g' \
-e '/QMAKE_PRL_BUILD_DIR/d' {} \;
}

View File

@ -12,7 +12,7 @@ QT6_INSTALL_ARCHDATADIR ?= "${libdir}"
QT6_INSTALL_PLUGINSDIR ?= "${libdir}/plugins"
# Helper programs [ARCHDATADIR/bin on Windows, ARCHDATADIR/libexec otherwise]
QT6_INSTALL_LIBEXECDIR ?= "${libexecdir}"
QT6_INSTALL_LIBEXECDIR_mingw32 ?= "${bindir}"
QT6_INSTALL_LIBEXECDIR:mingw32 ?= "${bindir}"
# QML2 imports [ARCHDATADIR/qml]
QT6_INSTALL_QMLDIR ?= "${libdir}/qml"
# "Arch-independent data [PREFIX]

View File

@ -13,25 +13,25 @@ OE_QMAKE_PATH_SETTINGS = "${sysconfdir}"
OE_QMAKE_PATH_EXAMPLES = "${QT6_INSTALL_EXAMPLESDIR}"
OE_QMAKE_PATH_TESTS = "${QT6_INSTALL_TESTSDIR}"
OE_QMAKE_PATH_HOST_PREFIX = ""
OE_QMAKE_PATH_HOST_PREFIX_class-target = "${STAGING_DIR_NATIVE}"
OE_QMAKE_PATH_HOST_PREFIX:class-target = "${STAGING_DIR_NATIVE}"
OE_QMAKE_PATH_HOST_BINS = "${QT6_INSTALL_BINDIR}"
OE_QMAKE_PATH_HOST_DATA = "${QMAKE_MKSPEC_PATH_TARGET}"
OE_QMAKE_PATH_HOST_LIBS = "${STAGING_LIBDIR}"
OE_QMAKE_PATH_HOST_LIBEXECS = "${QT6_INSTALL_LIBEXECDIR}"
OE_QMAKE_PATH_EXTERNAL_HOST_BINS = "${STAGING_BINDIR_NATIVE}"
OE_QMAKE_PATH_EXTERNAL_HOST_BINS = "${STAGING_DIR_NATIVE}${OE_QMAKE_PATH_HOST_BINS}"
# This is useful for target recipes to reference native mkspecs
QMAKE_MKSPEC_PATH_NATIVE = "${STAGING_LIBDIR_NATIVE}"
QMAKE_MKSPEC_PATH_TARGET = "${STAGING_LIBDIR}"
QMAKE_MKSPEC_PATH = "${QMAKE_MKSPEC_PATH_TARGET}"
QMAKE_MKSPEC_PATH_class-native = "${QMAKE_MKSPEC_PATH_NATIVE}"
QMAKE_MKSPEC_PATH_class-nativesdk = "${QMAKE_MKSPEC_PATH_NATIVE}"
QMAKE_MKSPEC_PATH:class-native = "${QMAKE_MKSPEC_PATH_NATIVE}"
QMAKE_MKSPEC_PATH:class-nativesdk = "${QMAKE_MKSPEC_PATH_NATIVE}"
DEPENDS_prepend = "qtbase-native "
DEPENDS:prepend = "qtbase-native "
# hardcode linux, because that's what 0001-Add-linux-oe-g-platform.patch adds
XPLATFORM_toolchain-clang = "linux-oe-clang"
XPLATFORM:toolchain-clang = "linux-oe-clang"
XPLATFORM ?= "linux-oe-g++"
OE_QMAKE_PLATFORM_NATIVE = "${XPLATFORM}"
@ -149,7 +149,7 @@ HostBinaries = ${OE_QMAKE_PATH_EXTERNAL_HOST_BINS}
HostLibraries = ${STAGING_LIBDIR_NATIVE}
HostData = ${OE_QMAKE_PATH_HOST_DATA}
HostPrefix = ${STAGING_DIR_NATIVE}
HostLibraryExecutables = ${STAGING_LIBEXECDIR_NATIVE}
HostLibraryExecutables = ${STAGING_DIR_NATIVE}${OE_QMAKE_PATH_HOST_LIBEXECS}
EOF
}
#
@ -239,7 +239,7 @@ do_configure () {
${OE_QMAKE_QMAKE} -makefile -o Makefile ${OE_QMAKE_DEBUG_OUTPUT} ${OE_QMAKE_RECURSIVE} $QMAKE_VARSUBST_PRE $AFTER $PROFILES $QMAKE_VARSUBST_POST -- $QMAKE_VARSUBST_CONFIGURE || die "Error calling $CMD"
}
do_install_class-native() {
do_install:class-native() {
oe_runmake install INSTALL_ROOT=${D}
find "${D}" -ignore_readdir_race -name "*.la" -delete
if ls ${D}${libdir}/pkgconfig/Qt5*.pc >/dev/null 2>/dev/null; then

View File

@ -1,7 +1,10 @@
python do_srcrev_update() {
import subprocess
recipe = d.getVar("FILE")
recipe = d.getVar('FILE')
srcrev_file = os.path.join(os.path.dirname(recipe), 'qt6-git.inc')
module = d.getVar('QT_MODULE')
scms = []
fetcher = bb.fetch2.Fetch(d.getVar('SRC_URI').split(), d)
@ -13,32 +16,20 @@ python do_srcrev_update() {
if len(scms) == 0:
return
if len(scms) == 1 and len(urldata[scms[0]].names) == 1:
ud = urldata[scms[0]]
rev = ud.method.latest_revision(ud, d, ud.names[0])
srcrev = d.getVar("SRCREV")
if srcrev == rev:
bb.plain("%s SRCREV: %s is already latest" % (recipe, srcrev))
return
bb.plain("%s SRCREV: %s -> %s" % (recipe, srcrev, rev))
cmd = "sed -i %s -e 's/%s/%s/'" % (recipe, srcrev, rev)
bb.process.run(cmd, log=None, shell=True, stderr=subprocess.PIPE, cwd=None)
return
d.setVar("__BBSEENSRCREV", "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 srcrev == rev:
bb.plain("%s SRCREV_%s: %s is already latest" % (recipe, name, srcrev))
bb.plain("%s: %s is already latest" % (name, srcrev))
continue
bb.plain("%s SRCREV_%s: %s -> %s" % (recipe, name, srcrev, rev))
cmd = "sed -i %s -e 's/%s/%s/'" % (recipe, srcrev, rev)
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"

View File

@ -1,2 +1,5 @@
product_dependency:
../../qt/qt5:
ref: "dev"
dependencies:
{}

View File

@ -11,13 +11,13 @@ accept_configuration:
machine_type:
Build:
cores: 8
cores: 16
# Target build matrix:
#
# [target1] [target2] [target3] [target4]
# [machine] qemuarm64 qemux86 qemuarm qemux86-64
# [yocto] hardknott dunfell gatesgarth master
# [yocto] kirkstone honister kirkstone dunfell
# [X11] no no yes yes
# [mingw] no yes no no
#
@ -29,11 +29,11 @@ target1: &target1
variableName: MACHINE
variableValue: qemuarm64
- type: EnvironmentVariable
variableName: YOCTO_BRANCH
variableValue: hardknott
variableName: MANIFEST
variableValue: kirkstone.xml
- type: EnvironmentVariable
variableName: DISABLE_X11
variableValue: true
variableName: TEST_CONFIGS
variableValue: ci configs post-inclusive wayland
enable_if:
condition: property
property: target.arch
@ -45,14 +45,11 @@ target2: &target2
variableName: MACHINE
variableValue: qemux86
- type: EnvironmentVariable
variableName: YOCTO_BRANCH
variableValue: dunfell
variableName: MANIFEST
variableValue: honister.xml
- type: EnvironmentVariable
variableName: DISABLE_X11
variableValue: true
- type: EnvironmentVariable
variableName: MINGW
variableValue: true
variableName: TEST_CONFIGS
variableValue: ci configs pre-inclusive wayland mingw no-webengine
enable_if:
condition: property
property: target.arch
@ -64,8 +61,11 @@ target3: &target3
variableName: MACHINE
variableValue: qemuarm
- type: EnvironmentVariable
variableName: YOCTO_BRANCH
variableValue: gatesgarth
variableName: MANIFEST
variableValue: kirkstone.xml
- type: EnvironmentVariable
variableName: TEST_CONFIGS
variableValue: ci configs post-inclusive
enable_if:
condition: property
property: target.arch
@ -77,8 +77,11 @@ target4: &target4
variableName: MACHINE
variableValue: qemux86-64
- type: EnvironmentVariable
variableName: YOCTO_BRANCH
variableValue: master
variableName: MANIFEST
variableValue: dunfell.xml
- type: EnvironmentVariable
variableName: TEST_CONFIGS
variableValue: ci configs pre-inclusive no-webengine
enable_if:
condition: property
property: target.arch
@ -110,41 +113,38 @@ instructions:
sudo hostname $(hostname -s)-$(date +%s%N)
sudo mkdir -p /mnt/yocto-cache
sudo mount yocto-cache.intra.qt.io:/srv/yocto-cache /mnt/yocto-cache
sudo mount yocto-cache.ci.qt.io:/srv/yocto-cache /mnt/yocto-cache
git clone git://git.yoctoproject.org/poky --reference /mnt/yocto-cache/mirror/poky.git
(cd poky; git checkout ${YOCTO_BRANCH})
git clone git://github.com/openembedded/meta-openembedded --reference /mnt/yocto-cache/mirror/meta-openembedded.git
(cd meta-openembedded; git checkout ${YOCTO_BRANCH})
git clone git://git.yoctoproject.org/meta-mingw --reference /mnt/yocto-cache/mirror/meta-mingw.git
(cd meta-mingw; git checkout ${YOCTO_BRANCH})
curl https://storage.googleapis.com/git-repo-downloads/repo > repo
chmod +x repo
./repo init \
--repo-url https://github.com/theqtcompany/git-repo \
-u git://code.qt.io/yocto/boot2qt-manifest \
-b ci \
-m ${MANIFEST} \
--reference /mnt/yocto-cache/mirror
./repo sync
source ./poky/oe-init-build-env
export BB_ENV_EXTRAWHITE="$BB_ENV_EXTRAWHITE SSTATE_DIR DL_DIR"
export DL_DIR=/mnt/yocto-cache/downloads
export BB_GENERATE_MIRROR_TARBALLS=1
export SSTATE_DIR=/mnt/yocto-cache/sstate-caches/$(sed -n -e "s/DISTRO_CODENAME.*\"\(.*\)\"/\1/p" ../poky/meta-*/conf/distro/poky.conf)-meta-qt6
bitbake-layers add-layer ../meta-openembedded/meta-oe
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 ${SOURCE_DIR}
if [ -n "${DISABLE_X11}" ] ; then
echo "DISTRO_FEATURES_remove = \"x11\"" >> conf/local.conf
fi
if [ -n "${MINGW}" ]; then
export SDKMACHINE=x86_64-mingw32
fi
for conf in ${TEST_CONFIGS}; do
echo "require ${SOURCE_DIR}/coin/test-${conf}.inc" >> conf/local.conf
done
echo "require ${SOURCE_DIR}/coin/test-configs.inc" >> conf/local.conf
# build all recipes found in the layer
bitbake $(find ${SOURCE_DIR} -name *.bb | xargs -n1 basename | sed -e 's/\([^._]*\).*/\1/')
# build toolchain which should include all supported recipes
bitbake meta-toolchain-qt6 nativesdk-packagegroup-qt6-toolchain-host packagegroup-qt6-modules
filename: "{{.BuildDir}}/start-build"
fileMode: 420
- type: ExecuteCommand
command: ["bash", "-xe", "{{.BuildDir}}/start-build"]
maxTimeInSeconds: 28800
maxTimeBetweenOutput: 28800
maxTimeInSeconds: 43200
maxTimeBetweenOutput: 7200
userMessageOnFailure: "Build failed."
- type: ExecuteCommand
command: ["sudo", "umount", "/mnt/yocto-cache"]

5
coin/test-ci.inc Normal file
View File

@ -0,0 +1,5 @@
SSTATE_DIR = "/mnt/yocto-cache/sstate-caches/${DISTRO}-${DISTRO_CODENAME}"
BB_HASHSERVE = "yocto-cache.ci.qt.io:8686"
DL_DIR = "/mnt/yocto-cache/downloads"
BB_GENERATE_MIRROR_TARBALLS = "1"
BB_NUMBER_THREADS = "8"

View File

@ -1,22 +1,24 @@
PREFERRED_PROVIDER_udev = "systemd"
# use gold
DISTRO_FEATURES_append = " ld-is-gold"
DISTRO_FEATURES:append = " ld-is-gold"
# use systemd
DISTRO_FEATURES_append = " systemd"
DISTRO_FEATURES:append = " systemd"
DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit"
VIRTUAL-RUNTIME_init_manager = "systemd"
VIRTUAL-RUNTIME_initscripts = ""
# use wayland
DISTRO_FEATURES_append = " wayland"
INHERIT += "buildstats buildstats-summary"
INHERIT += "rm_work"
# default to commercial Qt
QT_EDITION = "commercial"
# include commercial addons and enable Qt QML Compiler
QT_COMMERCIAL_MODULES = "1"
# fast compression of SDK tar package
SDK_XZ_COMPRESSION_LEVEL = "-1"
SDK_ARCHIVE_TYPE_sdkmingw32 = "zip"
# be more strict with QA warnings, turn them all to errors:
EXTRA_QA = "\
ldflags useless-rpaths rpaths staticdev libdir xorg-driver-abi \
@ -26,60 +28,64 @@ EXTRA_QA = "\
unknown-configure-option symlink-to-sysroot multilib \
invalid-packageconfig host-user-contaminated uppercase-pn \
"
ERROR_QA_append = "${EXTRA_QA}"
WARN_QA_remove = "${EXTRA_QA}"
ERROR_QA:append = "${EXTRA_QA}"
WARN_QA:remove = "${EXTRA_QA}"
# 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}"
PACKAGECONFIG_append_pn-qtbase = "\
# enable webengine with commercial/proprietary features
DISTRO_FEATURES:append = " webengine"
PACKAGECONFIG:append:pn-qtwebengine = " proprietary-codecs"
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)} \
"
# imageformats mng FIXME
PACKAGECONFIG_append_pn-qtimageformats = " jasper"
# Use latest uninative package
UNINATIVE_MAXGLIBCVERSION = "2.32"
UNINATIVE_URL ?= "http://downloads.yoctoproject.org/releases/uninative/2.9/"
UNINATIVE_CHECKSUM[aarch64] ?= "9f25a667aee225b1dd65c4aea73e01983e825b1cb9b56937932a1ee328b45f81"
UNINATIVE_CHECKSUM[i686] ?= "cae5d73245d95b07cf133b780ba3f6c8d0adca3ffc4e7e7fab999961d5e24d36"
UNINATIVE_CHECKSUM[x86_64] ?= "d07916b95c419c81541a19c8ef0ed8cbd78ae18437ff28a4c8a60ef40518e423"
PACKAGECONFIG:append:pn-qtimageformats = " jasper"
# enable examples for all Qt modules
PACKAGECONFIG_append_pn-qt3d = " examples"
PACKAGECONFIG_append_pn-qt5compat = " examples"
PACKAGECONFIG_append_pn-qtbase = " examples"
PACKAGECONFIG_append_pn-qtcharts = " examples"
PACKAGECONFIG_append_pn-qtcoap = " examples"
PACKAGECONFIG_append_pn-qtconnectivity = " examples"
PACKAGECONFIG_append_pn-qtdatavis3d = " examples"
PACKAGECONFIG_append_pn-qtdeclarative = " examples"
PACKAGECONFIG_append_pn-qtimageformats = " examples"
PACKAGECONFIG_append_pn-qtmqtt = " examples"
PACKAGECONFIG_append_pn-qtmultimedia = " examples"
PACKAGECONFIG_append_pn-qtnetworkauth = " examples"
PACKAGECONFIG_append_pn-qtopcua = " examples"
PACKAGECONFIG_append_pn-qtpositioning = " examples"
PACKAGECONFIG_append_pn-qtquick3d = " examples"
PACKAGECONFIG_append_pn-qtquickcontrols2 = " examples"
PACKAGECONFIG_append_pn-qtquickdesigner-components = " examples"
PACKAGECONFIG_append_pn-qtquicktimeline = " examples"
PACKAGECONFIG_append_pn-qtremoteobjects = " examples"
PACKAGECONFIG_append_pn-qtscxml = " examples"
PACKAGECONFIG_append_pn-qtsensors = " examples"
PACKAGECONFIG_append_pn-qtserialbus = " examples"
PACKAGECONFIG_append_pn-qtserialport = " examples"
PACKAGECONFIG_append_pn-qtshadertools = " examples"
PACKAGECONFIG_append_pn-qtspeech = " examples"
PACKAGECONFIG_append_pn-qtsvg = " examples"
PACKAGECONFIG_append_pn-qttools = " examples"
PACKAGECONFIG_append_pn-qttranslations = " examples"
PACKAGECONFIG_append_pn-qtvirtualkeyboard = " examples"
PACKAGECONFIG_append_pn-qtwayland = " examples"
PACKAGECONFIG_append_pn-qtwebchannel = " examples"
PACKAGECONFIG_append_pn-qtwebsockets = " examples"
PACKAGECONFIG:append:pn-qmlcompilerplus = " examples"
PACKAGECONFIG:append:pn-qt3d = " examples"
PACKAGECONFIG:append:pn-qt5compat = " examples"
PACKAGECONFIG:append:pn-qtapplicationmanager = " examples"
PACKAGECONFIG:append:pn-qtbase = " examples"
PACKAGECONFIG:append:pn-qtcharts = " examples"
PACKAGECONFIG:append:pn-qtcoap = " examples"
PACKAGECONFIG:append:pn-qtconnectivity = " examples"
PACKAGECONFIG:append:pn-qtdatavis3d = " examples"
PACKAGECONFIG:append:pn-qtdeclarative = " examples"
PACKAGECONFIG:append:pn-qtdeviceutilities = " examples"
PACKAGECONFIG:append:pn-qtimageformats = " examples"
PACKAGECONFIG:append:pn-qtinsighttracker = " examples"
PACKAGECONFIG:append:pn-qtinterfaceframework = " examples"
PACKAGECONFIG:append:pn-qtlanguageserver = " examples"
PACKAGECONFIG:append:pn-qtlottie = " examples"
PACKAGECONFIG:append:pn-qtmqtt = " examples"
PACKAGECONFIG:append:pn-qtmultimedia = " examples"
PACKAGECONFIG:append:pn-qtnetworkauth = " examples"
PACKAGECONFIG:append:pn-qtopcua = " examples"
PACKAGECONFIG:append:pn-qtpdf = " examples"
PACKAGECONFIG:append:pn-qtpositioning = " examples"
PACKAGECONFIG:append:pn-qtquick3d = " examples"
PACKAGECONFIG:append:pn-qtquickdesigner-components = " examples"
PACKAGECONFIG:append:pn-qtquicktimeline = " examples"
PACKAGECONFIG:append:pn-qtremoteobjects = " examples"
PACKAGECONFIG:append:pn-qtscxml = " examples"
PACKAGECONFIG:append:pn-qtsensors = " examples"
PACKAGECONFIG:append:pn-qtserialbus = " examples"
PACKAGECONFIG:append:pn-qtserialport = " examples"
PACKAGECONFIG:append:pn-qtshadertools = " examples"
PACKAGECONFIG:append:pn-qtsvg = " examples"
PACKAGECONFIG:append:pn-qttools = " examples"
PACKAGECONFIG:append:pn-qttranslations = " examples"
PACKAGECONFIG:append:pn-qtvirtualkeyboard = " examples"
PACKAGECONFIG:append:pn-qtwayland = " examples"
PACKAGECONFIG:append:pn-qtwebchannel = " examples"
PACKAGECONFIG:append:pn-qtwebengine = " examples"
PACKAGECONFIG:append:pn-qtwebsockets = " examples"
PACKAGECONFIG:append:pn-qtwebview = " examples"

1
coin/test-mingw.inc Normal file
View File

@ -0,0 +1 @@
SDKMACHINE = "x86_64-mingw32"

View File

@ -0,0 +1 @@
DISTRO_FEATURES:remove = "webengine"

View File

@ -0,0 +1 @@
LICENSE_FLAGS_ACCEPTED = "commercial"

View File

@ -0,0 +1 @@
LICENSE_FLAGS_WHITELIST = "commercial"

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

@ -0,0 +1,2 @@
DISTRO_FEATURES:remove = "x11"
DISTRO_FEATURES:append = " wayland"

View File

@ -14,6 +14,11 @@ BBPATH .= ":${LAYERDIR}"
# We have a recipes directory, add to BBFILES
BBFILES += "${LAYERDIR}/recipes-*/*/*.bb ${LAYERDIR}/recipes-*/*/*.bbappend"
# bbappends for optional layers
BBFILES_DYNAMIC += " \
openembedded-layer:${LAYERDIR}/dynamic-layers/openembedded-layer/recipes*/*/*.bbappend \
"
BBFILE_COLLECTIONS += "qt6-layer"
BBFILE_PATTERN_qt6-layer := "^${LAYERDIR}/"
@ -21,7 +26,7 @@ BBFILE_PATTERN_qt6-layer := "^${LAYERDIR}/"
# choosing carefully how this layer interacts with all of the
# other layers.
BBFILE_PRIORITY_qt6-layer = "7"
BBFILE_PRIORITY_qt6-layer = "${BBFILE_PRIORITY_core}"
# This should only be incremented on significant changes that will
# cause compatibility issues with other layers
@ -29,7 +34,7 @@ LAYERVERSION_qt6-layer = "1"
LAYERDEPENDS_qt6-layer = "core"
LAYERSERIES_COMPAT_qt6-layer = "zeus dunfell gatesgarth hardknott"
LAYERSERIES_COMPAT_qt6-layer = "dunfell gatesgarth hardknott honister kirkstone"
LICENSE_PATH += "${LAYERDIR}/licenses"
@ -39,3 +44,14 @@ QT_GIT_PROJECT ?= "qt"
QT_GIT ?= "git://code.qt.io"
QT_GIT_PROTOCOL ?= "git"
QT_EDITION ?= "opensource"
QT_VERSION = "6.2.12"
QT_COMMERCIAL_GIT ?= "git://codereview.qt-project.org"
QT_COMMERCIAL_GIT_PROTOCOL ?= "ssh"
QT_COMMERCIAL_MODULES ?= "0"
# License mapping back to old license files
SPDXLICENSEMAP[GPL-3.0-only] = "GPL-3.0"
SPDXLICENSEMAP[LGPL-3.0-only] = "LGPL-3.0"
SPDXLICENSEMAP[GPL-2.0-or-later] = "GPL-2.0"

View File

@ -0,0 +1 @@
BBCLASSEXTEND = "native nativesdk"

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,10 @@
inherit populate_sdk_qt6_base
TARGET_SYSROOT = "${STANDALONE_SYSROOT}"
NATIVE_SYSROOT = "${STANDALONE_SYSROOT_NATIVE}"
SDK_OUTPUT = ""
do_qt6_support () {
create_qt6_sdk_files
}
addtask do_qt6_support after do_build_native_sysroot before do_build

View File

@ -0,0 +1,21 @@
SUMMARY = "Minizip Compression Library"
DESCRIPTION = "Minizip is a part of Zlib, which is a general-purpose, patent-free, lossless data compression \
library which is used by many different programs."
HOMEPAGE = "http://www.winimage.com/zLibDll/minizip.html"
SECTION = "libs"
LICENSE = "Zlib"
LIC_FILES_CHKSUM = "file://zip.h;beginline=14;endline=30;md5=8eaa8535a3a1a2296b303f40f75385e7"
SRC_URI = "${SOURCEFORGE_MIRROR}/libpng/zlib/${PV}/zlib-${PV}.tar.xz"
UPSTREAM_CHECK_URI = "http://zlib.net/"
S = "${WORKDIR}/zlib-${PV}/contrib/minizip"
SRC_URI[md5sum] = "85adef240c5f370b308da8c938951a68"
SRC_URI[sha256sum] = "4ff941449631ace0d4d203e3483be9dbc9da454084111f97ea0a2114e19bf066"
DEPENDS = "zlib"
inherit autotools
BBCLASSEXTEND = "native nativesdk"

View File

@ -0,0 +1,9 @@
PYPI_PACKAGE = "antlr4-python3-runtime"
inherit pypi setuptools3
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://PKG-INFO;md5=c96f0ee5f5d08fd4387e5f00507bb13e"
SRC_URI[sha256sum] = "31f5abdc7faf16a1a6e9bf2eb31565d004359b821b09944436a34361929ae85a"
BBCLASSEXTEND = "nativesdk native"

View File

@ -0,0 +1,8 @@
inherit pypi setuptools3
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=7a7126e068206290f3fe9f8d6c713ea6"
SRC_URI[sha256sum] = "2de925e8d421f93bcea80d511b81accfb6a7e6b249afa4a5559557b0cf817097"
BBCLASSEXTEND = "nativesdk native"

View File

@ -0,0 +1,8 @@
inherit pypi setuptools3
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=56bd93578433bb99b4fdf7ff481722df"
SRC_URI[sha256sum] = "630c1edc09ef93abea40fc06b10067e5734d8f38cc85867bc61d1a5c9eb7796f"
BBCLASSEXTEND = "nativesdk native"

View File

@ -0,0 +1,21 @@
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}"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=eee61e10a40b0e3045ee5965bcd9a8b5"
SRC_URI[sha256sum] = "42b0a0d37ed77cf1a9994f5ed77e3a6138468241df1700667a9ab0b848d6ad57"
BBCLASSEXTEND = "nativesdk native"

View File

@ -0,0 +1,11 @@
DEPS = "python3-pathtools3"
DEPENDS = "${DEPS}"
RDEPENDS:${PN} = "${DEPS}"
inherit pypi setuptools3
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
SRC_URI[sha256sum] = "965f658d0732de3188211932aeb0bb457587f04f63ab4c1e33eab878e9de961d"
BBCLASSEXTEND = "nativesdk native"

View File

@ -1,9 +1,6 @@
SUMMARY = "Meta package for building an installable Qt5 toolchain and SDK"
SUMMARY = "Meta package for building an installable Qt6 toolchain and SDK"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
inherit populate_sdk populate_sdk_qt6_base
TOOLCHAIN_HOST_TASK_append = " nativesdk-packagegroup-qt6-toolchain-host"
TOOLCHAIN_TARGET_TASK_append = " packagegroup-qt6-modules"
inherit populate_sdk populate_sdk_qt6

View File

@ -0,0 +1,31 @@
DESCRIPTION = "Qt6 development host addon packages"
LICENSE = "MIT"
# disable sanity check for allarch packagegroup
PACKAGE_ARCH = ""
inherit packagegroup nativesdk
PACKAGEGROUP_DISABLE_COMPLEMENTARY = "1"
RDEPENDS:${PN} += " \
nativesdk-qtapplicationmanager-dev \
nativesdk-qtapplicationmanager-tools \
nativesdk-qtquick3d-dev \
nativesdk-qtquick3d-tools \
nativesdk-qtremoteobjects-dev \
nativesdk-qtremoteobjects-tools \
nativesdk-qtscxml-dev \
nativesdk-qtscxml-tools \
nativesdk-qtshadertools-dev \
nativesdk-qtshadertools-tools \
nativesdk-qtwayland-dev \
nativesdk-qtwayland-tools \
${FORLINUXHOST} \
"
FORLINUXHOST:mingw32 = ""
FORLINUXHOST = " \
${@bb.utils.contains('BBFILE_COLLECTIONS', 'meta-python', 'nativesdk-qtinterfaceframework-dev nativesdk-qtinterfaceframework-tools', '', d)} \
"

View File

@ -0,0 +1,11 @@
DESCRIPTION = "Qt6 development host commercial packages"
LICENSE = "MIT"
inherit packagegroup nativesdk
PACKAGEGROUP_DISABLE_COMPLEMENTARY = "1"
RDEPENDS:${PN} += " \
nativesdk-qmlcompilerplus-dev \
nativesdk-qmlcompilerplus-tools \
"

View File

@ -0,0 +1,18 @@
DESCRIPTION = "Qt6 development host essential packages"
LICENSE = "MIT"
# disable sanity check for allarch packagegroup
PACKAGE_ARCH = ""
inherit packagegroup nativesdk
PACKAGEGROUP_DISABLE_COMPLEMENTARY = "1"
RDEPENDS:${PN} += " \
nativesdk-qtbase-dev \
nativesdk-qtbase-tools \
nativesdk-qtdeclarative-dev \
nativesdk-qtdeclarative-tools \
nativesdk-qttools-dev \
nativesdk-qttools-tools \
"

View File

@ -5,27 +5,16 @@ inherit packagegroup nativesdk
PACKAGEGROUP_DISABLE_COMPLEMENTARY = "1"
RDEPENDS_${PN} += " \
RDEPENDS:${PN} += " \
nativesdk-make \
nativesdk-cmake \
nativesdk-ninja \
nativesdk-perl-modules \
nativesdk-qtbase-dev \
nativesdk-qtbase-tools \
nativesdk-qtdeclarative-dev \
nativesdk-qtdeclarative-tools \
nativesdk-qtquick3d-dev \
nativesdk-qtquick3d-tools \
nativesdk-qtremoteobjects-dev \
nativesdk-qtremoteobjects-tools \
nativesdk-qtscxml-dev \
nativesdk-qtscxml-tools \
nativesdk-qttools-dev \
nativesdk-qttools-tools \
${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'nativesdk-qtwayland-dev nativesdk-qtwayland-tools', '', d)} \
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)} \
${FORLINUXHOST} \
"
RDEPENDS_${PN}_remove_mingw32 = " \
FORLINUXHOST:mingw32 = ""
FORLINUXHOST = " \
nativesdk-cmake \
nativesdk-ninja \
nativesdk-perl-modules \

View File

@ -7,9 +7,10 @@ inherit packagegroup
PACKAGEGROUP_DISABLE_COMPLEMENTARY = "1"
RDEPENDS_${PN} += " \
RDEPENDS:${PN} += " \
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'qt3d', '', d)} \
qt5compat \
qtapplicationmanager \
qtcharts \
qtcoap \
qtconnectivity \
@ -17,6 +18,7 @@ RDEPENDS_${PN} += " \
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'qtdatavis3d', '', d)} \
qtdeviceutilities \
qtimageformats \
${@bb.utils.contains('BBFILE_COLLECTIONS', 'meta-python', 'qtinterfaceframework', '', d)} \
qtlottie \
qtmqtt \
qtmultimedia \
@ -32,11 +34,13 @@ RDEPENDS_${PN} += " \
qtserialbus \
qtserialport \
qtshadertools \
qtspeech \
qtsvg \
qttranslations \
qtvirtualkeyboard \
${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'qtwayland', '', d)} \
qtwebchannel \
qtwebsockets \
${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtwebengine', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtwebengine-tools', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtwebview', '', d)} \
"

View File

@ -0,0 +1,13 @@
DESCRIPTION = "Qt6 commercial addon modules"
LICENSE = "MIT"
PACKAGE_ARCH = "${MACHINE_ARCH}"
inherit packagegroup
PACKAGEGROUP_DISABLE_COMPLEMENTARY = "1"
RDEPENDS:${PN} += " \
qmlcompilerplus \
qtinsighttracker \
"

View File

@ -7,12 +7,11 @@ inherit packagegroup
PACKAGEGROUP_DISABLE_COMPLEMENTARY = "1"
RDEPENDS_${PN} += " \
RDEPENDS:${PN} += " \
qtbase \
qtdeclarative \
qtquickcontrols2 \
qtdeclarative-tools \
qttools \
qttranslations-qtbase \
qttranslations-qtdeclarative \
qttranslations-qtquickcontrols2 \
"

View File

@ -7,7 +7,8 @@ inherit packagegroup
PACKAGEGROUP_DISABLE_COMPLEMENTARY = "1"
RDEPENDS_${PN} += " \
RDEPENDS:${PN} += " \
packagegroup-qt6-essentials \
packagegroup-qt6-addons \
${@bb.utils.contains('QT_COMMERCIAL_MODULES', '1', 'packagegroup-qt6-commercial-modules', '', d)} \
"

View File

@ -0,0 +1,112 @@
require gn-utils.inc
inherit linuxloader
inherit qemu
COMPATIBLE_MACHINE = "(-)"
COMPATIBLE_MACHINE:aarch64 = "(.*)"
COMPATIBLE_MACHINE:armv6 = "(.*)"
COMPATIBLE_MACHINE:armv7a = "(.*)"
COMPATIBLE_MACHINE:armv7ve = "(.*)"
COMPATIBLE_MACHINE:x86-64 = "(.*)"
# By default, passing is_official_build=true to GN causes its symbol_level
# variable to be set to "2". This means the compiler will be passed "-g2" and
# we will end up with a very large chrome binary (around 5Gb as of M58)
# regardless of whether DEBUG_BUILD has been set or not. In addition, binutils,
# file and other utilities are unable to read a 32-bit binary this size, which
# causes it not to be stripped.
# The solution is two-fold:
# 1. Make sure -g is not passed on 32-bit architectures via DEBUG_FLAGS. -g is
# the same as -g2. -g1 generates an 800MB binary, which is a lot more
# manageable.
# 2. Explicitly pass symbol_level=0 to GN. This causes -g0 to be passed
# instead, so that if DEBUG_BUILD is not set GN will not create a huge debug
# binary anyway. Since our compiler flags are passed after GN's, -g0 does
# not cause any issues if DEBUG_BUILD is set, as -g1 will be passed later.
DEBUG_FLAGS:remove:arm = "-g"
DEBUG_FLAGS:append:arm = "-g1"
DEBUG_FLAGS:remove:x86 = "-g"
DEBUG_FLAGS:append:x86 = "-g1"
# As of Chromium 62.0.3202.94 and Yocto Rocko (GCC 7, binutils 2.29), passing
# -g to the compiler results in many linker errors on aarch64, such as:
# obj/third_party/WebKit/Source/modules/payments/libpayments.a(PaymentEventDataConversion.o)(.debug_loc+0x4e25): error: relocation overflow in R_AARCH64_ABS32
DEBUG_FLAGS:remove:aarch64 = "-g"
DEBUG_FLAGS:append:aarch64 = "-g1"
# As of Chromium 60.0.3112.101 and Yocto Pyro (GCC 6, binutils 2.28), passing
# -g to the compiler results in many linker errors on x86_64, such as:
# obj/third_party/WebKit/Source/core/loader/libloader.a(ModuleTreeLinker.o)(.debug_loc+0x1e9a5): error: relocation overflow: reference to local symbol 82 in obj/third_party/WebKit/Source/core/loader/libloader.a(ModuleTreeLinker.o)
# obj/third_party/WebKit/Source/core/libcore_generated.a(ScriptModule.o)(.debug_loc+0x253c): error: relocation overflow: reference to local symbol 31 in obj/third_party/WebKit/Source/core/libcore_generated.a(ScriptModule.o)
# so we have to use the same hack described above.
DEBUG_FLAGS:remove:x86-64 = "-g"
DEBUG_FLAGS:append:x86-64 = "-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
# host targeting ARMv6 needs to produce a 32-bit binary). Instead of
# depending on a third Yocto toolchain, we just build those binaries
# for the target and run them on the host with QEMU.
python do_create_v8_qemu_wrapper () {
"""Creates a small wrapper that invokes QEMU to run some target V8 binaries
on the host."""
qemu_libdirs = [d.expand('${STAGING_DIR_HOST}${libdir}'),
d.expand('${STAGING_DIR_HOST}${base_libdir}')]
qemu_cmd = qemu_wrapper_cmdline(d, d.getVar('STAGING_DIR_HOST', True),
qemu_libdirs)
wrapper_path = d.expand('${B}')
bb.utils.mkdirhier(wrapper_path)
wrapper_path = os.path.join(wrapper_path, "v8-qemu-wrapper.sh")
with open(wrapper_path, 'w') as wrapper_file:
wrapper_file.write("""#!/bin/sh
# This file has been generated automatically.
# It invokes QEMU to run binaries built for the target in the host during the
# build process.
%s "$@"
""" % qemu_cmd)
os.chmod(wrapper_path, 0o755)
}
# Some x86-64 target, such as intel-skylake-64, use AVX instructions that are
# not supported by QEMU (https://gitlab.com/qemu-project/qemu/-/issues/164).
# This causes the build tools to crash with QEMU when they are ran during
# to build. Instead of using QEMU, change the wrapper to try to run the
# tools directly, using the target dynloader.
python do_create_v8_qemu_wrapper:x86-64 () {
wrapper_path = d.expand('${B}')
bb.utils.mkdirhier(wrapper_path)
wrapper_path = os.path.join(wrapper_path, "v8-qemu-wrapper.sh")
with open(wrapper_path, 'w') as wrapper_file:
wrapper_file.write("""#!/bin/sh
# This file has been generated automatically.
# It invokes target dynloader to run binaries built for the x86-64 target in the host during the
# build process.
LD_LIBRARY_PATH=%s:%s %s%s "$@"
""" % (d.expand('${STAGING_DIR_HOST}${libdir}'), d.expand('${STAGING_DIR_HOST}${base_libdir}'),
d.expand('${STAGING_DIR_HOST}'), d.expand(get_linuxloader(d))))
os.chmod(wrapper_path, 0o755)
}
do_create_v8_qemu_wrapper[dirs] = "${B}"
addtask create_v8_qemu_wrapper after do_configure before do_compile
python do_write_toolchain_file () {
"""Writes a BUILD.gn file for Yocto detailing its toolchains."""
toolchain_dir = d.expand("${S}/src/3rdparty/chromium/build/toolchain/yocto")
bb.utils.mkdirhier(toolchain_dir)
toolchain_file = os.path.join(toolchain_dir, "BUILD.gn")
write_toolchain_file(d, toolchain_file)
}
addtask write_toolchain_file after do_patch before do_configure
do_compile[progress] = "outof:^\[(\d+)/(\d+)\]\s+"
PACKAGE_DEBUG_SPLIT_STYLE = "debug-without-src"
# There is no need to ship empty -dev packages.
ALLOW_EMPTY:${PN}-dev = "0"

52
recipes-qt/qt6/conan.inc Normal file
View File

@ -0,0 +1,52 @@
# Generate Conan profile
do_install:append:class-target() {
install -d ${D}${datadir}/conan
cat > ${D}${datadir}/conan/profile <<EOF
[settings]
os=Linux
arch=${@map_conan_arch(d.getVar('TARGET_ARCH'), d)}
compiler=gcc
compiler.version=$(${CC} -dumpfullversion | cut -d . -f 1,2)
compiler.libcxx=libstdc++11
build_type=${BUILD_TYPE}
[options]
qtbase:cmake_args_qtbase="${@cmake_args_qtbase(d)}"
*:cmake_args_leaf_module=""
[build_requires]
[env]
CONAN_CMAKE_GENERATOR=${OECMAKE_GENERATOR}
EOF
}
def map_conan_arch(a, d):
import re
valid_archs = "x86, x86_64, ppc32be, ppc32, ppc64le, ppc64, \
armv5el, armv5hf, armv6, armv7, armv7hf, armv7s, armv7k, armv8, armv8_32, armv8.3, \
sparc, sparcv9, mips, mips64, avr, s390, s390x, asm.js, wasm, sh4le, \
e2k-v2, e2k-v3, e2k-v4, e2k-v5, e2k-v6, e2k-v7, xtensalx6, xtensalx106"
if re.match('i.86$', a): return 'x86'
elif re.match('x86.64$', a): return 'x86_64'
elif re.match('arm$', a): return 'arm'
elif re.match('aarch64$', a): return 'armv8'
elif re.match('mips(isa32)?(el)?$', a): return 'mips'
elif re.match('mips(isa)?(64)?(el)?$', a): return 'mips64'
elif re.match('p(pc|owerpc)$', a): return 'ppc32be'
elif re.match('p(pc|owerpc)le$', a): return 'ppc32'
elif re.match('p(pc|owerpc)64$', a): return 'ppc64'
elif re.match('p(pc|owerpc)64le$', a): return 'ppc64le'
elif re.match('sh4$', a): return 'sh4le'
elif a in valid_archs: return a
else:
bb.warn("cannot map '%s' to a conan architecture" % a)
def cmake_args_qtbase(d):
import re
rm_args = ['-DQT_HOST_PATH[^ ]*']
args = d.getVar('EXTRA_OECMAKE')
for arg in rm_args:
args = re.sub(arg, '', args)
return args
FILES:${PN}-dev += "${datadir}/conan"

View File

@ -0,0 +1,12 @@
require recipes-qt/qt6/qtwebengine.inc
inherit native
OECMAKE_SOURCEPATH = "${S}/src/gn"
OECMAKE_TARGET_COMPILE = "gn"
cmake_do_install() {
eval DESTDIR='${D}' ${CMAKE_VERBOSE} cmake --install '${B}'
}
INSANE_SKIP:${PN} += "already-stripped"

111
recipes-qt/qt6/gn-utils.inc Normal file
View File

@ -0,0 +1,111 @@
# GN host architecture helpers.
#
# BUILD_ARCH's value corresponds to what uname returns as the machine name.
# The mapping in gn_host_arch_name() tries to match several possible values
# returned by the Linux kernel in uname(2) into the corresponding values GN
# understands.
def gn_host_arch_name(d):
"""Returns a GN architecture name corresponding to the build host's machine
architecture."""
import re
arch_translations = {
r'aarch64.*': 'arm64',
r'arm.*': 'arm',
r'i[3456]86$': 'x86',
r'x86_64$': 'x64',
}
build_arch = d.getVar("BUILD_ARCH")
for arch_regexp, gn_arch_name in arch_translations.items():
if re.match(arch_regexp, build_arch):
return gn_arch_name
bb.fatal('Unsuported BUILD_ARCH value: "%s"' % build_arch)
# GN target architecture helpers.
#
# Determining the target architecture is more difficult, as there are many
# different values we can use on the Yocto side (e.g. TUNE_ARCH, TARGET_ARCH,
# MACHINEOVERRIDES etc). What we do is define the mapping with regular,
# non-Python variables with overrides that are generic enough (i.e. "x86"
# instead of "i586") and then use gn_target_arch_name() to return the right
# value with some validation.
GN_TARGET_ARCH_NAME:aarch64 = "arm64"
GN_TARGET_ARCH_NAME:arm = "arm"
GN_TARGET_ARCH_NAME:x86 = "x86"
GN_TARGET_ARCH_NAME:x86-64 = "x64"
def clang_install_path(d):
"""Return clang compiler install path."""
return d.getVar("STAGING_BINDIR_NATIVE")
def gn_target_arch_name(d):
"""Returns a GN architecture name corresponding to the target machine's
architecture."""
name = d.getVar("GN_TARGET_ARCH_NAME")
if name is None:
bb.fatal('Unsupported target architecture. A valid override for the '
'GN_TARGET_ARCH_NAME variable could not be found.')
return name
def write_toolchain_file(d, file_path):
"""Creates a complete GN toolchain file in |file_path|."""
import string
# Even though we always use clang, the "clang_toolchain" GN template is too
# restrictive in the way it sets variables such as |cxx|. Since it is just
# a wrapper on top of the "gcc_toolchain" template, we keep using the
# latter directly to accommodate our cross-compilation needs.
toolchain_tmpl = string.Template(
'gcc_toolchain("${toolchain_name}") {\n'
' cc = "${cc}"\n'
' cxx = "${cxx}"\n'
' ar = "${ar}"\n'
' ld = cxx # GN expects a compiler, not a linker.\n'
' nm = "${nm}"\n'
' readelf = "${readelf}"\n'
' extra_cflags = "${extra_cflags}"\n'
' extra_cppflags = "${extra_cppflags}"\n'
' extra_cxxflags = "${extra_cxxflags}"\n'
' extra_ldflags = "${extra_ldflags}"\n'
' toolchain_args = {\n'
' current_cpu = "${current_cpu}"\n'
' current_os = "linux"\n'
' is_clang = false\n'
' }\n'
'}\n'
)
native_toolchain = {
'toolchain_name': 'yocto_native',
'current_cpu': gn_host_arch_name(d),
'cc': d.expand('${BUILD_CC}'),
'cxx': d.expand('${BUILD_CXX}'),
'ar': d.expand('${BUILD_AR}'),
'nm': d.expand('${BUILD_NM}'),
'readelf': d.expand('${BUILD_PREFIX}readelf'),
'extra_cflags': d.expand('${BUILD_CFLAGS}'),
'extra_cppflags': d.expand('${BUILD_CPPFLAGS}'),
'extra_cxxflags': d.expand('${BUILD_CXXFLAGS}'),
'extra_ldflags': d.expand('${BUILD_LDFLAGS}'),
}
target_toolchain = {
'toolchain_name': 'yocto_target',
'current_cpu': gn_target_arch_name(d),
'cc': d.expand('${CC}'),
'cxx': d.expand('${CXX}'),
'ar': d.expand('${AR}'),
'nm': d.expand('${NM}'),
'readelf': d.expand('${TARGET_PREFIX}readelf'),
'extra_cflags': d.expand('${TARGET_CFLAGS}'),
'extra_cppflags': d.expand('${TARGET_CPPFLAGS}'),
'extra_cxxflags': d.expand('${TARGET_CXXFLAGS}'),
'extra_ldflags': d.expand('${TARGET_LDFLAGS}'),
}
with open(file_path, 'w') as toolchain_file:
toolchain_file.write(
'# This file has been generated automatically.\n'
'\n'
'import("//build/toolchain/gcc_toolchain.gni")\n'
'\n'
)
toolchain_file.write(toolchain_tmpl.substitute(native_toolchain))
toolchain_file.write(toolchain_tmpl.substitute(target_toolchain))

View File

@ -0,0 +1,16 @@
LICENSE = "The-Qt-Company-Commercial"
LIC_FILES_CHKSUM = " \
file://src/qmlcompilerplus/cppcodegen_p.h;endline=27;md5=6a1dccd03d0d5864357e72b67def8ff2 \
"
inherit qt6-cmake
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6.inc
include recipes-qt/qt6/qt6-commercial.inc
DEPENDS += "qtbase qtdeclarative qtdeclarative-native qmlcompilerplus-native"
PTEST_ENABLED = "0"
BBCLASSEXTEND = "native nativesdk"

View File

@ -1,8 +1,10 @@
LICENSE = "BSD-3-Clause & ( GFDL-1.3 & BSD & ( LGPL-3.0 | GPL-2.0 ) | The-Qt-Company-Commercial )"
LICENSE = "BSD-3-Clause & ( GFDL-1.3 & BSD-3-Clause & ( GPL-3.0-only & The-Qt-Company-GPL-Exception-1.0 ) & ( GPL-2.0-or-later | LGPL-3.0-only ) | The-Qt-Company-Commercial )"
LIC_FILES_CHKSUM = " \
file://LICENSE.LGPLv3;md5=8211fde12cc8a4e2477602f5953f5b71 \
file://LICENSE.GPLv3;md5=88e2b9117e6be406b5ed6ee4ca99a705 \
file://LICENSE.GPL;md5=c96076271561b0e3785dad260634eaa8 \
file://LICENSE.GPL2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
file://LICENSE.GPL3;md5=d32239bcb673463ab874e80d47fae504 \
file://LICENSE.GPL3-EXCEPT;md5=763d8c535a234d9a3fb682c7ecb6c073 \
file://LICENSE.LGPL3;md5=e6a600fd5e1d9cbde2d983680233ad02 \
file://LICENSE.FDL;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
file://src/3rdparty/assimp/src/LICENSE;md5=d9d5275cab4fb13ae624d42ce64865de \
"
@ -12,20 +14,18 @@ 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=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=git/src/3rdparty/assimp/src \
"
DEPENDS = "qtbase qtdeclarative qtshadertools qtshadertools-native"
DEPENDS = "qtbase qtdeclarative qtdeclarative-native qtshadertools qtshadertools-native"
PACKAGECONFIG ?= "system-assimp"
PACKAGECONFIG[system-assimp] = "-DFEATURE_qt3d_system_assimp=ON,-DQT_FEATURE_qt3d_system_assimp=OFF,assimp"
PACKAGECONFIG[qtgamepad] = ",,qtgamepad"
SRCREV_FORMAT = "qt3d_assimp"
SRCREV_qt3d = "b4a6597ce8311e650f686c1c04ff2cf9800c2426"
SRCREV_assimp = "5a38cd0a03015ceabbd5bc6efb0730dde1ef74e5"
SRCREV_FORMAT = "qt3d_qt3d-assimp"

View File

@ -1,4 +1,4 @@
LICENSE = "GFDL-1.3 & BSD & ( GPL-3.0 & The-Qt-Company-GPL-Exception-1.0 ) & ( GPL-2.0+ | LGPL-3.0 ) | The-Qt-Company-Commercial"
LICENSE = "GFDL-1.3 & BSD-3-Clause & ( GPL-3.0-only & The-Qt-Company-GPL-Exception-1.0 ) & ( GPL-2.0-or-later | LGPL-3.0-only ) | The-Qt-Company-Commercial"
LIC_FILES_CHKSUM = " \
file://LICENSE.LGPL3;md5=e6a600fd5e1d9cbde2d983680233ad02 \
file://LICENSE.LGPLv3;md5=86d02ed8764e77c1c0b194fde895a51b \
@ -11,14 +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"
PACKAGECONFIG ?= "qml"
PACKAGECONFIG[iconv] = "-DFEATURE_iconv=ON,-DFEATURE_iconv=OFF,virtual/libiconv"
PACKAGECONFIG[qml] = ",,qtdeclarative"
PACKAGECONFIG[qml] = ",,qtdeclarative qtdeclarative-native"
BBCLASSEXTEND = "native nativesdk"
SRCREV = "cba913b2d8feae3efc6ed37f2d319eda6ec8ad7d"

View File

@ -0,0 +1,9 @@
python() {
if d.getVar('QT_EDITION') != 'commercial':
raise bb.parse.SkipRecipe('Available only with Commercial Qt')
}
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

@ -2,13 +2,60 @@ DESCRIPTION ?= "Qt is a cross-platform application development framework for des
HOMEPAGE ?= "https://www.qt.io"
QT_MODULE ?= "${BPN}"
QT_MODULE_BRANCH ?= "dev"
QT_MODULE_BRANCH_PARAM ?= "branch=${QT_MODULE_BRANCH}"
QT_MODULE_BRANCH ?= "6.2"
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}.git;name=${QT_MODULE};${QT_MODULE_BRANCH_PARAM};protocol=${QT_GIT_PROTOCOL}"
SRC_URI = "${QT_GIT}/${QT_GIT_PROJECT}/${QT_MODULE_REPO};name=${QT_MODULE};${QT_MODULE_BRANCH_PARAM};protocol=${QT_GIT_PROTOCOL}"
CVE_PRODUCT = "qt"
CVE_PRODUCT:append = " qt"
S = "${WORKDIR}/git"
PV = "6.2.0"
PV = "${QT_VERSION}"
SRCREV = "${SRCREV_${QT_MODULE}}"
SRCREV_tqtc-qmlcompilerplus = "95321d2c5ddcdfe0081e7b5d578de2970d70046f"
SRCREV_tqtc-qtinsighttracker = "d2ff8a524f415b6dac4f3fee5961b4744436f228"
SRCREV_qt3d = "0eb30b403ee7638c24251a1116455b739444471c"
SRCREV_qt3d-assimp = "c60a259fd35f09b8896b2920d48c436145914aae"
SRCREV_qt5compat = "d4641367e7987a0e96721c59baa188ff143df3c4"
SRCREV_qtbase = "d15a975ed751b8a5484a25a9036c90f97b053e1d"
SRCREV_qtapplicationmanager = "5a1b3b74f1eb51f9840b4b734462d6b27e8d33df"
SRCREV_qtcharts = "e1ef9fe82cb48eb2f1dd1bdd9d74c60f7813110a"
SRCREV_qtcoap = "c4dcf26dbbb0bf51211d55d64d69bd4976342fcb"
SRCREV_qtconnectivity = "52526726cfccb341c7e01e3fec964bbb2540fc85"
SRCREV_qtdatavis3d = "50f62d45aac231a636d822e9910073ce1844a2dd"
SRCREV_qtdeclarative = "5880b113a6dcd08cb84b542f86b9f6b90b626514"
SRCREV_qtdeviceutilities = "55ad100680f35c6011b06fd2ea1cfbef81e87d21"
SRCREV_qtimageformats = "c979e3aa3393e0b8c8243790c66304266e3ccc7f"
SRCREV_qtinterfaceframework = "75d2ee0e96c5941c6272b383d5bd650f80a037f9"
SRCREV_qtlottie = "2b88725c34e684c0a152d39f0160074322808abd"
SRCREV_qtmqtt = "d9eefc661841d21af9e450e16c2c8b55f095665f"
SRCREV_qtmultimedia = "38fcbcfadddc78d7b442541a43265b24932673f7"
SRCREV_qtnetworkauth = "acf745f8dbfe595195d6baf5f802b1b7774e0bc5"
SRCREV_qtopcua = "2928c5e530213c3379c6523ab30ec8c953ecb73c"
SRCREV_qtpositioning = "434b0697b4883d31200e4dfbfec7a73eed4bbbf6"
SRCREV_qtquick3d = "f574189be9f95150e6eb38af9dd851870225d403"
SRCREV_qtquick3d-assimp = "5a38cd0a03015ceabbd5bc6efb0730dde1ef74e5"
SRCREV_qtquickdesigner-components = "5683c8ae8fbf22755fd6e4fefe9db0714e49d892"
SRCREV_qtquicktimeline = "248a39c7475c31f0940d7669689dd8c31b87f1eb"
SRCREV_qtremoteobjects = "c1ccf030ec815ba63e0b52de1aa9106aaf683fe2"
SRCREV_qtscxml = "583ade083df85782d7c5a1cb8ae8e857050548a1"
SRCREV_qtsensors = "20704e8996a0b8c8f9e911c2a160844a0e09f4e0"
SRCREV_qtserialbus = "a41a54d4a8513cfdfad3121fb1beb8ec059a9a56"
SRCREV_qtserialport = "85aefdf573f493cd8cf555c4d546c08d2e502782"
SRCREV_qtshadertools = "90cf07c959c0084f417dfffb5114bb276432ea65"
SRCREV_qtsvg = "fad3fff872c7f8e5783549db906c0407a88c626d"
SRCREV_qttools = "44da00e46a4a2329927f7f6e1d2e58d1fbd8ba87"
SRCREV_qttools-qlitehtml = "4931b7aa30f256c20573d283561aa432fecf8f38"
SRCREV_qttools-qlitehtml-litehtml = "6236113734bb0a28467e5999e86fdd2834be8e01"
SRCREV_qttranslations = "c8eda2ddd06c1e735de8dd892aaacc4deccf8789"
SRCREV_qtvirtualkeyboard = "fb7986f581b029cb2f47563eeff3bad6b7081b41"
SRCREV_qtwayland = "8b1c03649445e9afcbadad751608d7006c547265"
SRCREV_qtwebchannel = "3519d388fb64dfa2404a0a73afb4f598e42534b7"
SRCREV_qtwebengine = "d82e573d693bb21398779216c06b335412a8bfa8"
SRCREV_qtwebengine-chromium = "524df60af8ebd0c35fb3d1cc5f53d5ddf442a95e"
SRCREV_qtwebsockets = "2f51931eff2c8588b1ec94f70419787c9954d0f1"
SRCREV_qtwebview = "e2ceb38bc8d2969420e06bf945f99b789b2d10f1"

View File

@ -0,0 +1,5 @@
QT_GIT = "${QT_COMMERCIAL_GIT}"
QT_GIT_PROTOCOL = "${QT_COMMERCIAL_GIT_PROTOCOL}"
QT_MODULE_REPO = "tqtc-${QT_MODULE}.git"
QT_MODULE_BRANCH := "tqtc/lts-${QT_MODULE_BRANCH}"

View File

@ -1,9 +1,21 @@
FILESEXTRAPATHS_append := ":${THISDIR}/ptest"
FILESEXTRAPATHS:append := ":${THISDIR}/ptest"
SRC_URI += "file://run-ptest"
inherit ptest
QT_PTEST_ENABLED ?= "${@bb.utils.contains('DISTRO_FEATURES', 'ptest', '1', '0', d)}"
PTEST_ENABLED = "${QT_PTEST_ENABLED}"
DEBUG_PREFIX_MAP += "\
-fmacro-prefix-map=${D}= \
"
fakeroot do_install_ptest() {
cat >${WORKDIR}/toolchain-ptest.cmake <<EOF
include(${WORKDIR}/toolchain.cmake)
list(PREPEND CMAKE_FIND_ROOT_PATH ${D})
EOF
if [ -n "${OE_QMAKE_QMAKE}" ]; then
# qmake project
B_PTEST=${B}
@ -18,11 +30,13 @@ fakeroot do_install_ptest() {
cd ${B_PTEST}
cmake \
${OECMAKE_GENERATOR_ARGS} \
-DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \
-DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain-ptest.cmake \
-DPython3_EXECUTABLE=${PYTHON} \
${EXTRA_OECMAKE} \
-DQT_BUILD_STANDALONE_TESTS=ON \
-DQT_ADDITIONAL_PACKAGES_PREFIX_PATH="${D}${QT6_INSTALL_LIBDIR}/cmake;${RECIPE_SYSROOT}/${QT6_INSTALL_LIBDIR}/cmake" \
-DCMAKE_STAGING_PREFIX=${D}${prefix} \
-DCMAKE_SKIP_RPATH=ON \
-DQT_DISABLE_NO_DEFAULT_PATH_IN_QT_PACKAGES=ON \
${S} \
-Wno-dev
${CMAKE_VERBOSE} cmake --build ${B_PTEST} --target all
@ -48,4 +62,11 @@ fakeroot do_install_ptest() {
fi
}
INSANE_SKIP_${PN}-ptest += "file-rdeps"
INSANE_SKIP:${PN}-ptest += "file-rdeps"
PACKAGESPLITFUNCS =+ "remove_ptest_debug"
remove_ptest_debug() {
if [ -e ${PKGD}${QT6_INSTALL_LIBDIR}/${BPN}/ptest/tests/auto ]; then
find ${PKGD}${QT6_INSTALL_LIBDIR}/${BPN}/ptest/tests/auto -depth -type d -name .debug -exec rm -rf '{}' \;
fi
}

View File

@ -21,60 +21,65 @@ python __anonymous() {
d.setVar("PACKAGE_ARCH", tarch)
}
# Automotically add qtdeclarative-native when recipe depends on qtdeclarative
ENABLE_QMLCOMPILER ?= "${QT_COMMERCIAL_MODULES}"
python __anonymous() {
if bb.utils.contains('DEPENDS', "qtdeclarative", True, False, d):
d.appendVar("DEPENDS", " qtdeclarative-native")
if (d.getVar('QT_EDITION', True) != 'commercial' or
d.getVar('ENABLE_QMLCOMPILER', True) == '0' or
d.getVar('BPN', True) == 'qmlcompilerplus' or
d.getVar('CLASSOVERRIDE', True) != 'class-target'):
return
if bb.utils.contains('DEPENDS', "qtdeclarative-native", True, False, d):
d.appendVar("DEPENDS", " qmlcompilerplus-native")
}
# Many examples come with libraries installed outside of standard libdir,
# suppress QA check complaining
INSANE_SKIP_${PN}-dbg += "libdir"
INSANE_SKIP_${PN}-examples += "libdir dev-so"
INSANE_SKIP:${PN}-dbg += "libdir"
INSANE_SKIP:${PN}-examples += "libdir dev-so"
SYSROOT_DIRS_append_mingw32 = " ${QT6_INSTALL_BINDIR}"
SYSROOT_DIRS += "${QT6_INSTALL_BINDIR} ${QT6_INSTALL_LIBEXECDIR}"
PACKAGE_BEFORE_PN = "${PN}-qmlplugins ${PN}-tools ${PN}-plugins ${PN}-examples"
ALLOW_EMPTY_${PN} = "1"
ALLOW_EMPTY_${PN}-plugins = "1"
ALLOW_EMPTY_${PN}-qmlplugins = "1"
ALLOW_EMPTY:${PN} = "1"
ALLOW_EMPTY:${PN}-plugins = "1"
ALLOW_EMPTY:${PN}-qmlplugins = "1"
RRECOMMENDS_${PN} = " \
RRECOMMENDS:${PN} = " \
${PN}-plugins \
${PN}-qmlplugins \
"
RRECOMMENDS_${PN}_class-native = ""
RRECOMMENDS:${PN}:class-native = ""
RRECOMMENDS_${PN}-dev += " \
RRECOMMENDS:${PN}-dev += " \
${PN}-staticdev \
"
FILES_${PN}-qmlplugins = " \
FILES:${PN}-qmlplugins = " \
${QT6_INSTALL_QMLDIR} \
"
FILES_${PN}-tools = " \
FILES:${PN}-tools = " \
${QT6_INSTALL_BINDIR} \
${QT6_INSTALL_LIBEXECDIR} \
"
FILES_${PN}-plugins = " \
FILES:${PN}-plugins = " \
${QT6_INSTALL_PLUGINSDIR}/*/*${SOLIBSDEV} \
${QT6_INSTALL_PLUGINSDIR}/*/*/*${SOLIBSDEV} \
${QT6_INSTALL_PLUGINSDIR}/*/*/*/*${SOLIBSDEV} \
"
FILES_${PN}-plugins_mingw32 = " \
FILES:${PN}-plugins:mingw32 = " \
${QT6_INSTALL_PLUGINSDIR}/*/*.dll \
${QT6_INSTALL_PLUGINSDIR}/*/*/*.dll \
${QT6_INSTALL_PLUGINSDIR}/*/*/*/*.dll \
"
FILES_${PN} += " \
FILES:${PN} += " \
${QT6_INSTALL_LIBDIR}/lib*${SOLIBS} \
"
FILES_${PN}-dev += " \
FILES:${PN}-dev += " \
${QT6_INSTALL_DESCRIPTIONSDIR} \
${QT6_INSTALL_DOCDIR} \
${QT6_INSTALL_INCLUDEDIR} \
@ -85,12 +90,17 @@ FILES_${PN}-dev += " \
${QT6_INSTALL_LIBDIR}/metatypes \
${QT6_INSTALL_LIBDIR}/pkgconfig \
${QT6_INSTALL_MKSPECSDIR} \
${QT6_INSTALL_QMLDIR}/*.qmltypes \
${QT6_INSTALL_QMLDIR}/*/*.qmltypes \
${QT6_INSTALL_QMLDIR}/*/*/*.qmltypes \
${QT6_INSTALL_QMLDIR}/*/*/*/*.qmltypes \
${QT6_INSTALL_QMLDIR}/*/*/*/*/*.qmltypes \
${QT6_INSTALL_QMLDIR}/*/designer \
${QT6_INSTALL_QMLDIR}/*/*/designer \
${QT6_INSTALL_QMLDIR}/*/*/*/designer \
"
FILES_${PN}-staticdev += " \
FILES:${PN}-staticdev += " \
${QT6_INSTALL_LIBDIR}/*.a \
${QT6_INSTALL_PLUGINSDIR}/*/*.a \
${QT6_INSTALL_PLUGINSDIR}/*/*.prl \
@ -105,6 +115,7 @@ FILES_${PN}-staticdev += " \
${QT6_INSTALL_QMLDIR}/*/*/*/*/*.a \
${QT6_INSTALL_QMLDIR}/*/*/*/*/*.prl \
${QT6_INSTALL_LIBDIR}/objects* \
${QT6_INSTALL_PLUGINSDIR}/*/objects* \
${QT6_INSTALL_QMLDIR}/*/objects*/ \
${QT6_INSTALL_QMLDIR}/*/*/objects*/ \
${QT6_INSTALL_QMLDIR}/*/*/*/objects*/ \
@ -112,7 +123,8 @@ FILES_${PN}-staticdev += " \
"
# Note: INSTALL_EXAMPLESDIR is not used
FILES_${PN}-examples = " \
FILES:${PN}-examples = " \
${QT6_INSTALL_EXAMPLESDIR} \
${prefix}/examples \
"
RDEPENDS:${PN}-examples = "${PN}"

View File

@ -0,0 +1,22 @@
DESCRIPTION = "Qt component for application lifecycle management"
LICENSE = "(GFDL-1.3 & The-Qt-Company-GPL-Exception-1.0 & (LGPL-3.0-only | GPL-2.0-or-later)) | The-Qt-Company-Commercial"
LIC_FILES_CHKSUM = "file://LICENSE.GPL3;md5=d32239bcb673463ab874e80d47fae504"
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"
RDEPENDS:${PN}:class-target = "libcrypto ${PN}-tools"
PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'multi-process', '', d)}"
PACKAGECONFIG[tools-only] = "-DFEATURE_am_tools_only=ON, -DFEATURE_am_tools_only=OFF"
PACKAGECONFIG[multi-process] = "-DFEATURE_am_multi_process=ON, -DFEATURE_am_multi_process=OFF, qtwayland qtwayland-native"
PACKAGECONFIG:class-native ??= "tools-only"
PACKAGECONFIG:class-nativesdk ??= "${PACKAGECONFIG:class-native}"
BBCLASSEXTEND = "nativesdk native"

View File

@ -0,0 +1,37 @@
From 54761cb9a05db79482cea138effc6d1c33125e99 Mon Sep 17 00:00:00 2001
From: Samuli Piippo <samuli.piippo@qt.io>
Date: Wed, 8 Sep 2021 09:31:15 +0300
Subject: [PATCH] tests: disable failing tests
Some of the tests fail to link with gold linker used.
Upstream-Status: Inappropriate [embedded specific]
---
tests/auto/gui/image/CMakeLists.txt | 2 +-
tests/auto/gui/math3d/CMakeLists.txt | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/auto/gui/image/CMakeLists.txt b/tests/auto/gui/image/CMakeLists.txt
index 14930536c9..2a506aa089 100644
--- a/tests/auto/gui/image/CMakeLists.txt
+++ b/tests/auto/gui/image/CMakeLists.txt
@@ -6,7 +6,7 @@ if(TARGET Qt::Network AND NOT ANDROID)
endif()
add_subdirectory(qicoimageformat)
add_subdirectory(qpixmap)
-add_subdirectory(qimage)
+#add_subdirectory(qimage)
add_subdirectory(qimageiohandler)
add_subdirectory(qimagewriter)
add_subdirectory(qmovie)
diff --git a/tests/auto/gui/math3d/CMakeLists.txt b/tests/auto/gui/math3d/CMakeLists.txt
index 11c50163ad..bc3ce532c8 100644
--- a/tests/auto/gui/math3d/CMakeLists.txt
+++ b/tests/auto/gui/math3d/CMakeLists.txt
@@ -1,5 +1,5 @@
# Generated from math3d.pro.
-add_subdirectory(qquaternion)
+#add_subdirectory(qquaternion)
add_subdirectory(qvectornd)
add_subdirectory(qmatrixnxn)

View File

@ -0,0 +1,47 @@
From e3f59a24add346248842a8f28971621469c9161f Mon Sep 17 00:00:00 2001
From: Samuli Piippo <samuli.piippo@qt.io>
Date: Thu, 16 Dec 2021 13:10:48 +0200
Subject: [PATCH] Fix qt.toolchain.cmake for SDK use
Set initial host path based on the location of the qt.toolchain.cmake file.
This helps us avoid need to relocate the file in SDK.
The calculated paths for QT_TOOLCHAIN_RELOCATABLE paths point to
host sysroot which must not be used when cross-compiling other projects.
Change-Id: I52aa2a10d2a13fd27d6bf8b4af6dc1833c7a286a
Upstream-Status: Inappropriate [embedded specific]
---
cmake/qt.toolchain.cmake.in | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/cmake/qt.toolchain.cmake.in b/cmake/qt.toolchain.cmake.in
index c565e923ff..a917c65d89 100644
--- a/cmake/qt.toolchain.cmake.in
+++ b/cmake/qt.toolchain.cmake.in
@@ -70,8 +70,8 @@ get_filename_component(QT_TOOLCHAIN_RELOCATABLE_CMAKE_DIR "${CMAKE_CURRENT_LIST_
# Instead of collapsing the search prefix (which is the case when one is a subdir of the other),
# it concatenates them creating an invalid path. Workaround it by setting the root path to the
# Qt install prefix, and the prefix path to the lib/cmake subdir.
-list(PREPEND CMAKE_PREFIX_PATH "${QT_TOOLCHAIN_RELOCATABLE_CMAKE_DIR}")
-list(PREPEND CMAKE_FIND_ROOT_PATH "${QT_TOOLCHAIN_RELOCATABLE_INSTALL_PREFIX}")
+#list(PREPEND CMAKE_PREFIX_PATH "${QT_TOOLCHAIN_RELOCATABLE_CMAKE_DIR}")
+#list(PREPEND CMAKE_FIND_ROOT_PATH "${QT_TOOLCHAIN_RELOCATABLE_INSTALL_PREFIX}")
# Let CMake load our custom platform modules.
# CMake-provided platform modules take precedence.
@@ -156,10 +156,10 @@ endif()
# Set up QT_HOST_PATH and do sanity checks.
# A host path is required when cross-compiling but optional when doing a native build.
set(__qt_toolchain_host_path_required "@qt_host_path_required@")
-set(__qt_toolchain_initial_qt_host_path
- "@qt_host_path_absolute@")
-set(__qt_toolchain_initial_qt_host_path_cmake_dir
- "@qt_host_path_cmake_dir_absolute@")
+get_filename_component(__qt_toolchain_initial_qt_host_path
+ "${CMAKE_CURRENT_LIST_DIR}/../../.." ABSOLUTE)
+get_filename_component(__qt_toolchain_initial_qt_host_path_cmake_dir
+ "${CMAKE_CURRENT_LIST_DIR}/../../../lib/cmake" ABSOLUTE)
# QT_HOST_PATH precedence:
# - cache variable / command line option

View File

@ -0,0 +1,28 @@
From 07f7e1ae76b24ba64cd87726c438638a8fa3eba0 Mon Sep 17 00:00:00 2001
From: Samuli Piippo <samuli.piippo@qt.io>
Date: Mon, 22 Aug 2022 15:01:28 +0300
Subject: [PATCH] testlib: don't track the build or source directories
Build tests without location of the build and sources directories.
Upstream-Status: Inappropriate [embedded specific]
Change-Id: I8d5add473623a3d9f481097649819c9fb906e4b2
---
src/testlib/CMakeLists.txt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/testlib/CMakeLists.txt b/src/testlib/CMakeLists.txt
index 03deb2edc9..972b366532 100644
--- a/src/testlib/CMakeLists.txt
+++ b/src/testlib/CMakeLists.txt
@@ -125,8 +125,8 @@ set(qt_tc_build_dir_def
"$<IF:${qt_bool_tc_build_dir},${qt_tc_build_dir},$<TARGET_PROPERTY:BINARY_DIR>>"
)
set_property(TARGET Test APPEND PROPERTY INTERFACE_COMPILE_DEFINITIONS
- QT_TESTCASE_BUILDDIR="${qt_tc_build_dir_def}"
- QT_TESTCASE_SOURCEDIR="$<TARGET_PROPERTY:SOURCE_DIR>"
+ QT_TESTCASE_BUILDDIR=""
+ QT_TESTCASE_SOURCEDIR=""
)
# special case begin

View File

@ -1,31 +1,42 @@
LICENSE = "GFDL-1.3 & BSD & ( GPL-3.0 & The-Qt-Company-GPL-Exception-1.0 ) & ( GPL-2.0+ | LGPL-3.0 ) | The-Qt-Company-Commercial"
LICENSE = "GFDL-1.3 & BSD-3-Clause & ( GPL-3.0-only & The-Qt-Company-GPL-Exception-1.0 ) & ( GPL-2.0-or-later | LGPL-3.0-only ) | The-Qt-Company-Commercial"
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://LICENSE.QT-LICENSE-AGREEMENT;md5=c8b6dd132d52c6e5a545df07a4e3e283 \
file://LICENSE.QT-LICENSE-AGREEMENT;md5=485e1d58b313def058a0d72598aa6efe \
"
inherit qt6-cmake
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-lts.inc
include recipes-qt/qt6/qt6.inc
include recipes-qt/qt6/conan.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://0003-tests-disable-failing-tests.patch \
file://0004-Fix-qt.toolchain.cmake-for-SDK-use.patch \
file://0005-testlib-don-t-track-the-build-or-source-directories.patch \
"
DEPENDS += "\
freetype \
pcre2 \
"
DEPENDS_remove_class-native = "qtbase-native"
DEPENDS:remove:class-native = "qtbase-native"
RDEPENDS_${PN}:remove:class-native = "libssl-native"
PACKAGECONFIG_class-native ?= "gui widgets png dbus no-opengl"
PACKAGECONFIG_class-nativesdk ?= "gui widgets png dbus no-opengl"
RRECOMMENDS:${PN}:append:class-target = " locale-base-c"
PACKAGECONFIG:class-native ?= "\
gui widgets jpeg png dbus no-opengl openssl zlib \
${@bb.utils.contains('BBFILE_COLLECTIONS', 'openembedded-layer', 'zstd', '', d)} \
"
PACKAGECONFIG:class-nativesdk ?= "${PACKAGECONFIG:class-native}"
PACKAGECONFIG ?= "\
${PACKAGECONFIG_DEFAULT} \
${PACKAGECONFIG_GRAPHICS} \
@ -39,7 +50,7 @@ PACKAGECONFIG ?= "\
PACKAGECONFIG_GRAPHICS ?= "\
${@bb.utils.filter('DISTRO_FEATURES', 'vulkan', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', \
bb.utils.contains('DISTRO_FEATURES', 'x11', 'gl', 'gles2', d), 'no-opengl', d)} \
bb.utils.contains('DISTRO_FEATURES', 'x11', 'gl', 'gles2 eglfs', d), 'no-opengl linuxfb', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'directfb', 'directfb', '', d)} \
"
PACKAGECONFIG_X11 ?= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xcb xkbcommon glib', '', d)}"
@ -48,10 +59,13 @@ PACKAGECONFIG_FONTS ?= ""
PACKAGECONFIG_SYSTEM ?= ""
PACKAGECONFIG_DISTRO ?= ""
PACKAGECONFIG_DEFAULT ?= "accessibility dbus udev gui widgets icu openssl \
jpeg png dbus libinput fontconfig harfbuzz \
jpeg png dbus libinput fontconfig harfbuzz zlib \
${@bb.utils.contains('SELECTED_OPTIMIZATION', '-Os', 'optimize-size ltcg', '', d)} \
${@bb.utils.contains('BBFILE_COLLECTIONS', 'openembedded-layer', 'zstd', '', d)} \
"
PACKAGECONFIG:remove:mingw32 = "openssl"
# Build type: Debug, Release, MinSizeRel, RelWithDebInfo
BUILD_TYPE ?= "Release"
# OpenSSL linking mode: runtime, linked
@ -64,10 +78,12 @@ QT_QPA_DEFAULT_PLATFORM ?= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xcb'
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"
PACKAGECONFIG[developer-build] = "-DFEATURE_developer_build=ON,-DFEATURE_developer_build=OFF"
PACKAGECONFIG[cups] = "-DFEATURE_cups=ON,-DFEATURE_cups=OFF,cups"
PACKAGECONFIG[dbus] = "-DFEATURE_dbus=ON,-DFEATURE_dbus=OFF,dbus"
PACKAGECONFIG[udev] = "-DFEATURE_libudev=ON,-DFEATURE_libudev=OFF,udev"
PACKAGECONFIG[zlib] = "-DFEATURE_system_zlib=ON,-DFEATURE_system_zlib=OFF,zlib"
PACKAGECONFIG[zstd] = "-DFEATURE_zstd=ON,-DFEATURE_zstd=OFF,zstd"
# corelib
@ -84,15 +100,17 @@ PACKAGECONFIG[fontconfig] = "-DFEATURE_fontconfig=ON,-DFEATURE_fontconfig=OFF,fo
PACKAGECONFIG[gbm] = "-DFEATURE_gbm=ON,-DFEATURE_gbm=OFF,virtual/libgbm"
PACKAGECONFIG[gl] = "-DFEATURE_opengl_desktop=ON,-DFEATURE_opengl_desktop=OFF,virtual/libgl"
PACKAGECONFIG[gles2] = "-DFEATURE_opengles2=ON,-DFEATURE_opengles2=OFF,virtual/libgles2 virtual/egl"
PACKAGECONFIG[eglfs] = "-DFEATURE_eglfs=ON,-DFEATURE_eglfs=OFF"
PACKAGECONFIG[harfbuzz] = "-DFEATURE_harfbuzz=ON,-DFEATURE_harfbuzz=OFF,harfbuzz"
PACKAGECONFIG[jpeg] = "-DFEATURE_jpeg=ON,-DFEATURE_jpeg=OFF,jpeg"
PACKAGECONFIG[kms] = "-DFEATURE_kms=ON,-DFEATURE_kms=OFF,drm virtual/egl"
PACKAGECONFIG[libinput] = "-DFEATURE_libinput=ON,-DFEATURE_libinput=OFF,libinput"
PACKAGECONFIG[linuxfb] = "-DFEATURE_linuxfb=ON,-DFEATURE_linuxfb=OFF"
PACKAGECONFIG[mtdev] = "-DFEATURE_mtdev=ON,-DFEATURE_mtdev=OFF,mtdev"
PACKAGECONFIG[no-opengl] = "-DINPUT_opengl=no"
PACKAGECONFIG[png] = "-DFEATURE_png=ON,-DFEATURE_png=OFF,libpng"
PACKAGECONFIG[tslib] = "-DFEATURE_tslib=ON,-DFEATURE_tslib=OFF,tslib"
PACKAGECONFIG[vulkan] = "-DFEATURE_vulkan=ON,-DFEATURE_vulkan=OFF,vulkan-headers vulkan-loader"
PACKAGECONFIG[vulkan] = "-DFEATURE_vulkan=ON,-DFEATURE_vulkan=OFF,vulkan-headers,vulkan-loader"
PACKAGECONFIG[xcb] = "-DFEATURE_xcb=ON,-DFEATURE_xcb=OFF,libxcb xcb-util-wm xcb-util-image xcb-util-keysyms xcb-util-renderutil"
PACKAGECONFIG[xkbcommon] = "-DFEATURE_xkbcommon=ON,-DFEATURE_xkbcommon=OFF,libxkbcommon,xkeyboard-config"
@ -109,26 +127,30 @@ PACKAGECONFIG[openssl] = "-DFEATURE_openssl_${OPENSSL_LINKING_MODE}=ON,-DFEATURE
# sqldrivers
PACKAGECONFIG[sql-mysql] = "-DFEATURE_sql_mysql=ON,-DFEATURE_sql_mysql=OFF,mysql5"
PACKAGECONFIG[sql-odbc] = "-DFEATURE_sql_odbc=ON,-DFEATURE_sql_odbc=OFF,unixodbc"
PACKAGECONFIG[sql-psql] = "-DFEATURE_sql_psql=ON,-DFEATURE_sql-psql=OFF,postgresql"
PACKAGECONFIG[sql-psql] = "-DFEATURE_sql_psql=ON,-DFEATURE_sql_psql=OFF,postgresql"
PACKAGECONFIG[sql-sqlite] = "-DFEATURE_system_sqlite=ON,-DFEATURE_sql_sqlite=OFF,sqlite3"
EXTRA_OECMAKE += "\
-DCMAKE_BUILD_TYPE=${BUILD_TYPE} \
-DQT_EDITION=${QT_EDITION} \
-DQT_AVOID_CMAKE_ARCHIVING_API=ON \
"
EXTRA_OECMAKE_append_class-target = "\
EXTRA_OECMAKE:append:class-target = "\
-DFEATURE_rpath=OFF \
-DQT_QPA_DEFAULT_PLATFORM=${QT_QPA_DEFAULT_PLATFORM} \
-DQT_AVOID_CMAKE_ARCHIVING_API=ON \
-DFEATURE_use_bfd_linker=ON \
${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', '-DFEATURE_use_gold_linker=ON', '-DFEATURE_use_bfd_linker=ON', d)} \
"
EXTRA_OECMAKE:append:mingw32 = "\
-DQT_GENERATE_WRAPPER_SCRIPTS_FOR_ALL_HOSTS=ON \
"
SYSROOT_DIRS += "${QT6_INSTALL_MKSPECSDIR}"
do_install_append() {
sed -i ${D}${libdir}/cmake/Qt6BuildInternals/QtBuildInternalsExtra.cmake \
do_install:append() {
sed -i ${D}${QT6_INSTALL_LIBDIR}/cmake/Qt6BuildInternals/QtBuildInternalsExtra.cmake \
-e '/QT_SOURCE_TREE/,+2d'
# remove mac and android specific scripts that depend on perl and bash
@ -137,17 +159,50 @@ do_install_append() {
rm -f ${D}${QT6_INSTALL_MKSPECSDIR}/features/uikit/devices.py
rm -f ${D}${QT6_INSTALL_MKSPECSDIR}/features/uikit/device_destinations.sh
rm -f ${D}${QT6_INSTALL_MKSPECSDIR}/features/data/mac/objc_namespace.sh
}
do_install_append_class-nativesdk() {
# 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
install -d ${D}${datadir}/cmake/OEToolchainConfig.cmake.d
cat > ${D}${datadir}/cmake/OEToolchainConfig.cmake.d/OEQt6Toolchain.cmake <<EOF
set(QT_HOST_PATH "\$ENV{OECORE_NATIVE_SYSROOT}/usr" CACHE PATH "")
set(QT_BUILD_TOOLS_WHEN_CROSSCOMPILING "TRUE" CACHE BOOL "")
set(QT_BUILD_INTERNALS_NO_FORCE_SET_INSTALL_PREFIX ON CACHE BOOL "")
EOF
RELPATH="${@os.path.relpath(d.getVar('bindir'), d.getVar('QT6_INSTALL_BINDIR'))}"
sed -i ${D}${QT6_INSTALL_BINDIR}/* \
-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('prefix') + '/share/cmake/Qt6Toolchain.cmake', d.getVar('QT6_INSTALL_LIBDIR') + '/cmake/Qt6')}
sed -i ${D}${QT6_INSTALL_LIBDIR}/cmake/Qt6/qt.toolchain.cmake \
-e "s|/.*/toolchain.cmake|\${CMAKE_CURRENT_LIST_DIR}/$RELPATH|"
}
do_install:append:class-target() {
sed >> ${D}${QT6_INSTALL_MKSPECSDIR}/linux-oe-g++/qmake.conf <<EOF \
-e 's: ${lcl_maybe_fortify}: :' \
-e 's:${DEBUG_PREFIX_MAP}::' \
-e 's:${RECIPE_SYSROOT}:$$[QT_SYSROOT]:' \
-e 's:${TARGET_PREFIX}:$$[QT_HOST_PREFIX]${bindir}/${TARGET_SYS}/${TARGET_PREFIX}:'
isEmpty(QMAKE_CC): {
QMAKE_AR = ${AR} cqs
QMAKE_AR_LTCG = ${HOST_PREFIX}gcc-ar cqs
QMAKE_STRIP = ${STRIP}
QMAKE_OBJCOPY = ${OBJCOPY}
QMAKE_CC = ${HOST_PREFIX}gcc
QMAKE_CFLAGS += ${TARGET_CC_ARCH}${TOOLCHAIN_OPTIONS}
QMAKE_CXX = ${HOST_PREFIX}g++
QMAKE_CXXFLAGS += ${TARGET_CC_ARCH}${TOOLCHAIN_OPTIONS}
QMAKE_LINK = ${HOST_PREFIX}g++
QMAKE_LFLAGS += ${TARGET_CC_ARCH}${TOOLCHAIN_OPTIONS} ${TARGET_LDFLAGS}
}
EOF
}
INSANE_SKIP_${PN}-ptest += "arch"
INSANE_SKIP:${PN}-ptest += "arch"
INHIBIT_PACKAGE_STRIP_FILES = "\
${PKGD}${PTEST_PATH}/tests/auto/corelib/plugin/qpluginloader/elftest/corrupt2.elf64.so \
${PKGD}${PTEST_PATH}/tests/auto/corelib/plugin/qpluginloader/elftest/corrupt3.elf64.so \
@ -156,4 +211,3 @@ INHIBIT_PACKAGE_STRIP_FILES = "\
BBCLASSEXTEND = "native nativesdk"
SRCREV = "9ef816e13a63c1932f3464119796bdbb07c7e893"

View File

@ -1,16 +1,18 @@
LICENSE = "GPL-3.0 | The-Qt-Company-Commercial"
LICENSE = "GFDL-1.3 & ( GPL-3.0-only & The-Qt-Company-GPL-Exception-1.0 ) | The-Qt-Company-Commercial"
LIC_FILES_CHKSUM = " \
file://LICENSE.GPL3;md5=d32239bcb673463ab874e80d47fae504 \
file://LICENSE.GPL3-EXCEPT;md5=763d8c535a234d9a3fb682c7ecb6c073 \
file://LICENSE.FDL;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
"
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"
PACKAGECONFIG ?= "qml"
PACKAGECONFIG[qml] = ",,qtdeclarative"
PACKAGECONFIG[qml] = ",,qtdeclarative qtdeclarative-native"
SRCREV = "282f9aa1a5ca6cf2c853f20018a8cd6671f2934f"

View File

@ -1,15 +1,17 @@
LICENSE = "GFDL-1.3 & BSD & GPL-3.0 | The-Qt-Company-Commercial"
LICENSE = "GFDL-1.3 & BSD-3-Clause & ( GPL-3.0-only & The-Qt-Company-GPL-Exception-1.0 ) | The-Qt-Company-Commercial"
LIC_FILES_CHKSUM = " \
file://LICENSE.GPL3;md5=d32239bcb673463ab874e80d47fae504 \
file://LICENSE.GPL3-EXCEPT;md5=763d8c535a234d9a3fb682c7ecb6c073 \
file://LICENSE.FDL;md5=f70ee9a6c44ae8917586fea34dff0ab5 \
"
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"
PACKAGECONFIG[examples] = "-DQT_BUILD_EXAMPLES=ON,-DQT_BUILD_EXAMPLES=OFF,qtdeclarative"
PACKAGECONFIG[examples] = "-DQT_BUILD_EXAMPLES=ON,-DQT_BUILD_EXAMPLES=OFF,qtdeclarative qtdeclarative-native"
SRCREV = "d2c1019b0cd5ef60aba81090fd5d19a8624028f3"

View File

@ -1,4 +1,4 @@
LICENSE = "GFDL-1.3 & BSD & ( GPL-3.0 & The-Qt-Company-GPL-Exception-1.0 ) & ( GPL-2.0+ | LGPL-3.0 ) | The-Qt-Company-Commercial"
LICENSE = "GFDL-1.3 & BSD-3-Clause & ( GPL-3.0-only & The-Qt-Company-GPL-Exception-1.0 ) & ( GPL-2.0-or-later | LGPL-3.0-only ) | The-Qt-Company-Commercial"
LIC_FILES_CHKSUM = " \
file://LICENSE.LGPL3;md5=e6a600fd5e1d9cbde2d983680233ad02 \
file://LICENSE.GPL2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
@ -10,14 +10,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
# QTBUG-93565
PTEST_ENABLED = "0"
DEPENDS += "qtbase qtdeclarative"
DEPENDS += "qtbase qtdeclarative qtdeclarative-native"
PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez', '', d)}"
PACKAGECONFIG[bluez] = "-DFEATURE_bluez=ON,-DFEATURE_bluez=OFF,bluez5"
SRCREV = "003ff2cb174747b7eee4f2e299bb72e629f202e2"

View File

@ -1,13 +1,15 @@
LICENSE = "GPL-3.0 | The-Qt-Company-Commercial"
LICENSE = "GFDL-1.3 & ( GPL-3.0-only & The-Qt-Company-GPL-Exception-1.0 ) | The-Qt-Company-Commercial"
LIC_FILES_CHKSUM = " \
file://LICENSE.GPL3;md5=d32239bcb673463ab874e80d47fae504 \
file://LICENSE.GPL3-EXCEPT;md5=763d8c535a234d9a3fb682c7ecb6c073 \
file://LICENSE.FDL;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
"
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"
DEPENDS += "qtbase qtdeclarative qtdeclarative-native"
SRCREV = "e0713ad6f89eac8a4e7cbb5adfaf4daf6a91ca3c"

View File

@ -1,4 +1,4 @@
LICENSE = "GFDL-1.3 & BSD & ( GPL-3.0 & The-Qt-Company-GPL-Exception-1.0 ) & ( GPL-2.0+ | LGPL-3.0 ) | The-Qt-Company-Commercial"
LICENSE = "GFDL-1.3 & BSD-3-Clause & ( GPL-3.0-only & The-Qt-Company-GPL-Exception-1.0 ) & ( GPL-2.0-or-later | LGPL-3.0-only ) | The-Qt-Company-Commercial"
LIC_FILES_CHKSUM = " \
file://LICENSE.LGPL3;md5=e6a600fd5e1d9cbde2d983680233ad02 \
file://LICENSE.GPL2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
@ -10,10 +10,10 @@ 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"
BBCLASSEXTEND = "native nativesdk"
SRCREV = "7fa28f98824a94396106eadfc028b329985a0cfc"

View File

@ -1,11 +1,11 @@
LICENSE = "GPL-3.0 | The-Qt-Company-Commercial"
LICENSE = "GPL-3.0-only | The-Qt-Company-Commercial"
LIC_FILES_CHKSUM = "file://LICENSE.GPL3;md5=d32239bcb673463ab874e80d47fae504"
inherit qt6-cmake
include recipes-qt/qt6/qt6.inc
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-lts.inc
DEPENDS = "qtbase qtdeclarative qtdeclarative-native qtvirtualkeyboard"
RDEPENDS_${PN} = "connman"
RDEPENDS:${PN} = "connman"
SRCREV = "10c59319e196f717e569a9a0bfc45ae73d88d1fd"

View File

@ -1,19 +1,16 @@
LICENSE = "GFDL-1.3 & BSD & ( GPL-3.0 & The-Qt-Company-GPL-Exception-1.0 ) & ( GPL-2.0+ | LGPL-3.0 ) | The-Qt-Company-Commercial"
LICENSE = "GFDL-1.3 & BSD-3-Clause & ( GPL-3.0-only & The-Qt-Company-GPL-Exception-1.0 ) & ( GPL-2.0-or-later | LGPL-3.0-only ) | The-Qt-Company-Commercial"
LIC_FILES_CHKSUM = " \
file://LICENSE.LGPL3;md5=e6a600fd5e1d9cbde2d983680233ad02 \
file://LICENSE.LGPLv21;md5=4bfd28363f541b10d9f024181b8df516 \
file://LICENSE.LGPLv3;md5=e0459b45c5c4840b353141a8bbed91f0 \
file://LICENSE.GPL2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
file://LICENSE.GPL3;md5=d32239bcb673463ab874e80d47fae504 \
file://LICENSE.GPL3-EXCEPT;md5=763d8c535a234d9a3fb682c7ecb6c073 \
file://LICENSE.GPLv2;md5=c96076271561b0e3785dad260634eaa8 \
file://LICENSE.GPLv3;md5=88e2b9117e6be406b5ed6ee4ca99a705 \
file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e \
"
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"
@ -24,4 +21,3 @@ PACKAGECONFIG[mng] = "-DFEATURE_mng=ON,-DFEATURE_mng=OFF,libmng"
PACKAGECONFIG[tiff] = "-DFEATURE_tiff=ON,-DFEATURE_libtiff=OFF,tiff"
PACKAGECONFIG[webp] = "-DFEATURE_webp=ON,-DFEATURE_webp=OFF,libwebp"
SRCREV = "770e1e57197b2137db59605189dfa8d575ff343f"

View File

@ -0,0 +1,17 @@
LICENSE = "The-Qt-Company-Commercial"
LIC_FILES_CHKSUM = "file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187"
inherit qt6-cmake
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6.inc
include recipes-qt/qt6/qt6-commercial.inc
DEPENDS += "qtbase qtdeclarative qtdeclarative-native"
FILES:${PN} += "${QT6_INSTALL_DATADIR}/qtinsight"
# error: unexpected reloc 3 against global symbol qt_version_tag without base register
# in object file when generating a position-independent output file
QT_PTEST_ENABLED:x86 = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', '0', \
bb.utils.contains('DISTRO_FEATURES', 'ptest', '1', '0', d), d)}"

View File

@ -0,0 +1,35 @@
inherit systemd
SRC_URI += " \
file://ifmedia-simulation-server.service \
file://ifvehiclefunctions-simulation-server.service \
file://if-services.target \
file://simulation-server.conf \
"
do_install:append:class-target() {
install -m 0755 -d ${D}${systemd_unitdir}/system
install -m 0644 ${WORKDIR}/ifmedia-simulation-server.service ${D}${systemd_unitdir}/system/
install -m 0644 ${WORKDIR}/ifvehiclefunctions-simulation-server.service ${D}${systemd_unitdir}/system/
install -m 0644 ${WORKDIR}/if-services.target ${D}${systemd_unitdir}/system/
install -m 0755 -d ${D}${sysconfdir}
install -m 0755 ${WORKDIR}/simulation-server.conf ${D}${sysconfdir}/
}
SYSTEMD_PACKAGES = "${PN}-simulation"
SYSTEMD_SERVICE:${PN}-simulation = " \
ifmedia-simulation-server.service \
ifvehiclefunctions-simulation-server.service \
if-services.target \
"
PACKAGE_BEFORE_PN =+ "${PN}-simulation"
FILES:${PN}-simulation = " \
${QT6_INSTALL_BINDIR}/ifmedia-simulation-server \
${QT6_INSTALL_BINDIR}/ifvehiclefunctions-simulation-server \
${QT6_INSTALL_PLUGINSDIR}/interfaceframework/ \
${systemd_unitdir}/system \
${sysconfdir}/simulation-server.conf \
"
RRECOMMENDS:${PN} += "${PN}-simulation"

View File

@ -0,0 +1,3 @@
[Unit]
Description=Qt Interface Framework services
After=systemd-user-sessions.service

View File

@ -0,0 +1,13 @@
[Unit]
Description=ifmedia-simulation-server
PartOf=if-services.target
Before=if-services.target
[Service]
User=root
ExecStart=/usr/bin/ifmedia-simulation-server
Restart=on-failure
Environment=SERVER_CONF_PATH=/etc/simulation-server.conf
[Install]
WantedBy=if-services.target

View File

@ -0,0 +1,13 @@
[Unit]
Description=ifvehiclefunctions-simulation-server
PartOf=if-services.target
Before=if-services.target
[Service]
User=root
ExecStart=/usr/bin/ifvehiclefunctions-simulation-server
Restart=on-failure
Environment=SERVER_CONF_PATH=/etc/simulation-server.conf
[Install]
WantedBy=if-services.target

View File

@ -0,0 +1,8 @@
[remotesettings]
Registry=tcp://0.0.0.0:9999
[drivedata]
Registry=tcp://0.0.0.0:9998
[qtifmedia]
Registry=tcp://0.0.0.0:9997

View File

@ -0,0 +1,76 @@
DESCRIPTION = "Qt Interface Framework"
LICENSE = "(GFDL-1.3 & BSD-3-Clause & The-Qt-Company-GPL-Exception-1.0 & (LGPL-3.0-only | GPL-2.0-or-later)) | The-Qt-Company-Commercial"
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 \
"
inherit qt6-cmake
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-lts.inc
include recipes-qt/qt6/qt6.inc
python() {
if 'meta-python' not in d.getVar('BBFILE_COLLECTIONS').split():
raise bb.parse.SkipRecipe('Requires meta-python to be present.')
}
# Default build and package these
REFERENCE_API ?= "1"
SIMULATION_SUPPORT ?= "1"
include ${@bb.utils.contains('SIMULATION_SUPPORT', '1', 'qtinterfaceframework.inc', '', d)}
FILES:${PN}-dev += " \
${QT6_INSTALL_DATADIR}/ifcodegen-templates \
"
PACKAGE_BEFORE_PN =+ "${PN}-refapi-media"
FILES:${PN}-refapi-media = "\
${QT6_INSTALL_LIBDIR}/libQt6IfMedia.so.* \
${QT6_INSTALL_LIBDIR}/qml/QtInterfaceFramework/Media \
"
PACKAGE_BEFORE_PN =+ "${PN}-refapi-vehiclefuntions"
FILES:${PN}-refapi-vehiclefuntions = "\
${QT6_INSTALL_LIBDIR}/libQt6IfVehicleFunctions.so.* \
${QT6_INSTALL_LIBDIR}/qml/QtInterfaceFramework/VehicleFunctions \
"
DEPENDS += "qtbase qtinterfaceframework-native"
PRIVATE_LIBS:${PN}-examples = "libInstrumentCluster.so"
PACKAGECONFIG ?= "ifcodegen remoteobjects interfaceframework \
${PACKAGECONFIG_REFERENCE_API} \
${PACKAGECONFIG_SIMULATION} \
"
PACKAGECONFIG[taglib] = "-DFEATURE_taglib=ON,-DFEATURE_taglib=OFF,taglib"
PACKAGECONFIG[host-tools-only] = "-DFEATURE_host_tools_only=ON,-DFEATURE_host_tools_only=OFF"
PACKAGECONFIG[ifcodegen] = "-DFEATURE_ifcodegen=ON,-DFEATURE_ifcodegen=OFF,python3-qface,python3-qface"
PACKAGECONFIG[remoteobjects] = "-DFEATURE_remoteobjects=ON,-DFEATURE_remoteobjects=OFF,qtremoteobjects qtremoteobjects-native"
#interfaceframework only
PACKAGECONFIG[interfaceframework] = "-DFEATURE_interfaceframework=ON,-DFEATURE_interfaceframework=OFF"
# reference API's
PACKAGECONFIG[ifmedia] = "-DFEATURE_ifmedia=ON,-DFEATURE_ifmedia=OFF, qtmultimedia qtdeclarative"
PACKAGECONFIG[ifvehiclefunctions] = "-DFEATURE_ifvehiclefunctions=ON,-DFEATURE_ifvehiclefunctions=OFF, qtdeclarative"
PACKAGECONFIG_REFERENCE_API ?= "${@bb.utils.contains('REFERENCE_API', '1', 'ifvehiclefunctions ifmedia taglib', '', d)}"
# simulation support
PACKAGECONFIG[no-media-simulation] = "-DFEATURE_media_qtro_backend=OFF -DFEATURE_media_qtro_simulation_server=OFF -DFEATURE_media_simulation_backend=OFF -DFEATURE_tuner_simulation_backend=OFF"
PACKAGECONFIG[no-vehiclefuntions-simulation] = "-DFEATURE_vehiclefunctions_qtro_backend=OFF -DFEATURE_vehiclefunctions_qtro_simulation_server=OFF -DFEATURE_vehiclefunctions_simulation_backend=OFF"
PACKAGECONFIG_SIMULATION ?= "${@bb.utils.contains('SIMULATION_SUPPORT', '1', '', 'no-media-simulation no-vehiclefuntions-simulation', d)}"
PACKAGECONFIG:class-native ??= "interfaceframework ifcodegen host-tools-only remoteobjects"
PACKAGECONFIG:class-nativesdk ??= "${PACKAGECONFIG:class-native}"
BBCLASSEXTEND = "native nativesdk"

View File

@ -1,14 +1,15 @@
LICENSE = "(GPL-3.0 & The-Qt-Company-GPL-Exception-1.0) | The-Qt-Company-Commercial"
LICENSE = "GFDL-1.3 & ( GPL-3.0-only & The-Qt-Company-GPL-Exception-1.0 ) | The-Qt-Company-Commercial"
LIC_FILES_CHKSUM = " \
file://LICENSE.GPL3;md5=d32239bcb673463ab874e80d47fae504 \
file://LICENSE.GPL3-EXCEPT;md5=763d8c535a234d9a3fb682c7ecb6c073 \
file://LICENSE.FDL;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
"
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"
DEPENDS += "qtbase qtdeclarative qtdeclarative-native"
SRCREV = "6748a346438abc5f43bde3a0de33c0ee51f33f32"

View File

@ -1,16 +1,17 @@
LICENSE = "(GPL-3.0 & The-Qt-Company-GPL-Exception-1.0) | The-Qt-Company-Commercial"
LICENSE = "GFDL-1.3 & ( GPL-3.0-only & The-Qt-Company-GPL-Exception-1.0 ) | The-Qt-Company-Commercial"
LIC_FILES_CHKSUM = " \
file://LICENSE.GPL3;md5=d32239bcb673463ab874e80d47fae504 \
file://LICENSE.GPL3-EXCEPT;md5=763d8c535a234d9a3fb682c7ecb6c073 \
file://LICENSE.FDL;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
"
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"
PACKAGECONFIG[examples] = "-DQT_BUILD_EXAMPLES=ON,-DQT_BUILD_EXAMPLES=OFF,qtdeclarative qtwebsockets"
PACKAGECONFIG[examples] = "-DQT_BUILD_EXAMPLES=ON,-DQT_BUILD_EXAMPLES=OFF,qtdeclarative qtdeclarative-native qtwebsockets"
SRCREV = "e22417694d294c539120d8684d71d95a81bd2b40"

View File

@ -1,4 +1,4 @@
LICENSE = "GFDL-1.3 & BSD & ( GPL-3.0 & The-Qt-Company-GPL-Exception-1.0 ) & ( GPL-2.0+ | LGPL-3.0 ) | The-Qt-Company-Commercial"
LICENSE = "GFDL-1.3 & BSD-3-Clause & ( GPL-3.0-only & The-Qt-Company-GPL-Exception-1.0 ) & ( GPL-2.0-or-later | LGPL-3.0-only ) | The-Qt-Company-Commercial"
LIC_FILES_CHKSUM = " \
file://LICENSE.LGPL3;md5=e6a600fd5e1d9cbde2d983680233ad02 \
file://LICENSE.GPL2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
@ -10,16 +10,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
DEPENDS += "qtbase qtshadertools qtshadertools-native"
PACKAGECONFIG ?= "gstreamer qml"
PACKAGECONFIG[alsa] = "-DFEATURE_alsa=ON,-DFEATURE_alsa=OFF,alsa-lib"
PACKAGECONFIG[examples] = "-DQT_BUILD_EXAMPLES=ON,-DQT_BUILD_EXAMPLES=OFF,qtsvg"
PACKAGECONFIG[pulseaudio] = "-DFEATURE_pulseaudio=ON,-DFEATURE_pulseaudio=OFF,pulseaudio"
PACKAGECONFIG[gstreamer] = "-DFEATURE_gstreamer=ON,-DFEATURE_gstreamer=OFF,gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad"
PACKAGECONFIG[qml] = ",,qtdeclarative"
PACKAGECONFIG[qml] = ",,qtdeclarative qtdeclarative-native"
EXTRA_OECMAKE += "-DFEATURE_gpu_vivante=OFF"
SRCREV = "7d3e538096384ce996ec948068f8e7efa52e0868"

View File

@ -1,4 +1,4 @@
LICENSE = "BSD & ( GPL-3.0 & The-Qt-Company-GPL-Exception-1.0 ) | The-Qt-Company-Commercial"
LICENSE = "BSD-3-Clause & ( GPL-3.0-only & The-Qt-Company-GPL-Exception-1.0 ) | The-Qt-Company-Commercial"
LIC_FILES_CHKSUM = " \
file://LICENSE.GPL3;md5=d32239bcb673463ab874e80d47fae504 \
file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e \
@ -7,8 +7,8 @@ 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"
SRCREV = "5d840b0955aef9a46f44a8a0786e6026f8012ae3"

View File

@ -1,5 +1,9 @@
LICENSE = "( GFDL-1.3 & ( GPL-2.0+ | LGPL-3.0 ) | The-Qt-Company-Commercial ) & MPL-2.0 & CC0-1.0"
LICENSE = "( GFDL-1.3 & BSD-3-Clause & ( GPL-3.0-only & The-Qt-Company-GPL-Exception-1.0 ) & ( GPL-2.0-or-later | LGPL-3.0-only ) | The-Qt-Company-Commercial ) & MPL-2.0 & CC0-1.0"
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=f70ee9a6c44ae8917586fea34dff0ab5 \
file://LICENSE.GPLv2;md5=05832301944453ec79e40ba3c3cfceec \
file://LICENSE.LGPLv3;md5=c4fe8c6de4eef597feec6e90ed62e962 \
@ -8,11 +12,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
PACKAGECONFIG ?= "qml"
PACKAGECONFIG[qml] = ",,qtdeclarative"
PACKAGECONFIG[examples] = "-DQT_BUILD_EXAMPLES=ON,-DQT_BUILD_EXAMPLES=OFF,,qtquickcontrols2"
PACKAGECONFIG[qml] = ",,qtdeclarative qtdeclarative-native"
# src/3rdparty/open62541.pri adds -Wno-format, causing following error
# because -Wformat-security cannot be used together with -Wno-format
@ -21,4 +25,3 @@ SECURITY_STRINGFORMAT = ""
DEPENDS += "qtbase"
SRCREV = "4bf3a4f645e721fce6a4471bde8eed884319cccf"

View File

@ -1,26 +1,25 @@
LICENSE = "GFDL-1.3 & BSD & ( GPL-3.0 & The-Qt-Company-GPL-Exception-1.0 | The-Qt-Company-Commercial ) & ( GPL-2.0+ | LGPL-3.0 | The-Qt-Company-Commercial )"
LICENSE = "GFDL-1.3 & BSD-3-Clause & ( GPL-3.0-only & The-Qt-Company-GPL-Exception-1.0 | The-Qt-Company-Commercial ) & ( GPL-2.0-or-later | LGPL-3.0-only | The-Qt-Company-Commercial )"
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://LICENSE.GPLv3;md5=88e2b9117e6be406b5ed6ee4ca99a705 \
file://LICENSE.LGPLv3;md5=e0459b45c5c4840b353141a8bbed91f0 \
"
inherit qt6-cmake
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-lts.inc
include recipes-qt/qt6/qt6.inc
QT_MODULE = "qtlocation"
DEPENDS += "qtbase"
PACKAGECONFIG ?= "nmea qml"
PACKAGECONFIG[examples] = "-DQT_BUILD_EXAMPLES=ON,-DQT_BUILD_EXAMPLES=OFF,qtdeclarative,qtquickcontrols2"
PACKAGECONFIG[geoclue] = ",,,geoclue"
PACKAGECONFIG[gypsy] = "-DFEATURE_gypsy=ON,-DFEATURE_gypsy=OFF,gconf gypsy"
PACKAGECONFIG[nmea] = ",,qtserialport"
PACKAGECONFIG[qml] = ",,qtdeclarative"
PACKAGECONFIG[qml] = ",,qtdeclarative qtdeclarative-native"
SRCREV = "b201ceaedcf39e988a25bc16deed2fe095a1f93e"

View File

@ -1,30 +1,33 @@
LICENSE = "BSD-3-Clause & ( GFDL-1.3 & BSD & GPL-3.0 | The-Qt-Company-Commercial )"
LICENSE = "BSD-3-Clause & ( GFDL-1.3 & BSD-3-Clause & ( GPL-3.0-only & The-Qt-Company-GPL-Exception-1.0 ) | The-Qt-Company-Commercial )"
LIC_FILES_CHKSUM = " \
file://LICENSE.GPL3;md5=d32239bcb673463ab874e80d47fae504 \
file://LICENSE.GPL3-EXCEPT;md5=763d8c535a234d9a3fb682c7ecb6c073 \
file://LICENSE.FDL;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
file://src/3rdparty/assimp/src/LICENSE;md5=d9d5275cab4fb13ae624d42ce64865de \
"
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=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=git/src/3rdparty/assimp/src \
"
DEPENDS = "qtbase qtdeclarative qtshadertools qtshadertools-native qtquick3d-native"
BBCLASSEXTEND = "native nativesdk"
PACKAGECONFIG:class-target ?= "qtquicktimeline"
PACKAGECONFIG[qtquicktimeline] = ",,qtquicktimeline"
PACKAGECONFIG[system-assimp] = "-DFEATURE_system_assimp=ON,-DFEATURE_system_assimp=OFF,assimp"
FILES_${PN}-qmlplugins += " \
FILES:${PN}-qmlplugins += " \
${QT6_INSTALL_QMLDIR}/QtQuick3D/Helpers/meshes/*.mesh \
"
SRCREV_FORMAT = "qtquick3d_assimp"
SRCREV_qtquick3d = "7c817ba5423e98af3635c3b6a3d5741379bcd796"
SRCREV_assimp = "5a38cd0a03015ceabbd5bc6efb0730dde1ef74e5"
SRCREV_FORMAT = "qtquick3d_qtquick3d-assimp"

View File

@ -1,15 +0,0 @@
LICENSE = "GFDL-1.3 & BSD & ( LGPL-3.0 | GPL-3.0 ) | The-Qt-Company-Commercial"
LIC_FILES_CHKSUM = " \
file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e \
file://LICENSE.LGPLv3;md5=382747d0119037529ec2b98b24038eb0 \
file://LICENSE.GPLv3;md5=dce746aa5261707df6d6999ab9958d8b \
"
inherit qt6-cmake
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6.inc
DEPENDS = "qtbase qtdeclarative"
SRCREV = "fb6baf03faf1ffdda5917b9daa9e9ed0f821fa8a"

View File

@ -1,9 +1,9 @@
LICENSE = "GPL-3.0 | The-Qt-Company-Commercial"
LICENSE = "GPL-3.0-only | The-Qt-Company-Commercial"
LIC_FILES_CHKSUM = " \
file://LICENSE.GPL3;md5=d32239bcb673463ab874e80d47fae504 \
"
inherit qt6-qmake
inherit qt6-cmake
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6.inc
@ -11,6 +11,5 @@ include recipes-qt/qt6/qt6.inc
QT_GIT_PROJECT = "qt-labs"
QT_MODULE_BRANCH = "dev"
DEPENDS += "qtbase qtdeclarative qtquickcontrols2"
DEPENDS += "qtbase qtdeclarative qtdeclarative-native"
SRCREV = "7524cdb4d7ffae0efdd8b6f7122e5d755ed9816b"

View File

@ -1,14 +1,15 @@
LICENSE = "GPL-2.0+ | The-Qt-Company-Commercial"
LICENSE = "GFDL-1.3 & BSD-3-Clause & ( GPL-3.0-only & The-Qt-Company-GPL-Exception-1.0 ) | The-Qt-Company-Commercial"
LIC_FILES_CHKSUM = " \
file://LICENSE.GPL2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
file://LICENSE.GPL3;md5=d32239bcb673463ab874e80d47fae504 \
"
file://LICENSE.GPL3-EXCEPT;md5=763d8c535a234d9a3fb682c7ecb6c073 \
file://LICENSE.FDL;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
"
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"
DEPENDS = "qtbase qtdeclarative qtdeclarative-native"
SRCREV = "c5a22d0b92856bf975d01296444c4cd2aef878b3"

View File

@ -1,18 +1,19 @@
LICENSE = "BSD & ( GPL-3.0 & The-Qt-Company-GPL-Exception-1.0 ) & ( GPL-2.0+ | LGPL-3.0 ) | The-Qt-Company-Commercial"
LICENSE = "GFDL-1.3 & BSD-3-Clause & ( GPL-3.0-only & The-Qt-Company-GPL-Exception-1.0 ) & ( GPL-2.0-or-later | LGPL-3.0-only ) | The-Qt-Company-Commercial"
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.LGPL3;md5=e6a600fd5e1d9cbde2d983680233ad02 \
file://LICENSE.FDL;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
"
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"
SRCREV = "dfba0948911aecd5723c04b0bd80af19ad95bea0"
BBCLASSEXTEND += "native nativesdk"

View File

@ -1,6 +1,8 @@
LICENSE = "LGPL-3.0 & BSD & ( GPL-3.0 & The-Qt-Company-GPL-Exception-1.0 ) | The-Qt-Company-Commercial"
LICENSE = "GFDL-1.3 & BSD-3-Clause & ( GPL-3.0-only & The-Qt-Company-GPL-Exception-1.0 ) & ( GPL-2.0-or-later | LGPL-3.0-only ) | The-Qt-Company-Commercial"
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 \
"
@ -8,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"
@ -17,4 +20,3 @@ PACKAGECONFIG[qml] = ",,qtdeclarative qtdeclarative-native"
BBCLASSEXTEND = "native nativesdk"
SRCREV = "805eb53f97b0eb3ee71ada360c56cca10dc827bf"

View File

@ -1,4 +1,4 @@
LICENSE = "GFDL-1.3 & BSD & ( GPL-3.0 & The-Qt-Company-GPL-Exception-1.0 ) & ( GPL-2.0+ | LGPL-3.0 ) | The-Qt-Company-Commercial"
LICENSE = "GFDL-1.3 & BSD-3-Clause & ( GPL-3.0-only & The-Qt-Company-GPL-Exception-1.0 ) & ( GPL-2.0-or-later | LGPL-3.0-only ) | The-Qt-Company-Commercial"
LIC_FILES_CHKSUM = " \
file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e \
file://LICENSE.GPL2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
@ -10,8 +10,8 @@ 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"
DEPENDS += "qtbase qtdeclarative qtdeclarative-native"
SRCREV = "ae82c50ca7fd5e356a736467e660acd976ec2e25"

View File

@ -1,4 +1,4 @@
LICENSE = "GFDL-1.3 & (LGPL-3.0 | GPL-2.0+) | The-Qt-Company-Commercial"
LICENSE = "GFDL-1.3 & (LGPL-3.0-only | GPL-2.0-or-later) | The-Qt-Company-Commercial"
LIC_FILES_CHKSUM = " \
file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e \
file://LICENSE.GPLv2;md5=c96076271561b0e3785dad260634eaa8 \
@ -9,10 +9,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 qtserialport qtserialbus-native"
DEPENDS += "qtbase"
BBCLASSEXTEND = "native nativesdk"
PACKAGECONFIG ?= "modbus-serialport \
${@bb.utils.contains('BBFILE_COLLECTIONS', 'openembedded-layer', 'socketcan', '', d)} \
"
PACKAGECONFIG:class-native = ""
PACKAGECONFIG:class-nativesdk = ""
SRCREV = "60b78e570bbd4645eb490391c53121a55a5d0e34"
PACKAGECONFIG[modbus-serialport] = "-DFEATURE_modbus_serialport=ON,-DFEATURE_modbus_serialport=OFF,qtserialport"
PACKAGECONFIG[socketcan] = "-DFEATURE_socketcan=ON,-DFEATURE_socketcan=OFF,,libsocketcan"

View File

@ -1,4 +1,4 @@
LICENSE = "GFDL-1.3 & BSD & ( GPL-3.0 & The-Qt-Company-GPL-Exception-1.0 ) & ( GPL-2.0+ | LGPL-3.0 ) | The-Qt-Company-Commercial"
LICENSE = "GFDL-1.3 & BSD-3-Clause & ( GPL-3.0-only & The-Qt-Company-GPL-Exception-1.0 ) & ( GPL-2.0-or-later | LGPL-3.0-only ) | The-Qt-Company-Commercial"
LIC_FILES_CHKSUM = " \
file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e \
file://LICENSE.GPL2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
@ -10,10 +10,10 @@ 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"
SRCREV = "7f1f85a0f1e3a74d092dbe8fe87d0ef4291c985b"

View File

@ -1,4 +1,4 @@
LICENSE = "GFDL-1.3 & BSD & GPL-3.0 | The-Qt-Company-Commercial"
LICENSE = "GFDL-1.3 & BSD-3-Clause & GPL-3.0-only | The-Qt-Company-Commercial"
LIC_FILES_CHKSUM = " \
file://LICENSE.GPL3;md5=d32239bcb673463ab874e80d47fae504 \
"
@ -6,10 +6,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 qtshadertools-native"
DEPENDS:append:class-native = " spirv-tools-native"
RDEPENDS:${PN}-tools = "spirv-tools"
RDEPENDS:${PN}-tools:remove:mingw32 = "spirv-tools"
BBCLASSEXTEND = "native nativesdk"
SRCREV = "efa8993718f90775aa6097ab1f0fd3cd5ed1ac91"

View File

@ -1,16 +0,0 @@
LICENSE = "GFDL-1.3 & (LGPL-3.0 | GPL-2.0+) | The-Qt-Company-Commercial"
LIC_FILES_CHKSUM = " \
file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e \
file://LICENSE.GPLv2;md5=05832301944453ec79e40ba3c3cfceec \
file://LICENSE.LGPLv3;md5=c4fe8c6de4eef597feec6e90ed62e962 \
"
inherit qt6-qmake
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6.inc
DEPENDS += "qtbase"
SRCREV = "462c3384467cec55a31fde11afb959321063a0ce"

View File

@ -1,16 +1,17 @@
LICENSE = "GFDL-1.3 & BSD & ( GPL-3.0 & The-Qt-Company-GPL-Exception-1.0 ) & ( GPL-2.0+ | LGPL-3.0 ) | The-Qt-Company-Commercial"
LICENSE = "GFDL-1.3 & BSD-3-Clause & ( GPL-3.0-only & The-Qt-Company-GPL-Exception-1.0 ) & ( GPL-2.0-or-later | LGPL-3.0-only ) | The-Qt-Company-Commercial"
LIC_FILES_CHKSUM = " \
file://LICENSE.LGPLv21;md5=4bfd28363f541b10d9f024181b8df516 \
file://LICENSE.LGPLv3;md5=e0459b45c5c4840b353141a8bbed91f0 \
file://LICENSE.GPLv3;md5=88e2b9117e6be406b5ed6ee4ca99a705 \
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 \
"
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"
SRCREV = "05bfdf690620cc1629088a6e0f77c9ff1c8bf7ca"

View File

@ -1,4 +1,4 @@
LICENSE = "GFDL-1.3 & BSD & ( GPL-3.0 & The-Qt-Company-GPL-Exception-1.0 ) & ( GPL-2.0+ | LGPL-3.0 ) | The-Qt-Company-Commercial"
LICENSE = "GFDL-1.3 & BSD-3-Clause & ( GPL-3.0-only & The-Qt-Company-GPL-Exception-1.0 ) & ( GPL-2.0-or-later | LGPL-3.0-only ) | The-Qt-Company-Commercial"
LIC_FILES_CHKSUM = " \
file://LICENSE.LGPL3;md5=e6a600fd5e1d9cbde2d983680233ad02 \
file://LICENSE.GPL2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
@ -10,21 +10,20 @@ 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=qlitehtml;branch=master;protocol=${QT_GIT_PROTOCOL};destsuffix=git/src/assistant/qlitehtml \
git://github.com/litehtml/litehtml.git;name=litehtml;branch=master;destsuffix=git/src/assistant/qlitehtml/src/3rdparty/litehtml \
${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 \
"
DEPENDS += "qtbase qtdeclarative qttools-native"
FILES_${PN}-tools += "${QT6_INSTALL_DATADIR}/phrasebooks"
PACKAGECONFIG[clang] = "-DFEATURE_clang=ON,-DFEATURE_clang=OFF,clang"
FILES:${PN}-tools += "${QT6_INSTALL_DATADIR}/phrasebooks"
BBCLASSEXTEND = "native nativesdk"
SRCREV_FORMAT = "qttools_qlitehtml_litehtml"
SRCREV_qttools = "528c81e88dd8d5070ea814ed124f89ce802fe3ad"
SRCREV_qlitehtml = "908670c5b68d3bcf4712019a028079b8b2042dd4"
SRCREV_litehtml = "2c033bff0ba2d93e5d58303523800d03c21903d4"
SRCREV_FORMAT = "qttools_qttools-qlitehtml_qttools-qlitehtml-litehtml"

View File

@ -1,4 +1,4 @@
LICENSE = "GPL-3.0 & The-Qt-Company-GPL-Exception-1.0 | The-Qt-Company-Commercial"
LICENSE = "GPL-3.0-only & The-Qt-Company-GPL-Exception-1.0 | The-Qt-Company-Commercial"
LIC_FILES_CHKSUM = " \
file://LICENSE.GPL3-EXCEPT;md5=763d8c535a234d9a3fb682c7ecb6c073 \
"
@ -6,13 +6,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 qttools qttools-native"
PACKAGES = "${PN}"
PACKAGES_DYNAMIC = "${PN}-*"
PACKAGESPLITFUNCS_prepend = "split_translation_packages "
PACKAGESPLITFUNCS:prepend = "split_translation_packages "
python split_translation_packages () {
do_split_packages(d, d.expand('${QT6_INSTALL_TRANSLATIONSDIR}'),
@ -22,7 +23,6 @@ python split_translation_packages () {
# Add dynamic packages to the rrecommends of the main packages
pn = d.getVar('PN')
pkgs = oe.utils.packages_filter_out_system(d)
d.setVar('RRECOMMENDS_' + pn, ' '.join(pkgs))
d.setVar('RRECOMMENDS:' + pn, ' '.join(pkgs))
}
SRCREV = "3d20d9e51b6f8b3dc3c41448866acc20dae7e54e"

View File

@ -1,11 +1,14 @@
LICENSE = "GPL-3.0 | The-Qt-Company-Commercial"
LICENSE = "GFDL-1.3 & ( GPL-3.0-only & The-Qt-Company-GPL-Exception-1.0 ) | The-Qt-Company-Commercial"
LIC_FILES_CHKSUM = " \
file://LICENSE.GPL3;md5=d32239bcb673463ab874e80d47fae504 \
file://LICENSE.GPL3-EXCEPT;md5=763d8c535a234d9a3fb682c7ecb6c073 \
file://LICENSE.FDL;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
"
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
@ -62,7 +65,6 @@ VKB_LANGUAGES ?= "\
PACKAGECONFIG ?= "${VKB_LANGUAGES} ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'desktop', '', d)}"
PACKAGECONFIG[examples] = "-DQT_BUILD_EXAMPLES=ON,-DQT_BUILD_EXAMPLES=OFF,qtquickcontrols2"
PACKAGECONFIG[desktop] = "-DFEATURE_vkb_desktop=ON,-DFEATURE_vkb_desktop=OFF"
PACKAGECONFIG[arrow-keynavigation] = "-DFEATURE_vkb_arrow_keynavigation=ON,-DFEATURE_vkb_arrow_keynavigation=OFF"
PACKAGECONFIG[hunspell] = "-DFEATURE_hunspell=ON,-DFEATURE_hunspell=OFF,hunspell"
@ -111,9 +113,8 @@ PACKAGECONFIG[lang-zh_CN] = "-DFEATURE_vkb_lang_zh_CN=ON,-DFEATURE_vkb_lang_zh_C
PACKAGECONFIG[lang-zh_TW] = "-DFEATURE_vkb_lang_zh_TW=ON,-DFEATURE_vkb_lang_zh_TW=OFF"
PACKAGES += "${PN}-dictionaries"
RRECOMMENDS_${PN} += "${PN}-dictionaries"
FILES_${PN}-dictionaries = "${QT6_INSTALL_DATADIR}/qtvirtualkeyboard/*/*.dat"
RRECOMMENDS:${PN} += "${PN}-dictionaries"
FILES:${PN}-dictionaries = "${QT6_INSTALL_DATADIR}/qtvirtualkeyboard/*/*.dat"
DEPENDS += "qtbase qtdeclarative qtsvg qtdeclarative-native"
SRCREV = "63a944ff12580f2c333a162ecaecd12419a39c10"

View File

@ -1,4 +1,4 @@
LICENSE = "GFDL-1.3 & BSD & ( GPL-3.0 & The-Qt-Company-GPL-Exception-1.0 ) & ( GPL-2.0+ | LGPL-3.0 ) | The-Qt-Company-Commercial"
LICENSE = "GFDL-1.3 & BSD-3-Clause & ( GPL-3.0-only & The-Qt-Company-GPL-Exception-1.0 ) & ( GPL-2.0-or-later | LGPL-3.0-only ) | The-Qt-Company-Commercial"
LIC_FILES_CHKSUM = " \
file://LICENSE.LGPL3;md5=e6a600fd5e1d9cbde2d983680233ad02 \
file://LICENSE.GPL2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
@ -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
SRC_URI +="\
@ -19,17 +20,13 @@ SRC_URI +="\
PACKAGECONFIG ?= "\
wayland-client \
wayland-server \
${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xcomposite-glx', '', d)} \
"
PACKAGECONFIG_class-native ?= ""
PACKAGECONFIG_class-nativesdk ?= ""
PACKAGECONFIG:class-native ?= ""
PACKAGECONFIG:class-nativesdk ?= ""
PACKAGECONFIG[wayland-client] = "-DFEATURE_wayland_client=ON,-DFEATURE_wayland_client=OFF,"
PACKAGECONFIG[wayland-server] = "-DFEATURE_wayland_server=ON,-DFEATURE_wayland_server=OFF,"
PACKAGECONFIG[xcomposite-egl] = "-DFEATURE_xcomposite_egl=ON,-DFEATURE_xcomposite_egl=OFF,libxcomposite"
PACKAGECONFIG[xcomposite-glx] = "-DFEATURE_xcomposite_glx=ON,-DFEATURE_xcomposite_glx=OFF,libxcomposite virtual/mesa"
PACKAGECONFIG[dmabuf-client-buffer] = "-DFEATURE_wayland_dmabuf_client_buffer=ON,-DFEATURE_wayland_dmabuf_client_buffer=OFF,libdrm"
PACKAGECONFIG[dmabuf-server-buffer] = "-DFEATURE_wayland_dmabuf_server_buffer=ON,-DFEATURE_wayland_dmabuf_server_buffer=OFF,libdrm"
@ -37,4 +34,3 @@ DEPENDS += "qtbase qtdeclarative qtwayland-native wayland wayland-native"
BBCLASSEXTEND = "native nativesdk"
SRCREV = "e2df5571613f09248d26c57ccab19f85286ab6d1"

View File

@ -1,4 +1,4 @@
LICENSE = "GFDL-1.3 & BSD & ( GPL-3.0 & The-Qt-Company-GPL-Exception-1.0 ) & ( GPL-2.0+ | LGPL-3.0 ) | The-Qt-Company-Commercial"
LICENSE = "GFDL-1.3 & BSD-3-Clause & ( GPL-3.0-only & The-Qt-Company-GPL-Exception-1.0 ) & ( GPL-2.0-or-later | LGPL-3.0-only ) | The-Qt-Company-Commercial"
LIC_FILES_CHKSUM = " \
file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e \
file://LICENSE.GPL2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
@ -10,12 +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"
PACKAGECONFIG ?= "qml"
PACKAGECONFIG[examples] = "-DQT_BUILD_EXAMPLES=ON,-DQT_BUILD_EXAMPLES=OFF,qtdeclarative qtwebsockets"
PACKAGECONFIG[qml] = ",,qtdeclarative"
PACKAGECONFIG[examples] = "-DQT_BUILD_EXAMPLES=ON,-DQT_BUILD_EXAMPLES=OFF,qtwebsockets"
PACKAGECONFIG[qml] = ",,qtdeclarative qtdeclarative-native"
SRCREV = "2daa001e1e9b1dc50a28e6ac20b1eb900e8b68d6"

View File

@ -0,0 +1,42 @@
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/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://LICENSE.Chromium;md5=d64fde5d347c3a68afe70f5e2e31fe83 \
"
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
# we don't want gettext.bbclass to append --enable-nls
def gettext_oeconf(d):
return ""
QT_MODULE = "qtwebengine"
QT_MODULE_BRANCH_CHROMIUM = "108-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 \
file://0001-CMake-use-generated-yocto-toolchains.patch \
file://0002-Enable-examples.patch \
"
SRC_URI += " \
file://chromium/0001-v8-qemu-wrapper.patch;patchdir=src/3rdparty \
file://chromium/0002-chromium-workaround-for-too-long-.rps-file-name.patch;patchdir=src/3rdparty \
"
SRCREV_FORMAT = "qtwebengine_qtwebengine-chromium"

View File

@ -0,0 +1,63 @@
From c480cd09ed0297975f533c538faf26c7d4fcbe48 Mon Sep 17 00:00:00 2001
From: Samuli Piippo <samuli.piippo@qt.io>
Date: Wed, 18 Aug 2021 15:09:41 +0300
Subject: [PATCH] CMake: use generated yocto toolchains
Bitbake knows how to generate working toolchains, use those instead of
ones done by webengine. No need to use separate host pkg-wrapper with
these toolchain. No need to do separate host build, we'll use the
target binaries where needed.
Upstream-Status: Inappropriate [embedded specific]
Change-Id: I217c9122144f25bb2d28717e7248c2a51b149127
---
cmake/Functions.cmake | 12 +++++-------
src/CMakeLists.txt | 2 +-
2 files changed, 6 insertions(+), 8 deletions(-)
diff --git a/cmake/Functions.cmake b/cmake/Functions.cmake
index b460dbbe8..98db2e52e 100644
--- a/cmake/Functions.cmake
+++ b/cmake/Functions.cmake
@@ -819,7 +819,7 @@ endfunction()
macro(create_pkg_config_host_wrapper buildDir)
find_package(PkgConfigHost)
- if(CMAKE_CROSSCOMPILING)
+ if(FALSE)
create_pkg_config_wrapper("${buildDir}/pkg-config-host_wrapper.sh" "${PKG_CONFIG_HOST_EXECUTABLE}")
set(PKG_CONFIG_HOST_EXECUTABLE "${buildDir}/pkg-config-host_wrapper.sh")
endif()
@@ -1055,15 +1055,13 @@ endmacro()
macro(append_toolchain_setup)
if(LINUX)
list(APPEND gnArgArg
- custom_toolchain="${buildDir}/target_toolchain:target"
- host_toolchain="${buildDir}/host_toolchain:host"
+ custom_toolchain="//build/toolchain/yocto:yocto_target"
+ host_toolchain="//build/toolchain/yocto:yocto_native"
+ v8_snapshot_toolchain="//build/toolchain/yocto:yocto_target"
)
get_gn_arch(cpu ${TEST_architecture_arch})
if(CMAKE_CROSSCOMPILING)
- list(APPEND gnArgArg
- v8_snapshot_toolchain="${buildDir}/v8_toolchain:v8"
- target_cpu="${cpu}"
- )
+ list(APPEND gnArgArg target_cpu="${cpu}")
else()
list(APPEND gnArgArg host_cpu="${cpu}")
endif()
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index a62252783..3b7e4975f 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -157,7 +157,7 @@ endif()
# HOST PROJECT
##
-if(CMAKE_CROSSCOMPILING AND NOT IOS AND NOT MACOS)
+if(FALSE)
if(NOT Gn_FOUND)
message(FATAL_ERROR "\nHost gn not found - cross compilation not possible")

View File

@ -0,0 +1,25 @@
From 221aefe4d8777f45955cb100dfc4c7204c885a19 Mon Sep 17 00:00:00 2001
From: Samuli Piippo <samuli.piippo@qt.io>
Date: Tue, 31 Aug 2021 18:27:48 +0300
Subject: [PATCH] Enable examples
The bug mentioned does not affect bitbake builds.
Change-Id: I076763d9241061f9cdb4d46bcd88e46bd4f783aa
---
examples/CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt
index ccad90e11..32cd6d69d 100644
--- a/examples/CMakeLists.txt
+++ b/examples/CMakeLists.txt
@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.16)
qt_examples_build_begin(EXTERNAL_BUILD)
-if(NOT CMAKE_CROSSCOMPILING) #QTBUG-86533
+if(TRUE) #QTBUG-86533
if(TARGET Qt::WebEngineCore)
add_subdirectory(webenginequick)
endif()

View File

@ -0,0 +1,65 @@
From 23d02fd87c766b6aef2a5aa81186b3db3f13b82a Mon Sep 17 00:00:00 2001
From: Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com>
Date: Tue, 7 Nov 2017 15:24:32 +0100
Subject: [PATCH] v8: qemu wrapper
The patch below makes the V8 binaries run during the build be invoked through
QEMU, as they are built for the target.
Upstream-Status: Inappropriate [embedder specific]
Signed-off-by: Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com>
Signed-off-by: Maksim Sisov <msisov@igalia.com>
---
chromium/tools/v8_context_snapshot/BUILD.gn | 1 +
chromium/v8/BUILD.gn | 4 ++++
2 files changed, 5 insertions(+)
diff --git a/chromium/tools/v8_context_snapshot/BUILD.gn b/chromium/tools/v8_context_snapshot/BUILD.gn
index d868696dbf2..298273818ef 100644
--- a/chromium/tools/v8_context_snapshot/BUILD.gn
+++ b/chromium/tools/v8_context_snapshot/BUILD.gn
@@ -72,6 +72,7 @@ if (use_v8_context_snapshot) {
output_path = rebase_path(output_file, root_build_dir)
args = [
+ "../../../../v8-qemu-wrapper.sh",
"./" + rebase_path(get_label_info(":v8_context_snapshot_generator",
"root_out_dir") +
"/v8_context_snapshot_generator",
diff --git a/chromium/v8/BUILD.gn b/chromium/v8/BUILD.gn
index 2f99c3d70b0..9b28cf2ed4c 100644
--- a/chromium/v8/BUILD.gn
+++ b/chromium/v8/BUILD.gn
@@ -1870,6 +1870,7 @@ template("run_torque") {
}
args = [
+ "../../../../v8-qemu-wrapper.sh",
"./" + rebase_path(
get_label_info(":torque($toolchain)", "root_out_dir") + "/torque",
root_build_dir),
@@ -2002,6 +2003,7 @@ action("generate_bytecode_builtins_list") {
outputs = [ "$target_gen_dir/builtins-generated/bytecodes-builtins-list.h" ]
deps = [ ":bytecode_builtins_list_generator($v8_generator_toolchain)" ]
args = [
+ "../../../../v8-qemu-wrapper.sh",
"./" + rebase_path(
get_label_info(
":bytecode_builtins_list_generator($v8_generator_toolchain)",
@@ -2047,6 +2049,7 @@ template("run_mksnapshot") {
data = []
args = [
+ "../../../../v8-qemu-wrapper.sh",
"./" + rebase_path(get_label_info(":mksnapshot($v8_snapshot_toolchain)",
"root_out_dir") + "/mksnapshot",
root_build_dir),
@@ -5849,6 +5852,7 @@ if (v8_enable_i18n_support) {
outputs = [ output_file ]
args = [
+ "../../../../v8-qemu-wrapper.sh",
"./" + rebase_path(
get_label_info(
":gen-regexp-special-case($v8_generator_toolchain)",

View File

@ -0,0 +1,42 @@
From 358e7b51c205521dc9eac8a8cf676412078fe014 Mon Sep 17 00:00:00 2001
From: Samuli Piippo <samuli.piippo@qt.io>
Date: Thu, 30 Mar 2017 11:37:24 +0300
Subject: [PATCH] chromium: workaround for too long .rps file name
Ninja may fail when the build directory is too long:
ninja: error: WriteFile(__third_party_WebKit_Source_bindings_modules_\
interfaces_info_individual_modules__home_qt_work_build_build-nitrogen\
6x_tmp_work_cortexa9hf-neon-mx6qdl-poky-linux-gnueabi_qtwebengine_5.9\
.0_gitAUTOINC_29afdb0a34_049134677a-r0_build_src_toolchain_target__ru\
le.rsp): Unable to create file. File name too long
Task-number: QTBUG-59769
Change-Id: I73c5e64ae5174412be2a675e35b0b6047f2bf4c1
---
gn/src/gn/ninja_action_target_writer.cc | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/gn/src/gn/ninja_action_target_writer.cc b/gn/src/gn/ninja_action_target_writer.cc
index 2ceac904a3c..8496e309cec 100644
--- a/gn/src/gn/ninja_action_target_writer.cc
+++ b/gn/src/gn/ninja_action_target_writer.cc
@@ -122,9 +122,18 @@ std::string NinjaActionTargetWriter::WriteRuleDefinition() {
// strictly necessary for regular one-shot actions, but it's easier to
// just always define unique_name.
std::string rspfile = custom_rule_name;
+
+ //quick workaround if filename length > 255 - ".rsp", just cut the dirs starting from the end
+ //please note ".$unique_name" is not used at the moment
+ int pos = 0;
+ std::string delimiter("_");
+ while (rspfile.length() > 250 && (pos = rspfile.find_last_of(delimiter)) != std::string::npos)
+ rspfile = rspfile.substr(0,pos);
+
if (!target_->sources().empty())
rspfile += ".$unique_name";
rspfile += ".rsp";
+
out_ << " rspfile = " << rspfile << std::endl;
// Response file contents.

View File

@ -0,0 +1,85 @@
require recipes-qt/qt6/qtwebengine.inc
require recipes-qt/qt6/chromium-gn.inc
DEPENDS += " \
nodejs-native \
gperf-native \
bison-native \
qemu-native \
nss nss-native \
${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libxcomposite libxcursor libxi libxrandr libxtst libxkbfile', '', d)} \
qtbase qtdeclarative qtdeclarative-native \
gn-native \
python3-html5lib-native \
"
EXTRA_OECMAKE += "\
-DFEATURE_qtwebengine_build=ON \
-DFEATURE_qtpdf_build=OFF \
"
# chromium/third_party/openh264/BUILD.gn add -Wno-format to cflags
# causing following error, because -Wformat-security cannot be used together with -Wno-format
# cc1plus: error: -Wformat-security ignored without -Wformat [-Werror=format-security]
# http://errors.yoctoproject.org/Errors/Details/150333/
SECURITY_STRINGFORMAT = ""
PACKAGECONFIG ??= "\
${@bb.utils.filter('DISTRO_FEATURES', 'alsa pulseaudio', d)} \
glib \
libevent \
libjpeg \
libpci \
libpng \
libwebp \
zlib \
${@bb.utils.contains('BBFILE_COLLECTIONS', 'openembedded-layer', '${PACKAGECONFIG_OPENEMBEDDED}', '', d)} \
geolocation \
webchannel \
printing-and-pdf \
pepper-plugins \
spellchecker \
"
PACKAGECONFIG_OPENEMBEDDED ?= "\
lcms2 \
opus \
snappy \
webrtc \
"
PACKAGECONFIG[alsa] = "-DFEATURE_webengine_system_alsa=ON,-DFEATURE_webengine_system_alsa=OFF,alsa-lib"
PACKAGECONFIG[ffmpeg] = "-DFEATURE_webengine_system_ffmpeg=ON,-DFEATURE_webengine_system_ffmpeg=OFF,libav"
PACKAGECONFIG[freetype] = "-DFEATURE_webengine_system_freetype=ON,-DFEATURE_webengine_system_freetype=OFF,freetype"
PACKAGECONFIG[geolocation] = "-DFEATURE_webengine_geolocation=ON,-DFEATURE_webengine_geolocation=OFF,qtpositioning"
PACKAGECONFIG[glib] = "-DFEATURE_webengine_system_glib=ON,-DFEATURE_webengine_system_glib=OFF,glib-2.0"
PACKAGECONFIG[harfbuzz] = "-DFEATURE_webengine_system_harfbuzz=ON,-DFEATURE_webengine_system_harfbuzz=OFF,harfbuzz"
PACKAGECONFIG[icu] = "-DFEATURE_webengine_system_icu=ON,-DFEATURE_webengine_system_icu=OFF,icu"
PACKAGECONFIG[lcms2] = "-DFEATURE_webengine_system_lcms2=ON,-DFEATURE_webengine_system_lcms2=OFF,lcms"
PACKAGECONFIG[libevent] = "-DFEATURE_webengine_system_libevent=ON,-DFEATURE_webengine_system_libevent=OFF,libevent"
PACKAGECONFIG[libjpeg] = "-DFEATURE_webengine_system_libjpeg=ON,-DFEATURE_webengine_system_libjpeg=OFF,jpeg"
PACKAGECONFIG[libpng] = "-DFEATURE_webengine_system_libpng=ON,-DFEATURE_webengine_system_libpng=OFF,libpng"
PACKAGECONFIG[libvpx] = "-DFEATURE_webengine_system_libvpx=ON,-DFEATURE_webengine_system_libvpx=OFF,libvpx"
PACKAGECONFIG[libwebp] = "-DFEATURE_webengine_system_libwebp=ON,-DFEATURE_webengine_system_libwebp=OFF,libwebp"
PACKAGECONFIG[libxml] = "-DFEATURE_webengine_system_libxml=ON,-DFEATURE_webengine_system_libxml=OFF,libxml2 libxslt"
PACKAGECONFIG[opus] = "-DFEATURE_webengine_system_opus=ON,-DFEATURE_webengine_system_opus=OFF,libopus"
PACKAGECONFIG[libpci] = "-DFEATURE_webengine_system_libpci=ON,-DFEATURE_webengine_system_libpci=OFF,pciutils"
PACKAGECONFIG[pepper-plugins] = "-DFEATURE_webengine_pepper_plugins=ON,-DFEATURE_webengine_pepper_plugins=OFF"
PACKAGECONFIG[printing-and-pdf] = "-DFEATURE_webengine_printing_and_pdf=ON,-DFEATURE_webengine_printing_and_pdf=OFF,cups"
PACKAGECONFIG[proprietary-codecs] = "-DFEATURE_webengine_proprietary_codecs=ON,-DFEATURE_webengine_proprietary_codecs=OFF"
PACKAGECONFIG[pulseaudio] = "-DFEATURE_webengine_system_pulseaudio=ON,-DFEATURE_webengine_system_pulseaudio=OFF,pulseaudio"
PACKAGECONFIG[re2] = "-DFEATURE_webengine_system_re2=ON,-DFEATURE_webengine_system_re2=OFF,re2"
PACKAGECONFIG[snappy] = "-DFEATURE_webengine_system_snappy=ON,-DFEATURE_webengine_system_snappy=OFF,snappy"
PACKAGECONFIG[spellchecker] = "-DFEATURE_webengine_spellchecker=ON,-DFEATURE_webengine_spellchecker=OFF"
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"
FILES:${PN} += "\
${QT6_INSTALL_TRANSLATIONSDIR} \
${QT6_INSTALL_DATADIR}/resources \
"
# QA Issue: qtwebengine: ELF binary /usr/lib/libQt6WebEngineCore.so.6.3.0 has relocations in .text [textrel]
# when proprietary-codecs is enabled
INSANE_SKIP:${PN} += "textrel"

View File

@ -1,16 +1,17 @@
LICENSE = "GFDL-1.3 & (GPL-3 | LGPL-3.0) | The-Qt-Company-Commercial"
LICENSE = "GFDL-1.3 & BSD-3-Clause & ( GPL-3.0-only & The-Qt-Company-GPL-Exception-1.0 ) & ( GPL-2.0-or-later | LGPL-3.0-only ) | The-Qt-Company-Commercial"
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.LGPL3;md5=e6a600fd5e1d9cbde2d983680233ad02 \
file://LICENSE.FDL;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
"
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"
DEPENDS += "qtbase qtdeclarative qtdeclarative-native"
SRCREV = "18a269460d88905706019000ba85f2deef62168f"

View File

@ -0,0 +1,16 @@
LICENSE = "GFDL-1.3 & BSD-3-Clause & ( GPL-3.0-only & The-Qt-Company-GPL-Exception-1.0 ) & ( GPL-2.0-or-later | LGPL-3.0-only ) | The-Qt-Company-Commercial"
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 \
"
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"