Compare commits

...

757 Commits

Author SHA1 Message Date
Samuli Piippo
e32ce33ee2 Verify QT_VERSION
Add task to verify that QT_VERSION matches the version used in the Qt sources.

Pick-to: 6.11 6.10 6.8
Change-Id: I0065bf3bcda7174a337960f4ec1ac7c403599fcf
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2025-12-11 07:44:35 +00:00
Samuli Piippo
3de0c8ff92 README: add 6.11 branch details
Change-Id: I8c1429b21c1d11cb436557f80c13aaf6a3883d0f
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2025-12-10 13:41:04 +00:00
Qt Submodule Update Bot
367a4d46de Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I2bfe8465bce7903dbe6aa6ecb9bb33c1bd8ddc49
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-12-05 19:46:15 +00:00
Samuli Piippo
d90f91dfd6 coin: test with clang compiler
Add CI build target use clang compiler and lld linker.

Change-Id: Ie84a6155987e2ba742d81d52bde4f14e9ff1f8d0
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2025-12-05 10:52:04 +00:00
Qt Submodule Update Bot
afc95c93be Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I13b6f30b78c28bd4b0d211786e4bb540fd5d6015
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-12-03 13:54:38 +00:00
Samuli Piippo
563baf6e0f qtdoc: add module recipe
Part of the example sources are now built as Qt module. Add recipe
and dependency in qtdoc-examples.

Fixes: QTBUG-142244
Change-Id: I1df2290d36201aaa5f37cdbdfec96866e5506d12
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2025-12-03 12:53:32 +00:00
Khem Raj
7f5b84fd74 qtwebengine: Disable building on musl targets
Chromium needs lot of patches to build with musl
e.g. see meta-browser [1] for patches

Until there is interest to port qtwebengine to musl
mark it incompatible

[1] https://github.com/OSSystems/meta-browser/tree/master/meta-chromium/recipes-browser/chromium/files/musl

Change-Id: Icb862000b957f89bf793b2cda4fada23c38bfe01
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
(cherry picked from commit 8827bfefbc)
2025-12-03 07:26:19 +00:00
Samuli Piippo
274b114844 qtbase: remove leading whitespace from QT_QPA_DEFAULT_PLATFORM
Leading whitespace caused the CMake to ignore the default platform
value. Amends 4cacc39a20.

Fixes: QTBUG-142226
Change-Id: I1742a5ff7540da554fa7fe3e1f590f304bcf6f75
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2025-12-02 05:15:54 +00:00
Qt Submodule Update Bot
406b89f480 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: If51dc81f0dab0495bd67a6e52f955ec0d1985858
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-12-01 16:06:03 +00:00
Qt Submodule Update Bot
080b412a61 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I0d7ee3c2cdbc1f772ab7b32b2bfb10208b19923f
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-11-26 17:34:04 +00:00
Samuli Piippo
23095adb40 qtcanvaspainter: add examples recipe
Add recipe to build the qtcanvaspainter examples.

Task-number: QTBUG-141976
Change-Id: Ic49c3189e4eb5b929dc806b644253cd1d3ca0bae
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2025-11-25 16:00:46 +00:00
Samuli Piippo
1b3659c74b Revert "qtbase: workaround GCC15 issue with stdckdint.h header"
This reverts commit 47df0df388.
The original change that caused the need for this workaround
was reverted.

Change-Id: I16163e4f09c555fb44ab9a2320556db7ecddabd3
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2025-11-25 16:00:46 +00:00
Qt Submodule Update Bot
eefcc25b48 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: Id055c3022c892de5fb377b015a9794d0e34e95d6
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-11-25 16:00:46 +00:00
Samuli Piippo
a4cbd86072 qtapplicationmanager: drop qthttpserver dependency
No longer needed for target builds.

Pick-to: 6.10 6.8
Change-Id: Idd5a0ebaabb37e353fd9861c6e57a3a85506b28d
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2025-11-25 16:00:46 +00:00
Samuli Piippo
aa8c472c80 qttasktree: add examples recipe
Add recipe to build the qttasktree examples.

Task-number: QTBUG-141685
Change-Id: I56c5fc87f248089bb2baf7da3ef20948a29c3d11
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2025-11-25 10:53:37 +00:00
Samuli Piippo
53c8da1348 Add qmake support for clang
Add patch from meta-qt5 that adds qmake mkspec for using clang.

Pick-to: 6.10 6.8
Change-Id: If76123f1ad505b4cd33467b9e8addbced8706ea0
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2025-11-24 09:15:42 +00:00
Samuli Piippo
f419c3f943 Add recipe for Qt Canvas Painter
Qt Canvas Painter is an accelerated 2D painting solution for Qt Quick and
QRhi-based render targets.

Fixes: QTBUG-141976
Change-Id: I40f00c68d6334e2bbb7e4f35fc4bf12bb394e65e
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2025-11-21 12:32:53 +00:00
Samuli Piippo
ee8b754f62 Update supported and tested Yocto versions
Update support table with Yocto 6.0 Wrynose, to be supported in dev
and lts-6.8. Remove styhead from CI builds as it's already EOL.
Qt 6.9 branch is now closed, no more changes accepted.

Pick-to: 6.10 6.8
Change-Id: I3b9ed3fa0c88c4311dce8c008037f79cbc7fd947
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2025-11-21 07:45:59 +02:00
Samuli Piippo
440e034c62 coin: use poky from separate layers
The poky repository doesn't get updates anymore in whinlatter,
switch to using separate layers.

Pick-to: 6.10 6.8
Change-Id: Icb47e445d11e1fbadaacb97818212c5704a5a745
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2025-11-13 14:11:28 +00:00
Samuli Piippo
05afb49818 coin: run yocto compatibility check only once
Use only one target to run the yocto-check-layer test and
run it without test configs.

Change-Id: I64b28122696e485539d06c944313f02714d8c29f
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2025-11-13 14:11:22 +00:00
Qt Submodule Update Bot
be5c3c77e5 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I62ad2e00026853ba079aa597ea082e771984cb3e
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-11-06 08:57:42 +00:00
Mikko Gronoff
4905a18b5d Revert "libwebp: add workaround for native build"
This reverts commit a36b5a05b4.

Reason for revert: Available in all supported yocto branches

Change-Id: Ib7142ea73bed97e7385066ce20eb734633c17370
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2025-11-06 08:29:26 +00:00
Samuli Piippo
ee50a715dc Add recipe for QtTaskTree
Task tree is a generic framework for automatic management of
asynchronous tasks.

Fixes: QTBUG-141685
Change-Id: Id975efb2320648d688a9aa80ea538fb688fef5c3
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2025-11-05 13:03:22 +00:00
Qt Submodule Update Bot
b075900da0 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: Ie3c1d286555c74eed77defde8bb2220a0a3bd6d3
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-11-04 04:56:48 +00:00
Qt Submodule Update Bot
196bfc8500 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I5c7a4b655aa61fb70c24ed4271614646592b349f
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-10-31 09:11:47 +00:00
Samuli Piippo
48c76bd764 Revert "qtbase: disable ctf temporarily"
This reverts commit 53005efcfc.
Build has been fixed.

Change-Id: I3109ea649d5d4580ab95374a42aaf9148c112e8e
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2025-10-30 12:10:19 +00:00
Qt Submodule Update Bot
04607db142 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I0ff4d96616301194d54eb91877c3188f963c2953
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-10-30 07:09:29 +00:00
Samuli Piippo
47df0df388 qtbase: workaround GCC15 issue with stdckdint.h header
Change 08ebe3465cc2fce98662b5833b75503490f66265 in qtbase enabled
support for C23/C++26 <stdckdint.h>.
Similar to GCC14 (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121811),
GCC15 has problem using stdckdint.h in Yocto setup as default include
paths are ordered so that the C header is found first.

| nativesdk-qtbase/6.11.0/sources/qtbase-6.11.0/src/corelib/global/qnumeric.h: In function 'constexpr std::enable_if_t<((bool)is_unsigned_v<T>), bool> qAddOverflow(T, T, T*)':
| nativesdk-qtbase/6.11.0/sources/qtbase-6.11.0/src/corelib/global/qnumeric.h:282:12: error: '_Bool' was not declared in this scope [-Wtemplate-body]
|   282 |     return ckd_add(r, v1, v2);
|       |            ^~~~~~~

As a workaround, disable the feature until better solution
is found.

Change-Id: I0eeeb8bc97411646a7ccc71aa38f5d6fe8a6e16a
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2025-10-30 07:09:27 +00:00
Samuli Piippo
c01d421714 qmake: fix all host path
Amend 769d4acc80 and calculate all host
paths correctly. This removes use of OE_QMAKE_PATH_EXTERNAL_HOST_BINS
which has never been part of Qt6, instead using OE_QMAKE_PATH_HOST_BINS.
Also remove generation of target qt.conf and the effective qt.conf paths
that are no longer required.

Fixes: QTBUG-140631
Pick-to: 6.10 6.9 6.8
Change-Id: Ie4eb25d60a93c476fdd1ffefe4e90fad50e91127
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2025-10-09 06:47:05 +00:00
Samuli Piippo
28271d4715 Use correct install path for metatypes and sbom
These belong into arch data dir.

Pick-to: 6.10 6.8
Change-Id: Ic284d28dffb24820523bb15cd1c81cece077e475
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2025-10-06 12:41:09 +00:00
Samuli Piippo
87f9b140ee qtwebengine: rename gn-native
oe-core/whinlatter now has gn recipe which conflicts with our one.
Rename the recipe since webengine works only with its own gn.

Pick-to: 6.10 6.9 6.8
Change-Id: I9d8bb7645807ed672a5dcbb3a48a636ee578384e
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2025-10-06 12:40:56 +00:00
Qt Submodule Update Bot
52ca908246 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: Ide1263236af320902a172e545b846a26608a0faa
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-09-30 00:27:48 +00:00
Samuli Piippo
769d4acc80 qmake: fix path to external host bins
The OE_QMAKE_PATH_EXTERNAL_HOST_BINS is used for native host tools,
such as qmake, and it was working only for target builds. Calculate
correct path for native and nativesdk builds as well, taking into
account case where additional subdirectory is added to QT6_INSTALL_BINDIR.

Fixes: QTBUG-140631
Pick-to: 6.10 6.9 6.8
Change-Id: Ic8f36a64a6a43b0a073586a90ecf832482727dad
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2025-09-29 12:25:18 +00:00
Samuli Piippo
3d4df9662a coin: update qtbase extra PACKAGECONFIGS
Test PACKAGECONFIG[ctf] during CI builds, and remove duplicate
zstd config.

Change-Id: Ibc34a508c2945f09d59ef14afaf2d2199432c5ad
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2025-09-27 01:00:29 +00:00
Qt Submodule Update Bot
4bf4834fd6 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I20127f731a5d36f98120eabca647c8a417c58237
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-09-27 01:00:28 +00:00
Samuli Piippo
53005efcfc qtbase: disable ctf temporarily
Enabling ctf causes builds to fail, disable it temporarily.

Task-number: QTBUG-140443
Change-Id: Id32d1b65d76791fba29e419f6cb95e06acb551e7
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2025-09-25 12:09:44 +00:00
Samuli Piippo
1d06407a21 examples: use matching COMPATIBLE_MACHINEs
Qt module examples need to follow the same COMPATIBLE_MACHINE
limitations as the module itself.

Fixes: QTBUG-140246
Change-Id: I0cf68adc32c384a96517eede32972b42c53b7971
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2025-09-22 11:45:37 +00:00
Samuli Piippo
27eb78d4b2 qtwebengine: remove patch from examples
Fixes have been merged upstream.

Change-Id: Ib0e6d42e9d2b70e8919a4cac437dad868581ce14
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2025-09-20 20:33:10 +00:00
Qt Submodule Update Bot
366b4fb6e5 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I77dbb137b437ab911d06d03e8dd4c1110df08365
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-09-20 20:33:09 +00:00
Samuli Piippo
6da7dbdbf4 coin: add CI build without opengl
Test build without opengl and wayland in DISTRO_FEATURES.
The default qtbase configuration depends on these DISTRO_FEATURES
and not all modules are available without opengl or wayland.
Rework coin configs to enable features when needed.

Change-Id: I20b55f46f7ead0a5d1e0f7d7c98ff9e2aaa83d87
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2025-09-16 19:14:38 +00:00
Samuli Piippo
4cacc39a20 qtbase: update the default graphics configuration
Since embedded graphics stacks seem to focus on GLES over
desktop GL, prefer it in the default Qt configuration whenever
wayland is enabled in DISTRO_FEATURES. This changes the default
for x11 distros where wayland is also enabled.

Remove directfb support, it's no longer relevant platform plugin in Qt.

Change-Id: I085fb4c94111d84244211ea60254decbf0330fb6
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2025-09-15 06:05:52 +00:00
Samuli Piippo
5b8d9f8fa3 examples: use matching REQUIRED_DISTRO_FEATURES
Match the REQUIRED_DISTRO_FEATURES for examples recipe to the
module recipes.

Fixes: QTBUG-140056
Change-Id: I2a199202a94bfa9503d522bdc6854c829957963d
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2025-09-15 06:05:28 +00:00
Samuli Piippo
4df44780d1 qttools: don't fail on unsupported clang
oe-core might have too recent version of clang which is not supported
by qttools. Don't force qttools to use clang, but let it determine if
the version is suitable.

Pick-to: 6.10.0 6.10 6.9 6.8
Change-Id: I8a141ec01f3556d33b3037ba27adc250b99855b5
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2025-09-12 11:06:37 +00:00
Samuli Piippo
9dfea022fc Don't turn compiler warnings into errors for developer-build
When enabling developer-build for qtbase, which in turn enables it for
for all other modules, GCC produces lots of false-positive errors.

Change-Id: Ifea3a5b2deadd96e899bdeec6ea502dd78150182
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2025-09-08 07:40:13 +00:00
Samuli Piippo
85bd8ec9bc Remove tests PACKAGECONFIG
Installing Qt auto tests as part of the module build is not properly
supported. Instead, tests can be built as ptest packages.

Change-Id: Ie119df95bd7540176bac68b2cee6aff4cbbcc6b9
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2025-09-08 07:40:04 +00:00
Samuli Piippo
fbaed93d8b Add separate recipes for Qt module examples
Building Qt examples as part of the module build is no longer
recommended and results in missing files in some of the examples.
Add separate recipes for each Qt module that has examples.

Don't package sources with the examples, but set debug mapping
to the module's source path.

Qt module examples are mainly available with BSD-3-Clause license,
regardless of licenses that the modules themselves are using.

Since qtdoc module has only examples, remove the module recipe.

Fixes: QTBUG-136651
Change-Id: Ic8f8c579a28b9a1369f8463f725574b0c67a896a
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2025-08-27 12:04:04 +00:00
Samuli Piippo
1c75e6091a qtwebengine: update revision
Includes skia AVX fix for intel builds.

Change-Id: Ibf831d611ab71bb0de3320c3a10494fe30d9432e
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2025-08-21 06:50:07 +00:00
Samuli Piippo
957ce2c0f6 qtmultimedia: update revision
Fixes build for non-gpu targets.

Change-Id: Ie3637923293f5c4b5051f988af9761e57470443b
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2025-08-20 12:39:06 +00:00
Samuli Piippo
f9334e6ae4 coin: run yocto-check-layer as part of CI
Use yocto-check-layer to verify compatibility to Yocto project.

Task-number: QTBUG-138741
Change-Id: I4189f8c5053665919e852eadd7fc515b5568256d
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2025-08-19 13:34:18 +00:00
Samuli Piippo
919787f8ed python3-appdirs: remove bbappend
Change has been upstreamed.

Change-Id: If5d114dfa6699a79e576fb341ea6ae02dab0d5b7
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2025-08-19 13:34:08 +00:00
Samuli Piippo
ec2a537f6e qtbase: remove KDE specific configurations
These distro specific configs should be handled in kde's layer.

Task-number: QTBUG-138689
Change-Id: Ica773f2b057f010798f651f27827478be645be4b
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2025-08-19 13:33:58 +00:00
Andreas Cord-Landwehr
6643b50720 qtbase: remove obsolete 'sm' option from kde DISTRO_FEATURES
Fixes: QTBUG-138689
Pick-to: 6.10 6.9 6.8
Change-Id: I6f17220dfbe9b894a7080d3c66ffae06ab688042
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2025-08-18 11:10:40 +00:00
Samuli Piippo
6ed2aff39a conf: remove qtcreator image feature
This is left over from meta-qt5 and has never been supported in meta-qt6.

Pick-to: 6.10 6.9 6.8
Task-number: QTBUG-138741
Change-Id: I05aa1ef540ccd0665b386fd1a72238fefa0fd5e0
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2025-08-18 11:10:29 +00:00
Samuli Piippo
3080ebe00c qtwebview: Match features_check with qtwebengine
qtwebview has dependency to qtwebengine and is subject to the same
opengl DISTRO_FEATURES requirement.

Task-number: QTBUG-138741
Pick-to: 6.10 6.9 6.8
Change-Id: I0671c0bf5d115d2596742db0348ec9e1b30dc96a
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2025-08-18 11:10:23 +00:00
Samuli Piippo
78589c2001 qtspeech: make flite optional
flite needs meta-multimedia layer, which otherwise is not required
for meta-qt6. Use flite PACKAGECONFIG only if the layer is already
configured.

Amends 73c56ede70.

Task-number: QTBUG-138741
Change-Id: If0bb5a38466994660cd73b7fe4fb682caee03e5e
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2025-08-18 11:10:18 +00:00
Samuli Piippo
3767a12b99 minizip: Update to match S/UNPACKDIR changes
Extract the source to expected location and append minizip's
subdir to S. This supports the S/UNPACKDIR changes done in
oe-core/whinlatter and keeps backwards compatibility with
older yocto versions.

Pick-to: 6.10 6.9 6.8
Change-Id: I10942cc8ca337b321bf80f06661ab83cb4b20c35
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2025-08-18 11:10:02 +00:00
Samuli Piippo
8c8ec98428 ptest: include possible test plugins and qml modules
Some of the Qt modules have separate test plugins and qml modules
that are used in the auto tests.

Pick-to: 6.10 6.9 6.8
Fixes: QTBUG-138066
Change-Id: I00c41396b59f1b380696bbab3489bd93b4a65cc5
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2025-08-18 11:09:51 +00:00
Mikko Gronoff
35480a0d5a qtlanguageserver: update license
Pick-to: 6.10
Change-Id: I39896ad3ef6926b0b5f0e64d0902e980450ff7b3
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2025-08-13 10:04:33 +03:00
Mikko Gronoff
4809a1b972 qtpositioning: update license
Pick-to: 6.10
Change-Id: Id31c08a82fc59bcfa1ffa58e69d38893972fbfdb
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2025-08-13 10:04:27 +03:00
Mikko Gronoff
c0afdeb624 qtwebchannel: update recipe
Add qwebchannel.js file that was moved from under examples.

Fix QA Issue:
qtwebchannel: Files/directories were installed but not shipped in any package:
   /usr/share/qt6
   /usr/share/qt6/webchannel
   /usr/share/qt6/webchannel/qwebchannel.js

Change-Id: I2467a9dc76a25c47faba5880f7c2918946d9a48a
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2025-08-13 10:04:24 +03:00
Mikko Gronoff
ec73d872d5 qtwebengine: update patches
Update patches upon chromium update from 130-based to 134-based.

Pick-to: 6.10
Change-Id: Id9c9402182328e9d1c55e9ef2bc45ff1efe5ab9e
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2025-08-13 10:04:19 +03:00
Mikko Gronoff
2d38f4e155 qtwebengine: update chromium branch
chromium updated 130-based -> 134-based.

Pick-to: 6.10
Change-Id: I821083a88d67539c9ef1cf5ee366e2afb7473c13
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2025-08-13 10:04:11 +03:00
Samuli Piippo
430bd68a04 qtlottie: remove patch
Merged into upstream.

Change-Id: Id1004bdf4351fea20988293d94b044742dabd6c9
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2025-08-13 07:04:07 +00:00
Qt Submodule Update Bot
3c3508a12b Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I5f4111e6a20e75a2793832fea0b3cefdaf4ae5df
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-08-13 07:04:02 +00:00
Samuli Piippo
cae750cf19 qtapplicationmanager: enable bubblewrap only with wayland
Bubblewrap is used within the multiprocess support and can be enabled
only with wayland.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

e.g.

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

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

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

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

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

Pick-to: 6.8
Change-Id: Ib72f090dee1ea972a2c883c4c5bde6cb403b479c
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
(cherry picked from commit 27ef905b04)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-02-25 05:08:40 +00:00
Mikko Gronoff
aa61351d9a qtvirtualkeyboard: update license checksum
Pick-to: 6.9 6.8
Change-Id: I9efe7079a6b6e7dbd965181006a9c2645cf505c1
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2025-02-25 05:08:10 +00:00
Qt Submodule Update Bot
1dbd33f62f Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I01b2df82cb27e7e62d327d855745df20d8bf4879
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-02-25 05:08:02 +00:00
Samuli Piippo
5f983220c2 coin: don't use gold
oe-core/master has dropped support for ld-is-gold, don't use it
in CI test builds anymore.

Pick-to: 6.9 6.8
Change-Id: I9c21060b8c7ac8234104737357aa5901be79073c
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2025-02-11 15:30:00 +00:00
Samuli Piippo
76cbb93c22 coin: use internal mirror of git-repo
Cloning from github have been failing recently, use internal
mirror of google's git-repo instead.

Pick-to: 6.9 6.8 6.5
Change-Id: I3983812c59be601632c3e27b6aab00c0e09ce037
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2025-01-31 15:51:06 +02:00
Samuli Piippo
7a740e66fe Add qttools tools package
QtTools tool package has few misc runtime tools that may be
useful during development.

Pick-to: 6.9 6.8
Change-Id: I35f88c4f98d64d2aa761c19e39ec4a985f5bd1c5
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2025-01-31 09:47:45 +00:00
Samuli Piippo
8abb0e74a2 qtpdf: use opengl DISTRO_FEATURE for dependencies
QtPdf requires opengl DISTRO_FEATURE, but it can be built independently
from the webengine.

Pick-to: 6.9 6.8
Task-number: QTBUG-129718
Change-Id: I6707a34494babf298d964fa1092c7aa126031db3
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2025-01-31 09:47:37 +00:00
Samuli Piippo
b344e6cdd7 qtwebengine: require opengl
Both QtWebengine and QtPdf require opengl to be built. Check
for the DISTRO_FEATURE.

Pick-to: 6.9 6.8
Change-Id: I3045271edecdd3090b31e3585ec8670c1305cf3a
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2025-01-31 09:47:32 +00:00
Mikko Gronoff
9bd2c2ae4b webengine/chromium: refresh patch
Pick-to: 6.9
Change-Id: Id334c1870f13e96de266da745a8882bdd731d978
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2025-01-24 08:38:17 +02:00
Mikko Gronoff
030aa44825 qtwebengine: refresh patch
Change-Id: I85e242799b7f5b43959dedc1a0819ccd449ad033
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2025-01-24 08:38:09 +02:00
Mikko Gronoff
ec25f8aa12 qtwebengine: update chromium branch
chromium updated 126-based -> 130-based.

Pick-to: 6.9
Change-Id: Ib1b18f26df48f1aeca1ae1778ccf3e51248c6cfa
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2025-01-24 08:38:01 +02:00
Qt Submodule Update Bot
5324adb661 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: Ia5deb16893d4c0b0cd1ef07d1ee1c6b1eb74eb92
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-01-24 06:37:52 +00:00
Samuli Piippo
e0590ac76e qtbase: use correct relative path for scripts
Scripts in bin and libexec dirs need to have different relative paths
patched.

Pick-to: 6.9 6.8 6.5
Change-Id: I76c030ca2cd446411ca0b77ecdb06849dc1e8121
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2025-01-23 07:09:19 +00:00
Samuli Piippo
8cbc0ed24f qtgrpc: add optional dependency to qtdeclarative
QtGRPC has separate Quick module that needs qtdeclarative dependency.

Pick-to: 6.9 6.8
Fixes: QTBUG-132818
Change-Id: I639ad8a271e1fb51b0c5ecf5a2de467ee1583f81
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2025-01-17 11:12:22 +00:00
Samuli Piippo
edce4936b4 qtopcua: add opcua tools to sdk
QtOpcua has host tools that need to be included in the SDK.
Add additional PACKAGECONFIG for open62541 which has openssl
dependency. Mingw32 does not support this in nativesdk builds,
but it's also not necessary for either native or nativesdk builds.

Pick-to: 6.9 6.8
Fixes: QTBUG-132822
Change-Id: Ib0c9f7634ac578882ca5585be430312736f61470
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2025-01-17 11:12:09 +00:00
Samuli Piippo
60db51682c qtwebengine: fix conflicting files with qtpdf
QtWebengine and QtPdf now generated SBOM files for both
modules. Need to remove wrong one to avoid conflicts.

Pick-to: 6.8
Task-number: QTBUG-128893
Change-Id: I9baa4460a63e72e077e1b337906eac0c2d44a9af
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 7166be5225)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-01-16 15:41:35 +00:00
Samuli Piippo
3feadcb30b qtapplicationmanager: update revision
Update revision to fix ptest build.

Task-number: QTBUG-132649
Change-Id: Ifa09551b8713e707d93695a8b47ed40c267914b4
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2025-01-10 18:00:03 +00:00
Samuli Piippo
2da362ade0 qtbase: update patch
Update patch to work with latest changed.

Pick-to: 6.8
Change-Id: I9834ec4d39ae657d4b89530ae454198db339f04e
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
(cherry picked from commit 28deeb771f)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-01-10 17:59:56 +00:00
Mikko Gronoff
87ef009a93 Bump version to 6.10.0
Change-Id: Ie3136b7c629c86a5f8894de061d4a05fc55819d8
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2025-01-10 17:59:43 +00:00
Qt Submodule Update Bot
32e3237b72 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: Ic49f156c0372bcd850b644fb67017f3d659bdb3f
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2025-01-10 17:59:35 +00:00
Samuli Piippo
a8aedea1e7 qtbase: remove upstreamed patch
Fix for the DRM device is now merged in qtbase.

Change-Id: I9d53e01beb5b895ee1c8141683a9ef7208ac0f94
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
(cherry picked from commit 93375bcb1c)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-01-07 21:08:01 +00:00
Samuli Piippo
dc4375cd45 readme: add 6.9 to support table
Update the support table with Qt 6.9 details.

Pick-to: 6.9
Change-Id: Icd4884b04ca003008998cf7704fa3feedff6fa25
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2025-01-03 09:27:25 +02:00
Samuli Piippo
bae0db8d76 Install module JSON files to INSTALL_ARCHDATADIR/modules
The module description JSON files contain architecture-specific
information. Therefore they should reside below INSTALL_ARCHDATADIR
instead of INSTALL_DATADIR.

Pick-to: 6.9 6.8 6.5
Fixes: QTBUG-132428
Change-Id: Ib6f2e8939e27f136ac6cb04e74b9d688c8600b2b
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2025-01-02 10:53:43 +00:00
Samuli Piippo
9b6d9d6287 Use correct QmlImportsPath config with qmake
Qml2ImportsPath is deprecated config and QmlImportsPath should
be used instead. This fixes qmake crash on aarch64 linux when
using GCC 14.

Pick-to: 6.9 6.8 6.5
Fixes: QTBUG-132288
Change-Id: I683ae7755b0b8ac496eeb8017c1c0d059b2fe011
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2024-12-19 06:48:14 +00:00
Samuli Piippo
5fa2f694a3 qtconnectivity: move declarative dependency to examples
QtConnectivity does not have dependency to declarative other than
in the examples. Move the dependencies to example PACKAGECONFIG
so the module can be built with minimal dependencies.

Pick-to: 6.9 6.8
Fixes: QTBUG-131341
Change-Id: Id43f4c295aa2283d322d85c115797d6eb70843c5
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2024-12-18 14:14:25 +00:00
Samuli Piippo
0e9320d12e qtbase: workaround for incorrect DRM device
EGLFS queries DRM device path to be used, but his can occasionally
be incorrect. Allow use of kms.conf (via QT_QPA_EGLFS_KMS_CONFIG)
to be used to override the device.

Task-number: QTBUG-131887
Pick-to: 6.9
Change-Id: Ica0a572c02fafee9f2333a5d2eacd73d12864d8b
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2024-12-18 14:14:11 +00:00
Mikko Gronoff
69ede9570f qttranslations: include SBOM files
Update recipe so that generated SBOM files are
also included (by default to -dev package for all
modules).

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

Pick-to: 6.9 6.8
Change-Id: I81585f1c4deb9a925bbab0b8a3182a1d87b00632
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2024-12-16 13:49:07 +00:00
Samuli Piippo
058ecf647d qtbase: always build linuxfb platform plugin
The linuxfb platform plugin can be useful even when opengl is
available to test out software rendering capabilities of Qt.
Build it always by default.

Pick-to: 6.9 6.8
Change-Id: I74f052f01cada65b94b1cb9e9893e9c5071a045e
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2024-12-11 13:39:23 +00:00
Qt Submodule Update Bot
9194f780b0 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: If9140c1c219035a3b6bd77f7337e2558d94f076e
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-12-09 14:32:52 +00:00
Samuli Piippo
5f20803d1c Add option to export example sources
By default, the example sources are not exported with the binary,
as was the case in qt5 times. Add options to enable the export
using variable QT_INSTALL_EXAMPLES_SOURCES = "ON".

Pick-to: 6.8
Change-Id: Ieedb65034264086b84d4df541480cbb02ecb82f2
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2024-12-09 06:30:22 +00:00
Samuli Piippo
e1e8645a3b Remove unneeded example files path
All examples are now in correct paths.

Pick-to: 6.8
Change-Id: I37a57e0674877c321ddacaf69af0b615f383ec07
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2024-12-09 06:30:15 +00:00
Qt Submodule Update Bot
d229fee518 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I8b9dd463692aef61967c67145fd26609fc3268a8
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-12-04 01:09:30 +00:00
Mikko Gronoff
a11bc6bb2b qtmultimedia: update revision
Update to a revision including fix for QTBUG-131300.

Change-Id: I78d44dbebe31bfa16f0ebc6aa961a76245c740da
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2024-11-26 15:02:26 +02:00
Samuli Piippo
0892d298bc sdk: always include build tools
Include cmake and ninja always to sdk since mingw
can build both starting in kirkstone.

Pick-to: 6.8
Task-number: QTBUG-131438
Change-Id: Ie5ab5320d412a11526682d15fa4fa15abb4ebd91
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2024-11-26 07:03:28 +00:00
Mikko Gronoff
886380c152 qt6: update licenses
- The Qt-GPL-exception-1.0 license has not been used in few modules
  for a while and the license file was now removed.
- qtquick3d, qtsvg & qtopcua updated with latest license changes.

Change-Id: I58b2b5afe0c8feb9a63a692586ceaf562d95d4b9
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2024-11-26 09:03:19 +02:00
Mikko Gronoff
c38a3364b0 qt6: update licenses
The Qt-GPL-exception-1.0 license has removed from
qtmqtt & qtnetworkauth modules.

Change-Id: I6dbb14ff604baf05a855e3c96200a673bb83c342
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
(cherry picked from commit 768b29cfc6)
2024-11-26 07:03:15 +00:00
Samuli Piippo
1845a8d66d qttools: remove merged patch
The fix was merged in upstream.

Pick-to: 6.8
Change-Id: I177595444e1b6a960894648e6a296377e1498a79
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2024-11-26 09:03:10 +02:00
Qt Submodule Update Bot
7dec315566 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I4a81b573c670ecc7a53ad65a34692473233c4b24
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2024-11-26 09:03:07 +02:00
Samuli Piippo
be92484450 qt6: update licenses
Continue license changes from 92833a85e7,
more modules are affected.

Pick-to: 6.8
Change-Id: Ide2ea6f5c9d040c193a146964029241ce3531379
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2024-11-08 10:12:14 +00:00
Qt Submodule Update Bot
55d8e6b0c4 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: Ia70dd3a530360ca335d765894b29e58bda2b8f2f
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-11-08 10:11:58 +00:00
Samuli Piippo
982e714683 qtquick3d: remove patch
The fix was merged.

Change-Id: I60d89a1bc8eda3c5ada3751969267c6d6e0b5e0c
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2024-11-07 11:32:59 +00:00
Samuli Piippo
92833a85e7 qt6: update licenses
The Qt-GPL-exception-1.0 license has not been used in few module
for a while and the license file was now removed.

More accurate licenses for qtdoc and webengine modules.

Pick-to: 6.8
Change-Id: I7833593f0e45fb4c89cc8deff6124835dce3ba41
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2024-11-07 11:32:52 +00:00
Mikko Gronoff
0e8ae2992f qtapplicationmanager: remove patch
The patch is now merged upstream.

Change-Id: Iece64a6f482d478521558c79e9ec06919107d4d0
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
(cherry picked from commit 3cef727dc8)
2024-11-07 11:32:45 +00:00
Qt Submodule Update Bot
878d69d39d Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: Ia571bb1b582fff0e4a16f6ba128f023a1bbd3b75
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-11-07 11:32:37 +00:00
Samuli Piippo
a73f4a0f48 layer: add walnascar to layer series
For the next Yocto 5.2 release.

Pick-to: 6.8
Change-Id: I813c4ad4271a3d59c73a5ea53aa99efac6a39eca
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2024-11-05 13:54:46 +00:00
Samuli Piippo
e8cf73dca6 qttools: check available clang version
qttools required at least clang 17. Don't try to enable the support
unless suitable version is available. meta-clang defines LLVMVERSION
global variable with the version number.

Pick-to: 6.8
Change-Id: I9df38bb475391a177daa8fde349718529f4350e5
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2024-11-05 13:54:38 +00:00
Samuli Piippo
6e1ec45c58 sdk: include staticdev packages by default
Some of the Qt modules have static libraries that need to be present
in the SDK for it work correctly. Use SDKIMAGE_FEATURES to include
staticdev packages to the SDK.

Fixes: QTBUG-130442
Pick-to: 6.8 6.5
Change-Id: I043e3ab02df212f6fdc656ae3dd542dd7a824fd9
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2024-11-04 13:37:40 +00:00
Samuli Piippo
96ed615991 readme: update release status
Add 6.8 as new stable release, and mark 6.6 and 6.2 as EOL.
Add Yocto 5.2 Walnascar as new yocto release to be supported in
dev (6.9) and 6.8. Nanbield is no longer tested on CI.

Pick-to: 6.8
Change-Id: I3ba99550682a9b8868a096da99ade78def41e045
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2024-10-31 06:47:04 +00:00
Samuli Piippo
65b08e9246 qtpdf: workaround for wrong sbom file
Rename the incorrectly named sbom file

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

Pick-to: 6.8
Task-number: QTBUG-128893
Change-Id: I3e205d8546653a9daa1f778945d3e5770d3a2f84
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2024-10-29 14:05:02 +00:00
Samuli Piippo
958cb1592a Include SBOM files in -dev packages
Qt now produces SBOM (Software Bill of Material) files, include
those in the -dev packages.
The file cointains references to buildpaths, get rid of those
until fixed upstream.

Pick-to: 6.8
Change-Id: Ibe2972649db74925aab3fbe0307fd679e1ea53bf
Reviewed-by: Alex Bu <alex.bu@qt.io>
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2024-10-29 14:04:48 +00:00
Samuli Piippo
fcee8bec25 qtgrpc: workaround kirkstone build
QtGRPC now support only cmake-built protobuf, which causes builds
on kirkstone to fail, since it doesn't provided needed CMake support.
Add workaround so that toolchain builds can still be done, even though
it won't have support for GRPC tools.

Change-Id: Ica8d289b01f7c5856f5d42e26b810cd3adc78722
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2024-10-29 14:04:39 +00:00
Samuli Piippo
db307a670a qttools: fix another example tracking buildpaths
Update patch to cover another example that track buildpaths.

Pick-to: 6.8
Change-Id: I1632475346dfa0ff4e9e531a5001af81153b19df
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2024-10-29 14:04:31 +00:00
Mikko Gronoff
b7b83602d5 qttools: refresh patch
Change-Id: I42c8e0688467bdf58b46399d6012c9fe4cd45ffa
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2024-10-29 17:04:24 +03:00
Qt Submodule Update Bot
a5848e2280 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: Ieef6e232f8315c5b602c0e1f2b7fca0da44fa4fc
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-10-29 14:04:14 +00:00
Mikko Gronoff
313ed5b19c Remove webengine related GCC13 patch
GCC bug affected webengine build in CI yocto branches (frozen master & nanbield), but the patch is now obsolete as master is correctly set to HEAD and nanbield got switched to styhead.

Pick-to: 6.8
Change-Id: Ie1964d4709c0ba4a46b6ab8f65408695665b753e
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2024-10-25 06:52:14 +00:00
Samuli Piippo
e83389116c quick3d: fix GCC14 build issue with embree
Add workaround for building quick3d with GCC14. Builds would
otherwise fail on x86_64 targets using AVX.

Change-Id: Ie2c1c4e5aaa110d82594582588f170977855f20a
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2024-10-24 12:38:05 +00:00
Samuli Piippo
abdf375a2e coin: add workaround for clang build
Add workaround until fixed in upstream:
nativesdk-liblldb contains reference to TMPDIR [buildpaths]

Pick-to: 6.8
Change-Id: Ie0c68644141fd0544e95895f67b031186a296a6a
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2024-10-18 12:48:47 +00:00
Samuli Piippo
aec6f0103f coin: build against styhead
Nanbield is EOL, switch the build to Yocto 5.1 styhead.

Task-number: QTBUG-128570
Pick-to: 6.8
Change-Id: Ie655e9a1dbfe0f806815c1d6951c01f262efb5a1
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2024-10-18 12:48:41 +00:00
Samuli Piippo
6e5df35989 qttools: remove buildpaths from the binaries
QDoc embeds a build time path to the qdoc binary and example
source path to the binary, which cause QA errors [buildpaths].

Pick-to: 6.8
Change-Id: Ib7e818e5b97ec9b753bc7ec8060d507770b71a3b
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2024-10-18 12:48:34 +00:00
Samuli Piippo
39560e5566 ptest: skip buildpaths QA tests for ptest packages
A lot of auto test cases have references to buildpaths.
Skip the QA tests on failing modules until tests can be fixed.

Task-number: QTBUG-105913
Pick-to: 6.8
Change-Id: Id8d36278f5a42f131f79ea60503365b7c64a864f
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2024-10-18 12:48:28 +00:00
Samuli Piippo
179259bc36 qtapplicationmanager: fix contains reference to TMPDIR QA issues
Temporarily add patch to fix a QA issue related to buildpaths.

Change-Id: If8e14c7834e2d20b22494549c0a1350cfdec6cb3
Pick-to: 6.8
Task-number: QTBUG-105913
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2024-10-18 12:48:19 +00:00
Samuli Piippo
78b79d3b55 qtgrpc: fix reference to TMPDIR QA issues
Temporarily add patch to fix a QA issue related to buildpaths.

Task-number: QTBUG-105913
Pick-to: 6.8
Change-Id: Ic86bd65e81d9189abf0d18bac98991028a69f06c
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2024-10-18 12:48:13 +00:00
Samuli Piippo
259ef13336 Remove TMPDIR references from qmake files
Qmake files still have references to build time paths
that cannot be mapped to any real runtime path.

Task-number: QTBUG-105913
Pick-to: 6.8
Change-Id: I047a21204e2154cbf36c8417ae0e2e63be45564f
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2024-10-18 12:48:06 +00:00
Samuli Piippo
bb96abfc03 Revert "ptest: Enable rpath to load libraries from relative paths"
This reverts commit ecd6b8a0e3.
Using rpaths introduced a lof of buildpaths QA errors for ptest
packages. Revert the commit until better solution for the few test
cases can be found that need the rpath.

Task-number: QTBUG-105913
Change-Id: I5479629818e10c5f00841c371548bb697899e8dc
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2024-10-18 12:47:58 +00:00
Ari Parkkila
2c2d5506f2 qtinterfaceframework: Update python requirements for qface
Task-number: QTBUG-128639
Change-Id: Ie913ee05c1a621318ec607c7e8aae6d0a24cc799
Reviewed-by: Alex Bu <alex.bu@qt.io>
2024-10-08 12:33:56 +03:00
Mikko Gronoff
1cc5fdb50d qtwebengine: update chromium branch & patches
Updated to 126-based & remove patch.

Change-Id: Icac66263e4889d0bad21ce3a1067df8b7b89de1b
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2024-10-03 13:05:31 +03:00
Qt Submodule Update Bot
62e968c760 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I88efa1027631db93e669fe42131d9256f6105607
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-10-03 10:05:26 +00:00
Tim Blechmann
5fd7b3e7bd Webengine: fix zlib cmake option
add missing =OFF to cmake options

Pick-to: 6.8
Change-Id: I93074ac37f120fcc9810e63dd0fbc88bb73e7e44
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2024-09-27 14:30:36 +08:00
Qt Submodule Update Bot
da800616cf Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I662095f7525c3527e357874c1b7f57927015d8a4
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-09-25 11:32:20 +00:00
Pasi Petäjäjärvi
fcc3df76a9 Add CTF tracing backend configure option
Fixes: QTBUG-129169
Pick-to: 6.8
Change-Id: I227cd5d7b7c51fb37b9138d6851b7a7aa2485c64
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2024-09-24 07:34:39 +00:00
Ari Parkkila
d2241c2842 qtpdf: Add dependency to webengine
QtWebengine depends on mesa-dev packages so opengl or vulkan
must be enabled on DISTRO_FEATURES to pass its config check.
Qtpdf is implemented within webengine so instead of forcing
support for opengl or vulkan make qtpdf depend on webengine.
This omits config where qtpdf is wanted without webengine.

Change-Id: I4e94201d3c2c3a1ef97549ec330f7c4c4408b3a9
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2024-09-23 08:12:16 +03:00
Mikko Gronoff
01692b5a8a gcc-source: Only apply patch on GCC 13
Amends commit 649de76994.

Fixes: QTBUG-128511
Pick-to: 6.8
Change-Id: If7b2b8bf2e48fb218d5fffcb0989cd6bb182551b
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
2024-09-04 14:36:44 +03:00
Qt Submodule Update Bot
b53f4cf4a3 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: Id8068f9c054fe49c7e9dc12a864496a442e846cb
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-08-30 02:43:15 +00:00
Khem Raj
0014b3894d qtwebengine: Add missing patch headers
Latest yocto turns missing Upstream-Status to be a build error

Change-Id: Ia63f38d3148d223c3c2367d209dfcbfbd2173634
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2024-08-26 06:00:04 -07:00
Qt Submodule Update Bot
7a83227232 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I0e428477c6494202806344e132d6cd0f10586d99
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-08-23 08:46:51 +00:00
Mikko Gronoff
9c8fbeb559 qtapplicationmanager: remove patch
Patch is now merged upstream.

Pick-to: 6.8
Change-Id: I565f6dd84736f86a292231039354d0302680f0e8
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2024-08-23 11:46:35 +03:00
Khem Raj
e3dfa2275d qtwebengine: Set DEBUG_LEVELFLAG to -g1
Latest master core layer has moved the debug level to
a new variable away from DEBUG_FLAGS, therefore set it
accordingly, use -g1 across all architectures, there is
no supported architectures where build with -g succeeds

Change-Id: I9bd79384894d610b6802450832e11ad7ee8a1cca
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2024-08-21 15:56:12 +00:00
Mikko Gronoff
b109517cc2 qt3d: update license
imgui component got updated & license updated.

Pick-to: 6.8
Change-Id: I6609f9f65edb80dd4f2114734be342d8d611333e
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2024-08-20 10:47:18 +03:00
Mikko Gronoff
df565fa277 qtapplicationmanager: update recipe
Add pending patch & flag to address appman tools
issue following 5fc4b8a36c02c601a6fabf2b393a93ed1f387de9.

Change-Id: Ic74d8929570a02fbcfc6e15931fb8f81bcea646e
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2024-08-20 10:47:13 +03:00
Mikko Gronoff
34c48088a5 python3-qface: backport recipe from meta-oe master
Latest qtinterfaceframework requires qface version 2.0.11. Meta-qt6
layer used to have it some time ago, but it was moved to meta-python under
meta-openembedded. Only meta-openembedded(master) branch has required version
available currently.

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

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

Change-Id: If3ba64fac1375452cba031358e67fd90b3331ba2
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
(cherry picked from commit f52437ef0a)
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2024-08-20 10:47:00 +03:00
Michal Klocek
a4ed875ee2 Do not build webnn with xnnpack (122-based) on yocto
The xnnpack build has own march flags, which are getting
overridden by yocto setup, this ends in broken compilation,
as gn has no clue about override. Therefore, build webnn
without xnnpack on yocto.

Change-Id: I426a452a5608a5da3bc630f8ec3389e0eb313ef4
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2024-08-20 10:46:55 +03:00
Michal Klocek
649de76994 Fix cross compiler crash when compiling qtwebengine
The compilation distributed_point_functions project crashes
compiler. It issue is reported and solved here:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110280

Apply the patch as it released for 13.3

Fixes: QTBUG-126655
Change-Id: I999643f9e336af7dd98849897a18c731340ea932
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2024-08-20 10:46:48 +03:00
Mikko Gronoff
78e3092015 qtwebengine: update chromium branch
Updated to 122-based.

Change-Id: I3196e4a15d9bb714415f1c8e61778c2fb271e0f7
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2024-08-20 10:46:42 +03:00
Mikko Gronoff
eeca91ef6c qmlcompilerplus: Update licenses
SPDX license changes were applied on the module.

Pick-to: 6.8
Change-Id: I53f2d2d756330e24c9073dcaefae53c6ef8e3271
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2024-08-20 10:46:36 +03:00
Mikko Gronoff
3543fd8caf qtdeviceutilities: update licenses
SPDX license changes were applied on the module.

Pick-to: 6.8
Change-Id: Id41c227a182c158801398e28b571c8f96196e2e2
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2024-08-20 10:46:31 +03:00
Mikko Gronoff
45e8893c6d qtwayland: update license
HPND_LICENSE.txt location got moved a bit.

Pick-to: 6.8
Change-Id: I2e51e6b381ddb67dd16489fa743c1c4e84d06bad
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2024-08-20 10:46:23 +03:00
Mikko Gronoff
824cee83ef qtshadertools: update license
Amends commit e7c1f03660.
The MIT license got temporarily renamed with LicenseRef prefix.

Change-Id: Iafe1b3bb7511c4d8b5f0e2161433982c952cf74e
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit fb2bd89126)
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2024-08-20 10:46:17 +03:00
Mikko Gronoff
a00d1fe183 qtshadertools: update licenses
Change-Id: If9f1a03d8e41253b218af9f1945039d05331e152
Reviewed-by: Alex Bu <alex.bu@qt.io>
(cherry picked from commit e7c1f03660)
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2024-08-20 10:46:10 +03:00
Mikko Gronoff
dee86c6f31 qtbase: update patch
Update patch after commit ecf8843720a0240dc310c169a4dd605f8f0cab45
touched the patched area.

Pick-to: 6.8
Change-Id: Iba9779539bc9b3ae9e4bd2b96d038534a19f6e6f
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2024-08-20 10:46:04 +03:00
Qt Submodule Update Bot
515ac91779 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I617e1ca60a59d139cec4b99c2c5509fa728e65d1
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-08-20 10:45:58 +03:00
Ari Parkkila
ecd6b8a0e3 ptest: Enable rpath to load libraries from relative paths
Task-number: QTBUG-118680
Change-Id: I27dd5eb355326bbd46a0270e7bf51b9819550fa6
Reviewed-by:  Alexey Edelev <alexey.edelev@qt.io>
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by: Jari Helaakoski <jari.helaakoski@qt.io>
2024-08-15 09:34:32 +03:00
Christoph Fritz
bdc5526f0e qtpdf: add cups dependency
QtPDF depends on cups-config during 'bitbake <image> -c populate_sdk'.

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

Signed-off-by: Christoph Fritz <chf.fritz@googlemail.com>
Fixes: QTBUG-126996
Pick-to: 6.8
Change-Id: I28b47687159717b468373a32303447f80063d3cf
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2024-07-08 23:46:22 -07:00
Samuli Piippo
4182082028 ptest: use builtin test data
Builtin testdata packages all test data files into resources. This is
used on mobile platforms by default. Enable it for the ptest builds.
We can then remove copying of the source files for the tests.

Change-Id: I5e27b3a3a43ed2993eb5570628f023da3f1ed4d5
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
Reviewed-by: Alex Bu <alex.bu@qt.io>
2024-06-24 08:37:35 +00:00
Alex Bu
708d438421 qtlocation: update licenses
Update licenses after SPDX changes were applied to the module.

Fixes: QTBUG-126397
Pick-to: 6.8
Change-Id: Iccb2e1b64953bfe0442fb9bf8963c10f66607438
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2024-06-18 08:38:12 +03:00
Mikko Gronoff
611d24b0d7 Bump version to 6.9.0
Change-Id: Ibe3116959d0cd1352d87696bfdd8ea8fd60a8864
Reviewed-by: Jari Helaakoski <jari.helaakoski@qt.io>
2024-06-13 16:04:15 +03:00
Qt Submodule Update Bot
1ef5e7cff6 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I58223d16bcbc167b3e9eaab77167dc22ee85fc44
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-06-01 05:09:28 +00:00
Qt Submodule Update Bot
381b6c586c Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: Ib46ca020adb4342126cc5e2c04cca6e0cc15af91
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-05-31 05:51:11 +00:00
Samuli Piippo
d43b178430 layer: add compatibility to styhead
Pick-to: 6.7
Change-Id: I324ba4a26c1559e6cb3d23fb58914fec29f54ca3
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2024-05-30 11:45:31 +00:00
Khem Raj
43279a089c qt3d,qtquick3d: define IOAPI_NO_64
In yocto we can safely assume 64bit off_t as LFS is default, this helps
compile with musl which does not provide the legacy *64 APIs anymore

Fixes

src/3rdparty/assimp/src/contrib/unzip/ioapi.c:24:29: error: implicit declaration of function 'ftello'; did you mean 'ftell'? [-Wimplicit-function-declaration]
|    24 | #define FTELLO_FUNC(stream) ftello64(stream)
|       |                             ^~~~~~~~

Change-Id: I0a03b833027c55fe2d4fc1af78c5cc78f636eaff
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2024-05-30 04:45:25 -07:00
Valek Andrej
e3deb80e59 qt6: do not mix bitbake's and shell variables
Change-Id: If8eae76571574d9e6a98a591e8b9f03537c0670d
Signed-off-by: Valek Andrej <andrej.v@skyrain.eu>
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2024-05-30 09:36:10 +02:00
Qt Submodule Update Bot
6dabdc7782 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I6c7249243ed811a3b5ae24b262cf17e9dc809b6a
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-05-29 17:06:35 +00:00
Ari Parkkila
df5ae777a4 ptests: Install external resource files
Install .rcc files to support testing of loading resources at runtime.

Task-number: QTBUG-118680
Change-Id: I9963c2cdc5c51165b7656e01237f09e499a838fc
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2024-05-28 10:13:25 +03:00
Qt Submodule Update Bot
6391fcbd0d Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I1a9d5a63920a113caf03501344dae5352ddb1f85
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-05-27 16:28:14 +00:00
Samuli Piippo
f0f4c24fa1 Revert "qtquick3d: add workaround for test build failure"
This reverts commit 82fac6f29a.
Original issue has been resolved.

Change-Id: Icf547207762fc78a4df28d175772c0f8936f1cac
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2024-05-27 10:06:30 +00:00
Qt Submodule Update Bot
ae443dfd0a Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I40e3bd4823b33841e0b219b0996caef69d4d30ad
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-05-23 04:50:23 +00:00
Samuli Piippo
e055954304 coin: use more memory for the ptest testimage
More memory is needed for the testimage that runs Qt ptests.

Change-Id: I28f186cfae847261a5ae2b47091900da446c61dd
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2024-05-22 10:17:55 +00:00
Ari Parkkila
e13760ae97 ptests: Update test environment for non and root user
Export LANG only if it has not yet been defined for the current user.

Check that HOME directory exists and is writable before running tests.
For example "ptest" user is created without home directory by default.

Webengine tests expect --no-sandbox when running as root so export
environment variable to disable sandbox.

Task-number: QTBUG-118680
Change-Id: I7f40378f92e089bfb3279270ead0b92b309eeb47
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2024-05-21 09:17:44 +03:00
Samuli Piippo
dcd4f6f846 qtwebengine: add PACKAGECONFIG for x11 dependencies
webengine-ozone-x11 feature (Support GLX on qpa-xcb) has dependencies
for x11 libraries and libgl. Add all of them into new PACKAGECONFIG
that's enabled if x11 and opengl are in DISTRO_FEATURES.

libxdamage is added as new dependency as it's needed when both
ozone-x11 and webrtc are enabled.

libgl is added to make sure it's available regardless of how qtbase
has been configured (e.g. with gles2) and dependencies are not met
through it.

Pick-to: 6.7
Change-Id: I6708d3440b7f1ef5b3b8dcc3a1563e6e5fc48dc0
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
Reviewed-by: Khem Raj <raj.khem@gmail.com>
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2024-05-17 05:42:23 +00:00
Qt Submodule Update Bot
7c86e03093 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I9bcb096a55b6d98c422ac09898e8f6f095c54ec8
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-05-15 06:29:06 +00:00
Samuli Piippo
4b0b745d5e qtbase: disable dnslookup for mingw builds
Windows implementation of QDnsLookup uses features that are not
available in MinGW 9.0.0 currently used in meta-mingw layer. None
of the host tools we need with mingw require dnslookup, so disable
the feature.

Task-number: QTBUG-125290
Change-Id: I457a627824430554183f3ee463276676e31b16c5
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2024-05-14 13:07:16 +00:00
Qt Submodule Update Bot
27d604060b Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I0e6780f7eb5c0c79cf570df7b0d090bddfb2fa59
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-05-14 13:07:07 +00:00
Khem Raj
96af7a74c9 nativesdk-packagegroup-qt6-toolchain-host-addons: Add wayland dependent packages conditionally
This ensures that these packages are added only when wayland is
enabled in DISTRO_FEATURES, since now these packages do check for
this distro feature themselves, this fixes the SDK builds for eglfs
distros

Pick-to: 6.7
Change-Id: If4f231ee8999b6a7499d63d4b0bd104ab1ff510d
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2024-05-14 05:28:04 +00:00
Samuli Piippo
ca2460be0d Add vendor to CVE_PRODUCT
Add vendor information to the CVE_PRODUCT and use default assignment,
so that qt6-git.inc can be included in other non-qt-module recipes.

Pick-to: 6.7
Task-number: QTBUG-125018
Change-Id: If4aa9aede3c57886eb232f115fbf1ceaeba3cf73
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2024-05-07 10:38:55 +00:00
Qt Submodule Update Bot
b148717dec Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: Ie4c7962efb4574798aa962346778c1150fb918f5
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-05-03 22:32:15 +00:00
Qt Submodule Update Bot
291bfc8189 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: Ie28ba8212f7500eafef0d9776011f1422168ac40
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-05-02 22:14:12 +00:00
Samuli Piippo
f50783d0d3 ptest: include only needed files
Instead of removing unwanted build file, install only the required
files (executables and qmldir files).

Task-number: QTBUG-105913
Change-Id: Ifc4e2b8b290ba692f4a161e05df13eb23d68eb2a
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2024-05-02 10:52:06 +00:00
Qt Submodule Update Bot
4c59335743 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: Ieda2c835f2fc4aab0beaa5d2822fc9f04d05a606
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-04-26 16:50:00 +00:00
Qt Submodule Update Bot
dbeb327395 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: Ieea1c70062744654196c1afc22226e4e2c50060b
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-04-23 11:17:35 +00:00
Mikko Gronoff
89bf14b9c7 qtwayland: fix patch fuzz
Pick-to: 6.7 6.5
Change-Id: I37700a20205d9a5596d1270ec98d404f6a655f3e
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2024-04-18 11:58:02 +03:00
Qt Submodule Update Bot
c23d991d06 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I7e7f0c85994700898dd82a4de30d7075c0615084
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-04-18 08:57:54 +00:00
Samuli Piippo
110dbeceeb qtwayland: make wayland DISTRO_FEATURES a requirement
QtWayland requires that qtbase has been built with QT_FEATURE_wayland
enabled. By default, this is done only if 'wayland' is in the
DISTRO_FEATURES. Add check that allows qtwayland to be built only
if wayland is in the DISTRO_FEATURES.

Fixes: QTBUG-123489
Pick-to: 6.7
Change-Id: I4e6d2e093e0f38f7fa150ad25303c2f20f487981
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2024-04-17 06:28:34 +00:00
Samuli Piippo
30ede4cdd3 readme: update Yocto support table
Add Yocto styhead to support table.

Pick-to: 6.7
Change-Id: Ice7f9a188ac3bcd26ba7ab11b35d974a282a000d
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2024-04-15 16:19:02 +03:00
Samuli Piippo
68befc509e qtmultimedia: update revision
Pull in fix for non-opengl builds.

Change-Id: Ie450a54fc3d0ae5d099868842a4a105b1496ab67
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2024-04-15 13:19:02 +00:00
Ari Parkkila
48790c8df4 qtpositioning: add geoclue to packageconfig
Task-number: QTBUG-122697
Change-Id: I572c3068edc9425f1bd61d20810a6d072d9de506
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2024-04-15 09:18:29 +03:00
Samuli Piippo
de4eb1843d coin: switch one build to scarthgap
Start testing against Yocto scarthgap release.

Pick-to: 6.7
Change-Id: I70de9b7a3fce7c3c062b381533af8d86a70660f7
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2024-04-11 08:59:49 +03:00
Samuli Piippo
7e79a5e31a coin: don't use nanbield for mingw builds
Nanbield still has problems with mingw builds and fixes might
not get in before it is EOL.

Pick-to: 6.7
Change-Id: I56ee0c52269e2887a60c73049cb0d9deac11247c
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2024-04-11 08:59:44 +03:00
Samuli Piippo
271a60cafc qtbase: disable stack protector for mingw
QtBase will now enable -fstack-protector-strong for all builds,
but mingw builds fail with undefined reference to `__stack_chk_guard'.

Change-Id: I5f71dfd347481b3072eb2cc9c50ec504a829973b
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2024-04-10 08:36:34 +00:00
Mikko Gronoff
e0ef8e212c qtwayland: fix patch fuzz
Change-Id: I1f475af29ecdb3da5fa56b2549bc384ff040739d
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
(cherry picked from commit f7808792e9)
2024-04-10 11:36:26 +03:00
Qt Submodule Update Bot
5bd63749d2 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: Icb0ed8451ea59d1f7f2ae6ddba3fd8fe2bec7525
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-04-10 08:36:20 +00:00
Ari Parkkila
600f22c4a1 qtdatavis3d: add feature_check for opengl
Co-authored-by: Sakib Sajal
Pick-to: 6.7 6.6 6.5
Fixes: QTBUG-114912
Change-Id: Idfea16557eb4f068b9cb67412bd1dba0df966a20
Reviewed-by: Jari Helaakoski <jari.helaakoski@qt.io>
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2024-03-21 14:16:21 +02:00
Samuli Piippo
e55637648a ptest: disable examples build
After qtbase change 62905163bf887c2c2c9ba7edcd64c96d237a6e95, we need
to disable examples for the ptest build.

Change-Id: Ib6787b6e0f1ab17d3fa93ec7c4f98d92053f1ff2
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2024-03-21 06:49:13 +00:00
Mikko Gronoff
97ae6a2487 qtbase: fix patch fuzz
Change-Id: I286a9e70eb7e4a57f9398dc88dd61aaff90a9aea
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
(cherry picked from commit 64d0ebee63)
2024-03-15 19:30:25 +00:00
Qt Submodule Update Bot
84a80ddd33 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: Ieb02458ffc086ffad895bc09b91ca86cb3f498b2
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-03-15 19:30:24 +00:00
Samuli Piippo
c174f9a5dd qtbase: don't generate qmake wrapper
Do not generate qmake wrapper scripts in target builds. It does
not work as expected. If you need to have qmake for target,
use QT_FORCE_BUILD_TOOLS variable instead.

Pick-to: 6.7
Fixes: QTBUG-122420
Change-Id: I711a53a553e7cbb5439a070f2629b66024e22d16
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2024-03-05 14:04:56 +00:00
Samuli Piippo
fef1539e33 qtbase: add PACKAGECONFIG for wayland support
Qtbase now has configuration test for enabling wayland support.
It needs to be enabled for QtWayland to work. Add new PACKAGECONFIG
option to make sure it's enabled when DISTRO_FEATURES has wayland.

Pick-to: 6.7
Task-number: QTBUG-117386
Change-Id: If5d88eb3de5422e19bf61919fceda37b05d705c1
Reviewed-by: Alex Bu <alex.bu@qt.io>
2024-02-27 12:39:00 +00:00
Qt Submodule Update Bot
185cdd84e1 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I11f4603899302ab0556a18ac10f279050c21a8bd
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-02-26 07:29:04 +00:00
Qt Submodule Update Bot
71e791ff49 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I19ee780dea3f8b000f603af0e7996589945e70d1
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-02-20 04:06:37 +00:00
Samuli Piippo
82fac6f29a qtquick3d: add workaround for test build failure
The OpenXR feature does not work correctly with the
ptest build, add workaround to make it pass.

Task-number: QTBUG-122205
Change-Id: I6237549f2e0098f6796e8b7f5abd59e9dd8fd2c5
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2024-02-13 10:31:43 +00:00
Qt Submodule Update Bot
f3ca5bd39b Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: Ibde04e05dca8ac939b53afc4ade084cd99383530
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-02-13 10:31:28 +00:00
Samuli Piippo
3c24d5dfd2 layer.conf: update LAYERSERIES_COMPAT for scarthgap
oe-core as switched to scarthgap

Pick-to: 6.7 6.6 6.5
Change-Id: Ica326b8be4a23a5b6a52667a98740720185a6f73
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2024-02-12 09:11:01 +00:00
Samuli Piippo
b8a440f310 qtbase: prefer system png
Update PACKAGECONFIG[png] to make sure we use the system libpng
as expected.

Fixes: QTBUG-121795
Pick-to: 6.7 6.6 6.5
Change-Id: I051a9a40a9a7bfd001b77c51db9eab2b19147efb
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2024-02-12 09:10:53 +00:00
Samuli Piippo
a18047ef52 packagegroup: add Qt modules only on supported archs
QtQuick3dPhysics, QtPdf and QtWebengine have limited
architecture support.

Pick-to: 6.7 6.6 6.5
Change-Id: Icf1d7628de5365825c79030462f019b15d9ae9a0
Reviewed-by: Alex Bu <alex.bu@qt.io>
2024-02-12 09:10:47 +00:00
Kai Kang
635948ee8a qtdoc: only add qtpdf to DEPENDS for machines in COMPATIBLE_MACHINE
qtpdf includes chromium-gn.inc which set COMPATIBLE_MACHINE. For arm, it
is only compatible with armv6 armv7a and armv7ve. So only add to DEPENDS
for these machines.

Pick-to: 6.7
Change-Id: Id5601f9e6ebd7427431115f556b9982645e9c1c4
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2024-02-06 07:11:43 +00:00
Khem Raj
88c7940a31 qtwebengine: Remove setting --target option with yocto
This option is not needed to be set with OE when using clang because OE
passes correct tuple which is recognised by OE based distros correctly.
Otherwise search paths for C runtime files goes awry and we get cryptic
linking failures like

ld.lld: error: cannot open crtbeginS.o: No such file or directory
ld.lld: error: cannot open crtendS.o: No such file or directory
aarch64-yoe-linux-clang++: error: linker command failed with exit code 1 (use -v to see invocation)

Pick-to: 6.7
Change-Id: Id445fb44adc3b9603109fe4763bd6344370cffff
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2024-02-06 07:11:21 +00:00
Samuli Piippo
a36b5a05b4 libwebp: add workaround for native build
QtWebengine requires libwebp-native, but support for it was added
in nanbield. To support kirkstone builds, add bbappend to enable
the native builds.

Pick-to: 6.7
Change-Id: Id94addf24f19552b6fb6fc074e0a5c51199b877f
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2024-02-06 07:11:09 +00:00
Khem Raj
bc941d6f9a qtwebengine: Add missing dependency on native libevent.pc
Latest qtwebengine does the right thing by not looking into build host's
rootfs but this means we need to add libevent to native sysroot to meet
this dependency, otherwise gn fails to find it and build fails like
below

Fixes:

    |   -- GN FAILED
    |-
    |   ERROR at //build/config/linux/pkg_config.gni:104:17
    |   (//build/toolchain/yocto:yocto_native): Script returned non-zero exit code.
    |-
    |       pkgresult = exec_script(pkg_config_script, args, "value")
    |                   ^----------
    |-
    |   Current dir:
    |   /mnt/b/yoe/master/build/tmp/work/cortexa72-yoe-linux/qtwebengine/6.6.2/build/src/core/Release/aarch64/
    |-
    |-
    |   Command:
    |   /mnt/b/yoe/master/build/tmp/work/cortexa72-yoe-linux/qtwebengine/6.6.2/recipe-sysroot-native/usr/bin/python3-native/python3
    |   /mnt/b/yoe/master/build/tmp/work/cortexa72-yoe-linux/qtwebengine/6.6.2/git/src/3rdparty/chromium/build/config/linux/pkg-config.py
    |   -p
    |   /mnt/b/yoe/master/build/tmp/work/cortexa72-yoe-linux/qtwebengine/6.6.2/recipe-sysroot-native/usr/bin/pkg-config-native
    |   libevent
    |-
    |   Returned 1.
    |-
    |   stderr:
    |-
    |-
    |-
    |   Package libevent was not found in the pkg-config search path.
    |-
    |   Perhaps you should add the directory containing `libevent.pc'
    |-
    |   to the PKG_CONFIG_PATH environment variable
    |-
    |   No package 'libevent' found
    |-
    |   Could not run pkg-config.

Pick-to: 6.7
Change-Id: I66d8806be14d2d4d57dca2d93688d5b58e0e1cb6
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2024-02-06 07:11:04 +00:00
Khem Raj
5daa561cad qtwebengine: Pass OE specific pkg-config-native for host pkg-config
chromium has a way to use right pkg-config for in-tree hosttools which
are built and used during cross build of qtwebengine, since OE
pkg-config environment is set for detecting .pc files from sysroot,it
ends up reading wrong pkg-config files for host pieces and adds
-L<sysroot>/usr/lib to linker cmdline for hosttools too, this goes by
fine with gnu BFD linker since it ignores linker script files like
<sysroot>/usr/lib/libc.so, but when we use LLD linker, it ends up in
error, because it tries to process the content of libc.so which have
target absolute paths for ldso etc. /usr/lib/ld-linux-aarch64.so.1
LLD tries to open these files and ofcouse can't find them because
they are only found in target sysroot.

The underlying problem is that we need to be explicit about pkg-config
which is  thusly implemented by this patch. This fixes build with
clang+lld and link times for qtwebegine is reduced by 26% in my case.

Pick-to: 6.7
Change-Id: Id091200444eb97d4b44d984888a8aa16b75ff9d7
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2024-02-06 07:10:58 +00:00
Samuli Piippo
8d3758ce9e packagegroup: fix warning caused by inherit_defer
Yocto scarthgap is now using inherit_defer which causes allarch
to be inherited last, when nativesdk wants to always be the last one.
Workaround this by setting PACKAGE_ARCH to empty, which causes the
allarch inherit to be skipped. PACKAGE_ARCH will still end up being
the same value, as packagegroup will set it correctly.

Fixes QA Issue: nativesdk-packagegroup-qt6-toolchain-host: native/nativesdk
class is not inherited last, this can result in unexpected behaviour.

Pick-to: 6.7 6.6 6.5
Change-Id: I0457a62333d88b14c3330e3349f585dc6c3eec35
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2024-01-31 09:59:45 +00:00
Samuli Piippo
564f560b50 coin: update build targets
Add 6.7 to test matrix and reshulffle the build targets.
mickledore is EOL, drop it from active testing.

Pick-to: 6.7
Change-Id: Ia371a06c10b3f66956227d5d7c0357cb83097f87
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2024-01-30 08:13:20 +02:00
Samuli Piippo
c0b9c32fbc ptest: skip non-existing tests
ctest might list tests that don't have executable, such as
QMLTESTs, that are run with qmltestrunner. Skip these tests.

Pick-to: 6.7 6.6
Fixes: WEBOSCI-62
Change-Id: If8e3ce657d86469b8a83a05146e6698b8c5452d3
Reviewed-by: Alex Bu <alex.bu@qt.io>
2024-01-29 12:49:33 +00:00
Qt Submodule Update Bot
20596ba439 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I9888d204cb4651cec4f65f0d87dd5c3bc263deef
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-01-29 08:06:12 +00:00
Samuli Piippo
d457a6e717 Add recipe for QtDoc
QtDoc does not have any libraries, but it provides set of nicer
demos.

Pick-to: 6.7
Change-Id: I17c229c0a37f6e86bef5914cf5a2824fadfe73cd
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2024-01-26 05:27:15 +00:00
Qt Submodule Update Bot
8fb854dcdd Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I93f866be051314b451d7f63b0e786d69b7a337f9
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-01-17 08:15:52 +00:00
Qt Submodule Update Bot
26e4c0e353 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I52e5aa542930acb8f5010d0cbfba3aa4ed93d959
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-01-16 14:17:49 +00:00
Mikko Gronoff
7e80a1296c webengine: update patch
Change-Id: I2c9df3bde7b0c6776cfd3a32093047fad1bd7256
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2023-12-27 11:06:41 +02:00
Qt Submodule Update Bot
04f8e6b271 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I3d172f56569b505b9f47c348cec42d3d35e9e6ac
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-12-27 09:06:34 +00:00
Samuli Piippo
5e20524950 ptest: better handling for test list
Use ctest to find all tests to run as not all of them start with
a tst_ prefix. This is done by parsing the json output of ctest.
Add all test sources to the package as there are data files in
some tests that are needed.

Remove qmake support, since it's not supported when building
Qt module.

QtDeviceUtilities had includes in wrong order, so ptest runner was
never added to the package.

Task-number: QTBUG-118680
Pick-to: 6.7 6.6
Change-Id: I6397cb1fd331941a3425bf627676b6387ab8bb8d
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2023-12-21 08:05:48 +00:00
Samuli Piippo
f56893e8c1 Add srcrev for QtDoc
QtDoc provides more demos.

Pick-to: 6.7
Change-Id: I6e3cfa51d053b3f3b775acb964cf0d47cfcec09f
Reviewed-by: Kimmo Ollila <kimmo.ollila@qt.io>
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-12-20 08:49:25 +00:00
Samuli Piippo
7941caa131 pytest-qt: upgrade to latest version
Update python3-pytest-qt to version 4.2.0.

Pick-to: 6.7 6.6
Change-Id: Ib3cd21aaae59be4dbc02552c665e4c4f585e7cb2
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-12-19 11:55:30 +00:00
Mikko Gronoff
3bed409064 Bump version to 6.8.0
Change-Id: I40a79a3f1749a2a8647aa963d881b6dacf307d26
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2023-12-17 15:38:59 +02:00
Qt Submodule Update Bot
ef6320bb26 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I7d7d7fd31748e2e73cf38c97f5370a7022382861
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-12-16 03:13:40 +00:00
Qt Submodule Update Bot
1e336d2c9c Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: Ida6d64c059f16f6b8d7be484406110ddedfecee1
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-12-14 12:21:12 +00:00
Samuli Piippo
e56bb1b822 qtwebengine: update to 118-based
Update QtWebEngine and QtPdf to use 118-based chromium.

Change-Id: I9a09b33156240ac8da850cf60984ba1986c5f474
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 4b105e589b)
2023-12-14 12:21:11 +00:00
Samuli Piippo
a6c21eed21 srcrev_update: support for all recipes
Add variable to find base dir for meta-qt6 and use that in
srcrev-update to support using it in any recipe.

Pick-to: 6.7 6.6
Change-Id: I91960508a8ec96ee6fe7af69046915f048925f62
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-12-13 14:55:39 +00:00
Samuli Piippo
13ce6ff6bd qttools: use clang if it is available
Use clang from meta-clang if the layer is available. Only tools require
clang, so skip target build as tools are not enabled by default.
Cannot use clang with mingw32 as it doesn't have python support.

Pick-to: 6.7 6.6
Change-Id: I1c43a816f81eeb5cdd28c5d05316e9e137514f58
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-12-13 14:55:33 +00:00
Samuli Piippo
0ed7c766db qtinterfaceframework: fix packaging error
Packaging has errors:
  Multiple shlib providers for libInstrumentCluster.so.
This lib is in examples and needs to be marked as a private lib.

Pick-to: 6.7
Change-Id: I38130d76d8749ca10aeeff0bb2eac9711a800b53
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-12-13 14:55:26 +00:00
Samuli Piippo
7b5020d1a1 qtinterfaceframework: remove simulation and reference api
The simulation and reference api implementations were removed from
qtinterfaceframework module.

Change-Id: Iff7bcd4591d0e8955d2a96aa8fe31f2af103a0cb
Reviewed-by: Dominik Holland <dominik.holland@qt.io>
2023-12-04 17:35:22 +00:00
Qt Submodule Update Bot
e3e5eaa498 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I7ed1ff8df77ef67d698e71588459ff405cf7d244
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-12-04 17:35:21 +00:00
Qt Submodule Update Bot
273c409085 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I62853d541f9f335981cdf1433ee0c430bdc1b039
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-12-02 06:43:08 +00:00
Qt Submodule Update Bot
92d4ab3918 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I0af22df0e3ee517babe4124eb29e1d419b93b56b
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-12-01 05:13:11 +00:00
Samuli Piippo
0f13864a9b qtdeclarative: add dependency to qtsvg
New tool, svgtoqml, was added to qtdeclarative that depends on QtSvg.
Make qtsvg buildable for native and nativesdk, and add dependency to it.

Change-Id: I1778842f4562017580f148267a2a2390098c20f2
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-12-01 05:13:10 +00:00
Samuli Piippo
5cfc35d4f0 qtbase: fix QLibraryInfo prefix with usrmerge
If Qt is configured to use 'relocatable' feature, QLibraryInfo will
at runtime try to determine its prefix path. If distro is using
usrmerge, Qt libraries are found from '/lib' before '/usr/lib' causing
Qt to use wrong prefix '/' when Qt was configure with '/usr' prefix.

With Yocto builds, we have no need for the relocatable feature,
disable it to avoid issues in usrmerge distros.

Pick-to: 6.6 6.5
Fixes: QTBUG-119140
Change-Id: Ied2ca04b5d46cff5d4bed1c456e95235156c58f0
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2023-11-30 07:06:11 +00:00
Qt Submodule Update Bot
941adb0bd2 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I760ee01c356a4f9b2c146f575c34e2a9bbe7441e
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-11-25 04:56:21 +00:00
Qt Submodule Update Bot
689f70bffb Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I59804998a1245d3b1a2356513a01d23d17d8a685
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-11-22 11:32:39 +00:00
Qt Submodule Update Bot
a9ff2a811f Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I489a359a1765d4ead0badd567a38b1cbe25dbceb
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-11-20 18:32:16 +00:00
Samuli Piippo
ac54355589 qt3d: remove upstreamed patch
Assimp is now updated to version that has the patch applied.

Change-Id: Ib33974d44ada36f79d73f81689fb91cd6d94a355
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-11-17 09:06:22 +00:00
Qt Submodule Update Bot
0ba1a38914 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: Idb63eeed28e3b11389a425e3b0508a9a4334bcb3
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-11-17 09:06:14 +00:00
Samuli Piippo
5658c882ff coin: add test config for build ptest image
Include file that can be used to create test image with
all Qt ptest packages included.

Change-Id: I9f618a3d380b4d0f3bb4d650d114f29aeffc857c
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-11-17 09:05:50 +00:00
Samuli Piippo
3dc62ec47b qmlcompiler: enable ptest
Issues resolved and the tests can be enabled.

Pick-to: 6.6 6.5
Change-Id: I8c8c0ad8b9864589ed4248a9157159bb55d26407
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-11-17 09:05:42 +00:00
Samuli Piippo
c5d2c93ba1 qtwebengine: enable ptest
Issues resolved and the tests can be enabled.

Pick-to: 6.6 6.5
Change-Id: I052259b23b9836e84faa07be9123078b5bdb7d2d
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-11-17 09:05:35 +00:00
Samuli Piippo
51bd35a9f9 qtconnectivity: enable ptest
Issues resolved and the tests can be enabled.

Pick-to: 6.6 6.5
Change-Id: Ia50bf85c006fef63a65762bd37204f86299e7bf9
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-11-17 09:05:27 +00:00
Samuli Piippo
097cfd9d54 ptest: better ptest support
Make run-ptest script correctly log passed and failed tests.
Set env variables to make more tests pass correctly.

Pick-to: 6.6 6.5
Change-Id: I3c23a0a093b396df6b88aedc51a15a871f1ba9e9
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-11-17 09:05:20 +00:00
Samuli Piippo
44f08284c7 Revert "protobuf: add workaround for qtgrpc"
This reverts commit f00bd7134e.
Fix has been merged to meta-openembedded

Fixes: QTBUG-118868
Pick-to: 6.6 6.5
Change-Id: I2d5f03d49e48605dad2bbc0b0c6885fe3f73ef75
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-11-15 10:05:47 +00:00
Samuli Piippo
550194a77a coin: add CI build for nanbield
Add separate build for nanbield. Update readme for the supported
branches. Next Yocto release (scarthgap) will be LTS relase,
aim to support it from Qt 6.5 upwards.

Pick-to: 6.6 6.5
Change-Id: I37141b4d2a93fc6b276de906dbb7ba60b2733c41
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-11-14 07:52:47 +00:00
Qt Submodule Update Bot
c7cfbb3e9d Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I787fdc259f4e234676079121b8ed988adbcad94d
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-11-13 22:33:33 +00:00
Qt Submodule Update Bot
b6a015f0a5 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: Ibebe15349ae4605a9d9326d0bf33ad28e737c7b1
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-11-13 15:52:52 +00:00
Kai Kang
2f7cd39ed9 qtgrpc: update to latest revision to fix build failure
Update qtgrpc to latest revision. It reverts

"Require protobuf 3.12 as the minimal supported version"

which causes qtgrpc-native link error.

Change-Id: I186b3dd42460f623e3dd210f2e9bb33fbf120554
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2023-11-09 16:11:23 +08:00
Samuli Piippo
f00bd7134e protobuf: add workaround for qtgrpc
If protoc is enabled for the build, recipes using protobuf will
fail when protoc is not available in the recipe sysroot:

|   The imported target "protobuf::protoc" references the file
|
|      ".../recipe-sysroot/usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-pokysdk-linux/usr/bin/protoc-3.21.5.0"
|
|   but this file does not exist.  Possible reasons include:
|
|   * The file was deleted, renamed, or moved to another location.
|
|   * An install or uninstall procedure did not complete successfully.
|
|   * The installation package was faulty and contained
|
|      ".../recipe-sysroot/usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-pokysdk-linux/usr/lib/cmake/protobuf/protobuf-targets.cmake"
|
|   but not all the files it references.

Use SYSROOT_DIRS to stage the binary to sysroot so it's always
available for other recipes.

Pick-to: 6.6 6.5
Change-Id: I588c54d0459dbb88bc080e8bf55902e851a0a1d8
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-11-06 14:06:55 +00:00
Michal Klocek
4a78cb1c2d Remove old patches from qtwebengine
The workaround for long rsp file is an old patch
from qt5 times, which should not be needed in qt6
as used toolchains are in-source, therefore created
toolchain labels and later rsp files should not embedded
absolute paths, but simply use 'build/toolchain/yocto'
as this is a location of yocto toochain with-in source
tree.

The second patch is fixed in 112-based in 29354c7c7de.

Task-number: QTBUG-59769
Change-Id: I94a610c4562463f5de3f8bbb29915e05cf40e640
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
(cherry picked from commit bdbb28f362)
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-10-20 05:44:59 +00:00
Qt Submodule Update Bot
8a047bd3be Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: Ie5705beb5bf5691f6fdc19bd048268ab7c3a294c
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-10-20 05:44:58 +00:00
Samuli Piippo
511db28072 Workaround too eager packagegroup sanity check
Amend 95fa269ffa and add same workaround
also for the commercial packagegroup to prevent QA error: "An allarch
packagegroup shouldn't depend on packages which are dynamically renamed."

Pick-to: 6.6 6.5
Change-Id: I6eaee9aa74681cfb70fb738d966cd7381f4bcdb0
Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
2023-10-19 05:25:43 +00:00
Samuli Piippo
bc1179c5a3 Remove checks for required meta layers
Since meta-openembedded and meta-python are now dependencies,
we can simplify some of the recipes that were checking if the
layers were available. Now always use the features available
from those layers.

Pick-to: 6.6 6.5
Change-Id: Ia70658e0c64b916c9d36ad9aca4c40172b86b5b6
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-10-18 12:39:59 +00:00
Martin Jansa
2713f52a6f layer.conf: fix LAYERDEPENDS_qt6-layer
* qtgrpc depends on protobuf from meta-oe:

  ERROR: Nothing PROVIDES 'protobuf-native' (but /OE/build/oe-core/meta-qt6/recipes-qt/qt6/qtgrpc_git.bb DEPENDS on or otherwise requires it). Close matches:
    popt-native
    xcb-proto-native
    xorgproto-native
  ERROR: Required build target 'meta-world-pkgdata' has no buildable providers.
  Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'qtgrpc', 'protobuf-native']

* and qtpdf, qtwebengine depend python3-html5lib-native on from meta-python:

  ERROR: Nothing PROVIDES 'python3-html5lib-native' (but /OE/build/oe-core/meta-qt6/recipes-qt/qt6/qtpdf_git.bb, /OE/build/oe-core/meta-qt6/recipes-qt/qt6/qtwebengine_git.bb DEPENDS on or otherwise requires it). Close matches:
    python3-toml-native
    python3-tomli-native
    python3-urllib3-native
  ERROR: Required build target 'meta-world-pkgdata' has no buildable providers.
  Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'qtpdf', 'python3-html5lib-native']

Pick-to: 6.6 6.5
Change-Id: I616e03e3a259e532e4ccd6ec87a2975c063837fc
Reviewed-by: Martin Jansa <Martin.Jansa@gmail.com>
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2023-10-18 12:39:51 +00:00
Samuli Piippo
3df4dfb2e2 qtgraphs: remove opengl requirement
QtGraphs no longer requires opengl to work.

Pick-to: 6.6
Change-Id: I03e166dc2d4265b74156f17d56ba4e20bc180bfd
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-10-17 11:45:51 +00:00
Qt Submodule Update Bot
6ec6b62dad Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I763565f0920efb1bf17cd424334098ab08a03685
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-10-12 16:58:36 +00:00
Samuli Piippo
4b5f7744d4 qtbase: add PACKAGECONFIG for egldevice platform plugin
The eglfs EglDevice platform plugin is used only in NVIDIA boards.
Add separate PACKAGECONFIG so it can be disabled by default,
otherwise it gets built whenever kms is enabled.

Pick-to: 6.6 6.5
Change-Id: I98b56f4ff1c9dc04a0c0df3ab51f908608c52fbd
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-10-12 12:03:32 +00:00
Qt Submodule Update Bot
b091031439 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: Ia8a29b697788adefe484610b307f061639bcc518
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-10-05 22:40:08 +00:00
Qt Submodule Update Bot
080d5982c0 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: Ib7afe389db2d60529d36fe2b41f51c299e3074fa
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-10-04 13:42:23 +00:00
Samuli Piippo
32e8ea4dce readme: remove notes about webengine testing
Old Yocto releases are no longer supported, so the note about
testing for old releases is no longer relevant.

Change-Id: I49808cd5b2b95ebcb6012b836c7df447d1782475
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-10-04 13:08:43 +03:00
Samuli Piippo
234a3be0a8 qtapplicationmanager: remove unneeded CFLAGS
Use of execinfo has been fixed in the module, no need
to add flags here.

Change-Id: I65bbb6e304c59d345e2425f5e9da7f8006479925
Reviewed-by: Khem Raj <raj.khem@gmail.com>
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-10-04 10:08:36 +00:00
Samuli Piippo
9566cdd31e qtopcua: add support for native and nativesdk
Starting with Qt 6.7, Qt OPC UA comes with a data type generator.
Add support for native and nativesdk builds.

Change-Id: Ia840870417e39862f04f02ba8da868a5659acd14
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-10-03 07:43:31 +00:00
Qt Submodule Update Bot
b0041aef2c Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I46cff826d8e052ad53a18a6ccdf05fe241b690dd
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-10-03 07:43:06 +00:00
Andreas Cord-Landwehr
806a39f3ac qtbase: add at-spi2-core as dependency for accessibility option
Without at-spi2-core the SPI bridge API is not being built.

Pick-to: 6.6 6.5
Change-Id: I49232f933b96597fba721473dd7dcf894d60d9cd
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2023-10-02 16:37:18 +02:00
Samuli Piippo
0f91287175 readme: Add link to bug tracker
Pick-to: 6.6 6.5
Change-Id: Ida7529550d0ef2d816f86d82c1feaa581e0b624f
Reviewed-by: Inkamari Harjula <inkamari.harjula@qt.io>
2023-10-02 11:38:19 +03:00
Samuli Piippo
98eb819c18 qtmultimedia: enable ffmpeg only if its license is accepted
QtMultimedia can use FFmpeg, but it has has somewhat problematic license
and user must accept it before it can be built. Enable FFmpeg backend
by default only if the license has been accepted in LICENSE_FLAGS_ACCEPTED.

Pick-to: 6.6 6.5
Change-Id: If23ee18fa7ac7f92f58bf9d09d8e96aedd08b625
Reviewed-by: Inkamari Harjula <inkamari.harjula@qt.io>
2023-10-02 11:38:09 +03:00
Qt Submodule Update Bot
96c3988dab Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: Ia3fe4693cc260c9b8470a00a9f7c6dbc30025258
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-09-27 11:45:41 +00:00
Samuli Piippo
12b1d381ea Revert "qtbase: fix build with kirkstone"
This reverts commit fd946afc0a.
Fix was merged in qtbase.

Change-Id: I16c05ad1f681a8a92b83c2bad6aa69de8ab2e35f
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-09-26 13:53:05 +00:00
Qt Submodule Update Bot
add471f503 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: Ie43409b68ac47a4f970b2f812a0b14580d60ea4d
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-09-25 13:06:09 +00:00
Qt Submodule Update Bot
60deda9f57 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I22fd0a05b06f87f7dc9195a81c4ec0f95ec189d7
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-09-21 10:47:46 +00:00
Qt Submodule Update Bot
6b66a78f1b Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I6ae1be46a869ab5bf5b67253634bf663c69599e5
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-09-19 23:18:58 +00:00
Qt Submodule Update Bot
a674050be5 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I8f14e07947bd37f437c4612908876378566c426d
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-09-18 20:33:30 +00:00
Samuli Piippo
1fd1ae94de Revert "qtwebengine: fix build without DRI"
This reverts commit 9ef6d50fa2.
Patch was merged upstream.

Change-Id: I967fe401fe91fdf4776b3a9646c5db98bd6b0f3b
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
(cherry picked from commit 5695e5a52e)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2023-09-18 10:01:08 +00:00
Khem Raj
8c738d89dd qtapplicationmanager: Fix build with musl
execinfo is not part of main C library on musl, but we do have a package
providing that, therefore depend on it when using musl.

Change-Id: I99b1651b5a8096a3014be3588a84e21ddac1c761
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2023-09-13 17:19:49 +00:00
Samuli Piippo
6c221de4fb layer.conf: update LAYERSERIES_COMPAT for nanbield
oe-core as switched to nanbield.

Pick-to: 6.6 6.5
Change-Id: Iebc445cea81d1449f0564f036787c44ba6aa8a87
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-09-11 17:34:56 +00:00
Qt Submodule Update Bot
437af2514a Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I1272826584466e6af0a2f3e9934bdb7ccc302457
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-08-31 11:36:33 +00:00
Qt Submodule Update Bot
192b21fdf4 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I180e4c23a31daeafa5e9b489658be6bb4ad8a995
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-08-31 07:01:04 +00:00
Jaeyoon Jung
7c2a20a1c5 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

Pick-to: 6.6 6.5 6.2
Change-Id: I49c88711be4ca09425fa71f8ce8eda88256370f6
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2023-08-30 10:26:02 +00:00
Khem Raj
76801cc905 qtbase: Add locale-base-c only on glibc based targets
Musl e.g. does not provide these locales

Change-Id: I41071c2a2e3eef0fdf653cc80a31f72f22f93893
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2023-08-29 17:32:54 -07:00
Samuli Piippo
deab0703da 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
Pick-to: 6.6 6.5 6.2
Change-Id: Ic6c5a6c80011dfefc92e1b2d7aadc48cce82ed7a
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2023-08-28 09:43:33 +00:00
Samuli Piippo
284bfb1174 Conversion script to use new module names
meta-qt6 is planned to be as much as possible a drop-in replacement
for meta-qt5 layer. All the Qt module recipes use the same names as
the ones in meta-qt5. This means that both meta-qt5 and meta-qt6
layers can not be used at the same and adding both Qt5 and Qt6 to
the same image is not possible.

This script does a brute force rename for all the module names to make
it possible to use both layers at the same time. The new module names
get '6' postfix e.g. qtbase6, qtdeclarative6, qtdeclarative6-native.

Since both Qt versions deploy files with same names, the install paths
for either meta-qt5 or meta-qt6 must be changed.

For meta-qt5:

  QT_DIR_NAME  = "/qt5"

For meta-qt6:

  QT6_INSTALL_BINDIR:append = "/qt6"
  QT6_INSTALL_DATADIR:append = "/qt6"
  QT6_INSTALL_PLUGINSDIR:append = "/qt6"
  QT6_INSTALL_QMLDIR:append = "/qt6"
  QT6_INSTALL_TRANSLATIONSDIR:append = "/qt6"
  EXTRANATIVEPATH:append = "/qt6"

configured in a suitable global configuration file.

Change-Id: I141e3b7a2d6c7df8795e67311e06e7a0465de91a
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-08-28 09:43:23 +00:00
Samuli Piippo
7f09ce9d51 qtwebengine: fix build without DRI
Task-number: QTBUG-116152
Change-Id: Idfdf639edf3dd09928f865dafd3f73ffcef1fa7d
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
(cherry picked from commit 9ef6d50fa2)
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-08-25 18:09:49 +00:00
Samuli Piippo
ff3b6d4269 qtdeclarative: add dependency to QtSvg for example
Examples now have dependency to QtSvg, include it if examples
are enabled.

Pick-to: 6.6
Change-Id: Ie049a282456f3647b280b788a3a589c74aeedeba
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-08-25 08:38:21 +00:00
Qt Submodule Update Bot
c858fd3c0a Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: Iebf110c8bb5a489510be6a68e89d47d4dc8d62a4
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-08-25 08:38:19 +00:00
Samuli Piippo
fef57b1545 qtwebengine: fix x86_64 build of ffmpeg
Backport fix from oe-core/ffmpeg.

Pick-to: 6.6 6.5
Change-Id: Id1fec1ef32f3ce8233c57a6caab18457ca3f8a72
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-08-22 13:03:58 +00:00
Michael Brüning
f6f7f8b569 Use std::size_t instead of int to store position in string
Using int caused a compilation error with GCC 12.

Fixes: QTBUG-115981
Change-Id: I82107b143995ced6de0facb41e9964e42148d402
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 7d72d5053a)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2023-08-22 13:03:53 +00:00
Mikko Gronoff
94ee1bcf16 qtwebengine: update chromium branch
Now using 112 branch.

Change-Id: I193759ca61b6b09c23865a54cb6be3477e67e849
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
(cherry picked from commit d40da8f6cb)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2023-08-22 13:03:49 +00:00
Qt Submodule Update Bot
fff78c0a11 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: Iec9c4e23d13c5c34584064063e3442a592e5304a
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-08-22 13:03:44 +00:00
Mikko Gronoff
c7ce220082 coin: Add workaround for static build in CI
After 35cb20a3556a6987d31090cdc3f77126efceaab0 landed in
qtapplicationmanager we need to disable multi-process pkgconfig in static build to fix build issue:

"ERROR: Feature "am_multi_process": Forcing to "ON" breaks its condition"

Change-Id: Idd901baf72236db2a21c25d5b6a905c1246e0c6a
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
(cherry picked from commit b2ae9232f6)
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-08-22 13:03:40 +00:00
Samuli Piippo
13b98403f5 spirv-tools: remove bbappend
Dunfell is no longer supported, remove unneeded bbappend.

Change-Id: I1249fd9cd6e2344216f225c2aa9e68b65834a9e6
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-08-22 13:03:36 +00:00
Samuli Piippo
77264c52e7 python: remove duplicate python recipes
The recipes were duplicated from meta-python in order to support
build with dunfell release. Since that is no longer supported,
we can remove the recipes.

Change-Id: I897bf06f62107c2a14a54fcff9f3be0ebcce7f99
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-08-22 13:03:31 +00:00
Samuli Piippo
fd946afc0a qtbase: fix build with kirkstone
sqlite3 is too old for the current code in qtbase.

Change-Id: I53d31b8d247590a45bf20971758be31f3404629e
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-08-22 13:03:27 +00:00
Samuli Piippo
30dfd502b3 coin: remove langdale from CI tests
Langdale is now EOL, stop testing Qt against it.

Pick-to: 6.6 6.5
Change-Id: Idba5e353ef3ec484e088fe831ed59f54d70b3acf
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-08-22 13:03:22 +00:00
Samuli Piippo
b06c0b1d69 Drop support for older Yocto releases
Kirkstone will be the oldests Yocto release supported by Qt 6.7.
Qt 6.7 will be released in spring 2024, at which point Dunfell
will be EOL.

Change-Id: I8fee78d4d75401a502762e4b28987a07bfdd1af4
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Reviewed-by: Tommi Mänttäri <tommi.manttari@qt.io>
2023-08-22 13:03:16 +00:00
Samuli Piippo
12f78361ed coin: add workaround for QA warning on qemu
QEMU has QA warning on runtime dependencies which breaks
our CI build since they are treated as errors.

Pick-to: 6.6 6.5
Change-Id: I1f2699d62d556b538da85aa12d8c2ec91483fb0b
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-08-16 22:16:33 +03:00
Samuli Piippo
90226dfc47 coin: use INIT_MANAGER to select systemd
Yocto has INIT_MANAGER variable that can be used to select
the init manager. Use it instead of doing all to separate
changes ourselves.

Pick-to: 6.6 6.5
Change-Id: I8aa31de9116048628a55d630ed3296fac28dfec8
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-08-16 19:16:27 +00:00
Samuli Piippo
69a8018ec1 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
Pick-to: 6.6 6.5 6.2
Change-Id: Icce264b1f2bff5f56cf2b40a0420c5001493e236
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-08-15 12:00:58 +00:00
Samuli Piippo
c0318a6ad8 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
Pick-to: 6.6 6.5 6.2
Change-Id: I5b713d3a65f794da1ab0113cf1d7f69035e29288
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-08-15 12:00:40 +00:00
Samuli Piippo
21beafaf82 readme: add note about release branches and tags
Pick-to: 6.6 6.5 6.2
Fixes: QTBUG-114723
Change-Id: I2f6b4ce365b53ec7bd96555c0d6fcbea0e7e50cd
Reviewed-by: <inkamari.harjula@qt.io>
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-08-15 15:00:31 +03:00
Khem Raj
431d1405f8 qtwebview: Match COMPATIBLE_MACHINE with qtwebengine
qtwebview has direct build dependency on qtwebengine and it can be tried
to build in world builds since it does not have same restrictions on
supported hosts as qtwenengine, therefore match it.

Change-Id: I018471bacc232349a5763822daf3131ae32f17c0
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2023-08-15 05:00:23 -07:00
Khem Raj
d4785f6c6f conan.inc: Remove support
meta-qt6 plans to use conan have not materialized

Change-Id: I038dcf17729e4706f5319ddd3e0f33d4a5facc2d
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2023-08-15 05:00:12 -07:00
Khem Raj
3484b503b5 qtbase: Add a packageconfig knob to enable lld linker
Change-Id: I402859e22fae0151424c2187401fa9576b616d19
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2023-08-15 05:00:05 -07:00
Martin Jansa
d65dc4592b *.patch: add Upstream-Status to all patches
There is new patch-status QA check in oe-core:
https://git.openembedded.org/openembedded-core/commit/?id=76a685bfcf927593eac67157762a53259089ea8a

Change-Id: I2da4efd9736cccb73f8f5fa40ff4fd4c973183c5
Pick-to: 6.6 6.5
Reviewed-by: Martin Jansa <Martin.Jansa@gmail.com>
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2023-08-14 12:11:28 +02:00
Samuli Piippo
8f29099348 Add 6.6 compatibility notes
Update readme for the 6.6 branch compatibility and testing.

Pick-to: 6.6
Change-Id: Ib093cd11c3fe4c57c511f59fd0cf82f90969c15c
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2023-06-19 07:40:48 +00:00
Paul Geurts
c677a9e91e Remove legacy license identifier mappings in layer config
The layer configuration uses SPDXLICENSEMAP to change GPL-3.0-only to
GPL-3.0 (and other maps). Inluding meta-qt6 results in _all_
GPL-3.0-only licensed packages to be changed to GPL-3.0. As a result,
setting

INCOMPATIBLE_LICENSE += "GPL-3.0* LGPL-3.0* AGPL-3.0*"

does not filter out GPL-3.0-only packages anymore. This means
GPL-3.0-only packages still land in the target image. Adding GPL-3.0 to
the INCOMPATIBLE_LICENSE settings is not allowed, as Yocto has
deprecated these licenses.

This removes these license mappings so the incompatible license filter
is restored.

Change-Id: I5d1c13764bd034f5a20ea0cf3b6d98f1d29244d7
Pick-to: 6.6 6.5
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2023-06-15 15:48:36 +02:00
Samuli Piippo
4af8539dcf qtwebengine: update patch
Fuzz detected.

Pick-to: 6.6
Change-Id: I5be6c8841f414a3fe73d0805be6b2b83e667c155
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2023-06-09 05:53:53 +00:00
Samuli Piippo
361bb6e1ef qt6: bump version to 6.7.0
Change-Id: I8e04c70ccc31d41b7b63a83d2845b2acf33fc99c
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2023-06-09 05:53:44 +00:00
Qt Submodule Update Bot
fdbfe37d38 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I9cfcdf63c9908be61782638d5b7bd80c5c61582c
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-06-09 05:53:29 +00:00
Samuli Piippo
4729a37e36 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.

Pick-to: 6.6 6.5 6.2
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>
2023-06-08 13:20:07 +00:00
Qt Submodule Update Bot
8b9d5c95ca Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I1745e6fe5ba8ff72116f43acebd740838deb8735
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-05-31 07:50:46 +00:00
Samuli Piippo
8f67afff3f qtbase: add PACKAGECONFIGs for different linkers
Add PACKAGECONFIG options for gold and bfd linkers so that they can
be easily changed independently of the ld-is-gold DISTRO_FEATURE.

For CI builds, drop ld-is-gold feature and instead enable gold only
for Qt modules.

Pick-to: 6.5
Change-Id: I63e3835f15c732f57740b6718245e4f45ddb6c8c
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-05-29 17:07:17 +00:00
Samuli Piippo
6ad68945b5 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
Pick-to: 6.5 6.2
Change-Id: I48f18488413168afbeffddb9eac58985d1b8a988
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-05-29 04:38:35 +00:00
Samuli Piippo
651610f42f Coin: use correct path for mirror
Pick-to: 6.5 6.2
Change-Id: I878122ac5a34aaf464bb4190e3307793c53eabba
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-05-29 07:38:25 +03:00
Samuli Piippo
30f672a28d qtwayland: update patch
Fuzz detected.

Change-Id: I422205975b9d6acfa67c238bf27fe334fb678727
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2023-05-29 04:37:29 +00:00
Qt Submodule Update Bot
3571ef11fa Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: If0be552e9c3c6f7699d78333240435f723604d4f
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-05-29 04:37:25 +00:00
Martin Jansa
e1cacf710f qt3d: Backport assimp fix for build with gcc-13
* fixes:
  http://errors.yoctoproject.org/Errors/Details/704200/

  qt3d/6.5.0-r0/git/src/3rdparty/assimp/src/code/AssetLib/FBX/FBXBinaryTokenizer.cpp:475:61: error: 'uint32_t' is not a member of 'std'; did you mean 'wint_t'?
    475 |         if (!is64bits && (length > std::numeric_limits<std::uint32_t>::max())) {
        |                                                             ^~~~~~~~
        |                                                             wint_t

Pick-to: 6.5
Change-Id: I503f18ae93a24fe08b66827b4ab2dc5b7562819a
Reviewed-by: Martin Jansa <Martin.Jansa@gmail.com>
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2023-05-25 07:23:32 +02:00
Olaf Mandel
16c7da9d10 Remove hard dependency on meta-python
Set up the BBFILES_DYNAMIC variable to include meta-python and move all
python recipes to the corresponding dynamic-layers directory. This
prevents failures to parse recipes if meta-python is not available.

Pick-to: 6.5
Fixes: QTBUG-113712
Change-Id: If26668e8d901c89be8527ff3951a00d739a89372
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2023-05-25 07:23:05 +02:00
Qt Submodule Update Bot
cf976a7d83 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I512089793ac3ada9e7a76a3af89fec49ada978ae
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-05-23 08:58:00 +00:00
Samuli Piippo
6777ad5f22 qtvncserver: add PACKAGECONFIG to enable password protection
If LibTomCrypt is available, Qt VNC Server will be built with support
for password protection using DEC Authentication.

Pick-to: 6.5
Change-Id: Id866d1facbbff0a50c39fe2e440e64e3cca8a579
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2023-05-19 04:27:47 +00:00
Qt Submodule Update Bot
44b5c08a38 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I40c7af9f3b6b8b5fd3d19d5ff5c16db7ea0ec56a
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-05-16 11:44:05 +00:00
Qt Submodule Update Bot
2bb6b8dcc3 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: If5217b9e821089f658ff3d6efcd016cb204e2aa3
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-05-15 13:32:06 +00:00
Qt Submodule Update Bot
c3512694d2 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I2200feae28698a7fcafd46f29158b33a24ea3816
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-05-12 06:41:14 +00:00
Mikko Gronoff
f6958965bd Revert "qtgrpc: add patch for build issue"
This reverts commit 0300ccc33f.

Reason for revert: available upstream

Change-Id: I1e9f1257cfc50d412d2e4c2f2b018b1ea596e890
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2023-05-12 06:41:13 +00:00
Mikko Gronoff
0300ccc33f qtgrpc: add patch for build issue
Add (upstream pending) patch to fix build issue in the module:

"error: format not a string literal and no format arguments [-Werror=format-security]
| 194 | QTest::addRow(rus.id().constData())"

Change-Id: I4cedc32cca000fc217e88a8a832c258e60a0cb4f
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2023-05-08 16:47:38 +03:00
Mikko Gronoff
c12a762bfe qtwebengine, qtwayland: refresh patches
Refresh patches to fix build after latest submodule update.

Change-Id: I7f4e5d05287af89332b104b5a74f7ea93d049baa
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
(cherry picked from commit c97feb4696)
2023-05-08 16:47:15 +03:00
Qt Submodule Update Bot
a7a5c14328 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I1253e710eed5785695b09dc8fe49ee10c66e059d
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-05-08 13:47:03 +00:00
Samuli Piippo
5b387fd78d 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.

Pick-to: 6.5 6.2
Fixes: QTBUG-113178
Change-Id: Ifd77ef76f37b9fe39ef38adcc28c87130bf6d6d4
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-04-28 06:47:18 +00:00
Qt Submodule Update Bot
07a1ee7ec1 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I55ac80b7554b0c5d4b6ba5292912020921b7980a
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-04-25 23:25:54 +00:00
Samuli Piippo
a938dbc6c5 qtgraphs: include only when opengl is available
QtGraphs has hard dependency to opengl, don't include it in packagegroup
unless DISTRO_FEATURE is enabled.

Change-Id: I86ea98c7dd70d25ba20b348681e3c17e782c9576
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-04-20 18:46:33 +00:00
Samuli Piippo
7931febe45 coin: test against mickledore
Add testing against Yocto 4.2 mickledore.

Pick-to: 6.5
Change-Id: If69b95726e858849470ed433235916811501aed8
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-04-20 13:17:16 +00:00
Samuli Piippo
8f50970006 qtwayland: enable all wayland drivers
Remove separate dmabuf PACKAGECONFIGs and let qtwayland
enable all client buffer integration plugins it can.

Task-number: QTBUG-112725
Pick-to: 6.5
Change-Id: Ic841f3349fee36e5207d9b60e5733ac8ee79ee56
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-04-19 10:20:54 +00:00
Samuli Piippo
4d5ed9e090 Add recipe for Qt Graphs
Qt Graphs for data visualization will be replacement for Qt Datavis 3D.

Fixes: QTBUG-112806
Change-Id: I63e5c746a1e79c14a7e203800d60401497e5bb0d
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-04-19 10:20:30 +00:00
Samuli Piippo
44990089fc srcrev_update: use renamed variable
oe-core renamed its internal variable, set both old and new variable
to work with old and new versions of oe-core.

Pick-to: 6.5
Change-Id: I90293c6d37c3ca5d5d82d67e1269afa2b12f1d89
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-04-19 10:20:24 +00:00
Martin Jansa
f26b62e29e packagegroup-qt6-commercial-modules: include qt6-commercial.inc
* all rdepends are skipped without Commercial Qt, make sure the
  packagegroup is skipped as well

* fixes:
  ERROR: Nothing RPROVIDES 'qmlcompilerplus' (but meta-qt6/recipes-qt/packagegroups/packagegroup-qt6-commercial-modules.bb RDEPENDS on or otherwise requires it)
  qmlcompilerplus was skipped: Available only with Commercial Qt
  NOTE: Runtime target 'qmlcompilerplus' is unbuildable, removing...
  Missing or unbuildable dependency chain was: ['qmlcompilerplus']
  ERROR: Nothing RPROVIDES 'qtvncserver' (but meta-qt6/recipes-qt/packagegroups/packagegroup-qt6-commercial-modules.bb RDEPENDS on or otherwise requires it)
  qtvncserver was skipped: Available only with Commercial Qt
  NOTE: Runtime target 'qtvncserver' is unbuildable, removing...
  Missing or unbuildable dependency chain was: ['qtvncserver']

Pick-to: 6.5 6.4
Change-Id: I373c034989a643b5e95f84deb5130580201eddea
Reviewed-by: Martin Jansa <Martin.Jansa@gmail.com>
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2023-04-17 10:29:07 +02:00
Ari Parkkila
88ffeb7c99 Add python3-appdirs to native and nativesdk builds
Fixes: QTBUG-112774
Pick-to: 6.5
Change-Id: Ic8eca3cc0d6de2262581ea2db804f510a0c6f8af
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-04-13 10:57:10 +03:00
Qt Submodule Update Bot
72ff67de1d Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I665f1dafe100ab9bb24a6f54ba74b512dae3244c
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-03-30 04:58:12 +00:00
Qt Submodule Update Bot
7f534313c6 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: Ib5b1ae1a8090927efe17d7cc16c8dbd43646b910
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-03-29 02:10:59 +00:00
Samuli Piippo
e54ee19bfa Make python-html5lib optional
Add python-html5lib to the SDK only if openembedded layer is available.

Pick-to: 6.5
Change-Id: I381382c355e2834c2aadd5976e59007be0549ac9
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-03-27 10:39:43 +00:00
Samuli Piippo
a4bf9c64e5 qtserialbus: socketcan need openembedded layer
Don't enable socketcan PACKAGECONFIG unless openembedded layer
is available.

Pick-to: 6.5 6.2
Change-Id: I54aa0d70014448bf5425ef7a49f9a32e27ba7807
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-03-27 10:39:39 +00:00
Qt Submodule Update Bot
99256fd797 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: Ief959ca1a20ba4764cdb00e3638340dd68ea0643
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-03-24 07:18:33 +00:00
Andrej Valek
d4f4b54f4e 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|<=

Pick-to: 6.5 6.4 6.2
Change-Id: Ic8cbc59522731f49907e10bf08c6a00a213ae006
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2023-03-22 14:03:11 +00:00
Samuli Piippo
a55215df48 coin: be explicit about accepted commercial licenses
Dunfell is only branch that still uses the old whitelist variable.
Rename the include file and be specific what commercial recipes the
build needs. Remove the separate post-inclusive include file and move
the accepted commercial license variable to common include file.

Pick-to: 6.5
Change-Id: Ic80b42d71037637298c805a60f20c8737f00b026
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2023-03-22 14:02:58 +00:00
Qt Submodule Update Bot
2ce7415544 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I1da1c9b6b95d5d4d3f20b9b63b9b9c2687179fa0
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-03-22 04:27:11 +00:00
Qt Submodule Update Bot
ab985c2b26 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I1af8a1c4bdf7d5f925ac064e0a9bf351dd620724
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-03-20 13:52:52 +00:00
Samuli Piippo
e44a806e40 qtgrpc: add dependency to declarative for examples
Additional examples depend on QtQuick.

Pick-to: 6.5
Change-Id: I0373dc10d072f75c4f099131aa9b6d7876e17808
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-03-20 13:52:50 +00:00
Samuli Piippo
858a8773e0 qtbase: refresh patch
Fuzz detected.

Change-Id: I09e53fe47a8e01384fce9bdf5960f3c4f1f51093
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
(cherry picked from commit 60fc617037)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2023-03-20 13:52:49 +00:00
Samuli Piippo
0c6fa29d50 Revert "qtbase: fix native build"
This reverts commit 8673fed36e.
Fix has been merged in qtbase.

Change-Id: I76080c148d29090254d5be613469ac48532031c7
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-03-20 13:52:48 +00:00
Samuli Piippo
b794bfbd8b qtspeech: add dependency to qtmultimedia
QtSpeech now has hard dependency to QtMultimedia.

Change-Id: I61e2d73c004b225678c040c0096c38c2ea8597a7
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-03-20 13:52:46 +00:00
Samuli Piippo
0df94cceef qtbase: update patches
Fuzz detected.

Change-Id: I13269e8d0cf239f32348e70dec3e2e7fb6e2cc84
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit a6bdb1e987)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2023-03-20 13:52:45 +00:00
Samuli Piippo
e136d33bc5 Revert "qtbase: workaround broken config for librt"
This reverts commit 36006c9897.
CMake configuration was fixes in qtbase.

Change-Id: I036e1045a4ea79a864a02afe81e7e477d23a7a86
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-03-20 13:52:44 +00:00
Michal Klocek
aec03e788c Add python3-html5lib to sdk
This is required by qtwebenigne to be compiled with sdk.

Pick-to: 6.5
Change-Id: I0053ca241c1b60b60edbc99f0830434a1d95f92d
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2023-03-15 13:55:52 +01:00
Samuli Piippo
61f984c49d 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.

Pick-to: 6.5 6.5.0 6.4 6.4.3 6.2
Change-Id: Id0cbf3c59e50869d62880e56251b003490c4c1ee
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-03-09 11:16:50 +00:00
Ari Parkkila
ea4489ce49 Change GCC optimization for qtwebengine on armv7a-neon
Disable -O2 optimization to avoid SIGBUS alignment failure, see
GCC compiler bug https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97473

Fixes: QTBUG-109565
Pick-to: 6.5 6.5.0
Change-Id: I4e6b2c27ad851666b1f25d472932b601442d2fe6
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2023-03-07 08:25:50 +02:00
Samuli Piippo
4862c58253 qtmultimedia: make default backend configurable
QtMultimedia provides gstreamer and ffmpeg backends where ffmepg is the
default backend. Add configuration that allows changing the default
backend and make gstreamer the default one.

Pick-to: 6.5
Change-Id: I1d9f8916508ddf11c1ef2908543d77e12acdf0bc
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-02-27 08:04:09 +00:00
Samuli Piippo
ff2d48090b qtmultimedia: add PACKAGECONFIGs for spatialaudio
Provides additional QML module for spatialaudio with QtQuick3D.

Pick-to: 6.5 6.4
Change-Id: I4d10a430a6f162c94998ef4a9b20ef9e91897f18
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-02-27 08:04:03 +00:00
Samuli Piippo
a162d8c5a6 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.

Pick-to: 6.5 6.4 6.2
Change-Id: Iceb5ca006b8d83ed636d59566a115d64d3919e38
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-02-14 11:27:40 +00:00
Samuli Piippo
f395b92330 qttools: update revision
Needed to fix example build.

Change-Id: I784581fc50a5219bb6dff8cb5d8236833ba7937f
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-02-10 07:36:50 +00:00
Samuli Piippo
36006c9897 qtbase: workaround broken config for librt
Posix shared memory feature depends on librt which is used from
uninative package in native build. CMake doesn't find it there,
which breaks the build. Workaround this by disabling the feature.

Task-number: QTBUG-111049
Change-Id: I68ab6fd2f4d0520f125dd8e3c13266477dfc26c1
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-02-10 07:36:49 +00:00
Qt Submodule Update Bot
f555df08fc Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: Ia06554a6ef955d0307c49ccbdb3f4f8cf2212110
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-02-10 07:36:48 +00:00
Samuli Piippo
8673fed36e qtbase: fix native build
Temporary patch until fixed in qtbase.

Change-Id: I0982ac5ee3c8243cff018c6a403e4c434a92aebb
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-02-10 07:36:45 +00:00
Samuli Piippo
8454efd1ed protobuf: remove upstreamed fix
The protobuf fix is now available in meta-openembedded.

Pick-to: 6.5
Change-Id: I83e911b64cf35767af22b76c19ea27ce818e300a
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-01-31 16:38:52 +00:00
Samuli Piippo
b1db9ca0d5 qtbase: enable kms platform plugin by default
Most targets can already use the kms/gbm platform plugins, so enabled
them by default. Targets that don't provide them can override the
PACKAGECONFIG_GRAPHICS to define which graphic backend they support.

Pick-to: 6.5
Change-Id: I85b310608772884134a63138781aad9fa1220110
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-01-31 09:08:54 +00:00
Samuli Piippo
a6f9d2499b 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.

Pick-to: 6.5 6.4 6.2
Change-Id: I3d40d151e0be9f9123d2bf7cbe34a44861e7b093
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2023-01-30 06:24:38 +00:00
Samuli Piippo
8c17fb058a qtgrpc: include host tools in the toolchain
Add fix for protobuf so that we can build and include nativesdk-qtgrpc
in the toolchain. The protobuf fix has been merged in meta-openembedded
master, but not in langdale.

Pick-to: 6.5
Change-Id: I37a90e1a79d64a8154ab6fb510a9d8d5cf6d26c5
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2023-01-27 10:39:06 +00:00
Samuli Piippo
fdf3b8ae41 qttranslations: add catalogs.json into dev package
A new catalogs.json file is created for deployment purposes.
Include it a dev package.

Change-Id: I2e28c9ee886d8f09a79c5f13cf38e47cb2dc81f0
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
(cherry picked from commit b6928361f7)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2023-01-25 13:38:24 +00:00
Samuli Piippo
47416406c4 qtwebengine: update chromium revision
Task-number: QTBUG-110272
Change-Id: Ic031c857483777deeacbd65f7beaf7c007fccb08
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit de89ed0547)
2023-01-20 13:56:47 +00:00
Samuli Piippo
9ad2cce88e qtbase: move xkbcommon and glib to defaults
Both xkbcommon (for keyboard handling) and glib (for eventloop)
are useful also without X11. Move them to default PACKAGECONFIGs.

Pick-to: 6.5
Change-Id: Ib298a0916d781fd11c0e4ad53dc642734d60ca3b
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2023-01-20 13:56:39 +00:00
Samuli Piippo
91a21476ab qtbase: use correct path to libdir
Qt might be using different path to libs.

Pick-to: 6.5 6.4 6.2
Change-Id: Iaf0721af1c5e74cd293437cb35c287bd820fa3a5
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2023-01-20 13:56:27 +00:00
Samuli Piippo
a11e036440 qtbase: fix scripts from libexec dir
Some of the scripts were moved to libexec dir, which must also
be patched.

Pick-to: 6.5
Change-Id: I2099f61f8dbdf8d4eed010de146f18146585a40e
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-01-20 13:56:20 +00:00
Samuli Piippo
cf715572cb qtmultimedia: enable ffmpeg backend
The ffmpeg backend is now the default backend for qtmultimedia.
Environment variable QT_MEDIA_BACKEND can used at runtime to
selected between the ffmpeg and gstreamer backends.

Pick-to: 6.5
Change-Id: I751737fd7adaeeceb58e889765435750f3c3f274
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-01-19 09:14:36 +00:00
Mikko Gronoff
c80c820012 webengine: update chromium branch
Webengine updated to chromium 108 branch.

Change-Id: Ia67581eee6d0963b77bd4d60724d2845d03f94bd
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
(cherry picked from commit f4c32a89eb)
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2023-01-18 20:30:00 +00:00
Qt Submodule Update Bot
a4f7961feb Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: Ie0a2150d3e711e198cf0e0955f9a06fefbf07500
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-01-18 20:29:59 +00:00
Samuli Piippo
56710e8724 Add recipe for QtInsightTracker
QtInsightTracker is a commercial-only module.

Task-number: ANALYTICS-237
Task-number: QTBUG-108568
Pick-to: 6.5
Change-Id: I30412dec8552898b76865402c2e2ccfcae8d1904
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2023-01-16 16:12:21 +00:00
Samuli Piippo
a942032591 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.

Pick-to: 6.5 6.4 6.2
Change-Id: Ia01f92f21c4f68b1be0d57f9a586a34acbe2333c
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-01-11 14:45:32 +00:00
Samuli Piippo
0533b8907e 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
Pick-to: 6.5 6.4 6.2
Change-Id: Iee48f75edbc62e5adcca318a9f4cf17b7477f4a0
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2023-01-11 14:45:27 +00:00
Samuli Piippo
cfaf86d808 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.

Pick-to: 6.5 6.4 6.2
Task-number: QTCREATORBUG-27372
Change-Id: If27d595965df59ff9846f4c773469889a8480040
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2023-01-11 14:45:22 +00:00
Samuli Piippo
23feda4f5b Add workaround for broken harfbuzz cmake config
Latest harfbuzz 6.0.0 has bad cmake config that uses absolute paths,
which breaks static builds for Qt. Add workaroud that causes Qt
to use pkg-config to find correct paths for libs and includes.

From qtshadertools build:
ninja: error: '/usr/lib/libharfbuzz.so.0.60000.0', needed by
'lib/libQt6ShaderTools.a', missing and no known rule to make it

Pick-to: 6.5 6.4
Change-Id: I9f8bca0d4b9648e58c008e4064ff4f7b88f5f4f0
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-01-11 14:45:12 +00:00
Qt Submodule Update Bot
cfbcd5f4f1 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: Id9246b401328e0f3bc9c04b42e37a9361dce34d8
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-01-05 10:32:10 +00:00
Samuli Piippo
ad7dc64e16 layer: add mickledore to LAYERSERIES_COMPAT
Pick-to: 6.5 6.4
Change-Id: I28ebe75e2ae9d824b7bbf671539dafeadb9089d0
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-01-04 08:22:41 +00:00
Qt Submodule Update Bot
be98220dcf Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: Icbe7a67e02e34bf42f1b1b2f1e870559be560d1f
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-01-03 16:21:38 +00:00
Samuli Piippo
afcf7b2858 qtvncserver: update license files
Change-Id: I29db1238fa7fd5222fe18c60b4446a076f56f412
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2023-01-03 16:21:36 +00:00
Samuli Piippo
6826a6aa09 readme: add 6.5 branch details
Pick-to: 6.5
Change-Id: I580b98bac50e57aad08af540ede6646f6801bc4e
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-01-03 11:12:54 +02:00
Samuli Piippo
ee488f6111 qtvncserver: update license checksum
Module switched to SPDX license headers.

Change-Id: I84ab9ab1b9228fe714d940035500b38ed1198ddf
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2022-12-22 05:43:08 +00:00
Qt Submodule Update Bot
d2a6f8bcf1 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I84a183df6a6a360998ea3f3a48544280bef5806d
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-12-22 05:43:07 +00:00
Mikko Gronoff
98edd0f33d Bump PV to 6.6.0
Update/replace previous version update commit
35cf4c22b1, dev branch
is the future 6.6.

Change-Id: I7a57abbf64a5219271dc7fbf5a9fe84de1d038a3
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2022-12-19 09:01:14 +02:00
Qt Submodule Update Bot
22ae587790 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I5313d97dc76405a1171d44ba4117a7218459a97f
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-12-16 22:53:51 +00:00
Mikko Gronoff
35cf4c22b1 Bump PV to 6.5.1
Change-Id: I7fc0d86aac9ad4304b079fbab316dcf77b577033
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2022-12-15 09:11:15 +02:00
Samuli Piippo
918cb5b310 Coin: don't use zip format for mingw sdk
Zip doesn't handle symlinks correctly and sdk won't work.

Pick-to: 6.5 6.4 6.2
Change-Id: Id57cef766f708d714919994ea947701fcc83089a
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-12-14 11:38:54 +00:00
Qt Submodule Update Bot
124fd6fd54 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: Ia6f93574b24e543e479169897f2d050fc949c0c7
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-12-13 01:06:41 +00:00
Samuli Piippo
28842c8014 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.

Pick-to: 6.4 6.4.2 6.2
Task-number: QTBUG-109319
Change-Id: Ib61164839fdbc5938a23b92ab03f3c07e945812f
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-12-12 06:39:37 +00:00
Samuli Piippo
50fc8ccb9e qtwayland: remove xcomposite PACKAGECONFIGs
The XComposite buffer sharing extensions have been removed from QtWayland.

Pick-to: 6.4
Change-Id: I681ad58338567f8666f812c5acea4a7bbf9a87f4
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-12-08 11:34:39 +00:00
Samuli Piippo
a03da688dc qtwebengine: disable ptest
Temporarily disable ptest until fix is merged.

Change-Id: I6662af0ad2a3e011ad8712c6aa2e065eb55b21b5
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-12-07 08:05:59 +00:00
Mikko Gronoff
0a2bc5a74d Revert "webengine: add patch for python 3.11 build issue"
This reverts commit 676e6da41b.

Reason for revert: Patch included now in upstream chromium with latest submodule update.

Change-Id: Iec46fcf9bc0e89c53f5c61d19cceed88d639b412
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2022-12-07 08:05:52 +00:00
Qt Submodule Update Bot
b5ccdd5e20 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: Idd728ffe02dfc4a0759747374e249779a7245e27
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2022-12-07 08:05:40 +00:00
Samuli Piippo
6db104bd29 Add recipe for QtgRPC
QtgRPC module is Providing protobuf and gRPC support for Qt.

Cannot include nativesdk-qtgrpc in the sdk yet, since it requires
fix to protobuf recipe in meta-openembedded.

Task-number: QTBUG-107921
Change-Id: Ie5ef1b493b1b5550c7b7f308a638c9855342dfa5
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-11-24 12:20:31 +00:00
Samuli Piippo
fb725ebed9 Add recipe for QtLocation
QtLocation is back in Qt 6.5.

Task-number: QTBUG-108731
Change-Id: Id86ade02040d626ecadb6c35f173b3be25f02e97
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2022-11-24 05:53:33 +00:00
Qt Submodule Update Bot
ba055c2d9b Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: Ie7169b46d6922bdfa3ad411278d453fb1be9b6fc
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-11-17 13:46:41 +00:00
Qt Submodule Update Bot
051919e2a4 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: Ia5513e6fef214f2f2eba64acf77e9232811fc41f
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-11-14 23:34:10 +00:00
Samuli Piippo
c48b6f8890 Use *-tools package only for tools
Some of the modules have executables that are necessary for the
module to work properly. Don't put them into the *-tools package
which is not installed by default.

Task-number: QTBUG-99702
Change-Id: I7a9e8532862644574bd2bfb729e6efe466dac070
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-11-14 08:06:30 +00:00
Samuli Piippo
2f6951d07b Don't force tools for target
Compile time tools are not generally needed on the target.
Don't force them by default, but make it possible to enable
them with QT_FORCE_BUILD_TOOLS = "ON".

Task-number: QTBUG-99702
Change-Id: If2d3ce9252213b28cc06efe0e9c5cfd57db81371
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-11-14 08:06:25 +00:00
Samuli Piippo
63ba821b5c sdk: add new class for populating qt6 sdk
Add new class that can be used to create toolchain containing
all available Qt modules.

Pick-to: 6.4 6.2
Change-Id: I84982749ea9093bbbd20f99391b063c4bcaee39f
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-11-11 13:32:46 +00:00
Samuli Piippo
0648a0a4ef CI: tests against langdale
Update CI builds to use langdale instead of honister releases.

Pick-to: 6.4
Change-Id: Ib18be53b6d3308d5e4c5a2269b40ce67a4c352ee
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-11-09 13:23:36 +00:00
Samuli Piippo
7731aab502 qtwebengine: add dependency to cups
Printing support needs cups in cases when it's not already enabled
in qtbase.

Pick-to: 6.4 6.4.1 6.2
Change-Id: I5435bdd61b418f91524726571c9acd2cea92c729
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-11-09 13:23:28 +00:00
Samuli Piippo
4c5d3e2c3c 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.

Pick-to: 6.4 6.2
Change-Id: I0bea658d689fb99596374701b11aa9ce028e882d
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-11-08 08:15:41 +00:00
Samuli Piippo
6ed90874a6 Disable file cache for shadergen
QtQuick3D's shadergen uses cache from user's home directory.
Disable the caching as it can lead to problems with pseudo.

Change-Id: I6b889fe94eb218d803ece49c9e0ca4ec18c3524a
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-11-08 08:15:20 +00:00
Qt Submodule Update Bot
47ec7eaea7 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I8174f5db17b7f9a5837497e71bd05f75d583a0ab
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-11-08 08:15:05 +00:00
Mikko Gronoff
676e6da41b 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.

Pick-to: 6.4 6.4.1 6.2
Change-Id: I6308d2acd17a74b20ad6651d59f34e7246dc96ef
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2022-11-03 09:16:26 +02:00
Samuli Piippo
e950cff143 Add license mapping for GFDL-1.3-no-invariants-only
Add license mapping for GFDL-1.3-no-invariants-only to use the GFDL-1.3
license file in older Yocto releases. This recudes warnings for missing
generic licenses.

Pick-to: 6.4
Change-Id: I51d439515166214fb89f3af60680a77879709ec9
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2022-10-21 10:04:44 +00:00
Samuli Piippo
6cb5390957 qtbase: add dependency to patchelf
Build now require either patchelf or CMake to 3.21 or newer. To support
older Yocto version, add dependency to patchelf.

Change-Id: Id0ef1787e3da0f302d31a0ab3048155b661b64af
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-10-21 06:14:09 +00:00
Qt Submodule Update Bot
c9db653fb7 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: Ia41163b5227a52f5b98b7c88139e507fb86daffe
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-10-21 06:14:01 +00:00
Samuli Piippo
aa5aa76ef1 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: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-10-20 07:19:52 +00:00
Samuli Piippo
f51473e349 qtopcua: update revision
Includes fix for OpenSSL 3.0.

Change-Id: I8c867f90ebc4a3bbea57995c5428ac4ae017e213
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-10-20 07:19:31 +00:00
Samuli Piippo
4e4577a08e qtbase: add dependency to xcb-util-cursor
The XCB support now uses libxcb-cursor instead of Xlib/libXcursor.
The recipe is available in meta-openembedded, which now makes
it a mandatory layer for XCB support.

Task-number: QTBUG-67373
Change-Id: I40a1d100fd06aaeb31b3d4876de0ce6e7d836632
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2022-10-20 07:19:18 +00:00
Mikko Gronoff
a3d1baf37c qtshadertools: update license checksum
Change-Id: Ied742572ed1f41a5fb0972a8f4b3908558102abe
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2022-10-20 07:19:08 +00:00
Samuli Piippo
444b6cc7ad qtquick3dphysics: include the new cooker tool to images
QtQuick3DPhysics has a new runtime tool that should be included
in the images.

Pick-to: 6.4
Change-Id: Ib6dd643217b1dea76ff42a48183f78427cc2eadf
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-10-20 07:18:58 +00:00
Samuli Piippo
322b7b32f3 Revert "qtdeclarative: fix test builds"
This reverts commit 810f41bd6a.

The commit was been reverted in qtdeclarative, patch is no longer needed.

Change-Id: I26e13bb2c8c1b0e464cc69673df56833ea7a9985
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
(cherry picked from commit c6e8ab8bc6)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-10-20 07:18:49 +00:00
Qt Submodule Update Bot
fe2f95b36d Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I94e0163046beb067d7909043bebfe578ac66f6f9
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-10-20 07:18:39 +00:00
Samuli Piippo
0bb5361fe0 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
Pick-to: 6.4 6.2
Change-Id: I33c97b1a051fe90d706461c83f75912aa1c1c820
Reviewed-by: Janne Juntunen <janne.juntunen@qt.io>
2022-10-10 11:52:08 +00:00
Samuli Piippo
18e0008e9e 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.

Pick-to: 6.4 6.4.0 6.2
Change-Id: I7cf0fc334644ce38e783f6b7e21a7f5b082dacd0
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2022-09-15 04:49:22 +00:00
Samuli Piippo
097d8a347e ptest: fix test build with latest qml tools
Qml tools are now using --bare option, which limits where the tools
tries to find the qml modules. For the test builds, we again need to
use QT_ADDITIONAL_PACKAGES_PREFIX_PATH to tell the tools where to
find qml files for the Qt module we are currently building.

Task-number: QTBUG-106365
Change-Id: I6dfcd32f405475de0f58448cbaa7a19e26cbcfe8
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 63eeb3b83e)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-09-13 16:29:26 +00:00
Samuli Piippo
497624e967 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.

Pick-to: 6.4 6.3 6.2
Task-number: QTBUG-105913
Change-Id: I01ed9261004410db307f2cd809a181377b734c9e
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2022-09-01 05:16:14 +00:00
Samuli Piippo
3102804b65 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.

Pick-to: 6.4 6.3 6.2
Task-number: QTBUG-105913
Change-Id: Ic63e72a0b11bef55876ef5ca40d0c1d753243004
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2022-09-01 05:16:09 +00:00
Samuli Piippo
ee836b7a9f 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.

Pick-to: 6.4 6.3 6.2
Change-Id: Id8a6c4c3b03a850bdb1f99e3a3a08973e134eafc
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-08-24 12:32:18 +00:00
Samuli Piippo
8fb6c082d4 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.

Pick-to: 6.4 6.3 6.2
Change-Id: I1a5fbac82c4a026b6ba41db3b0cca6a9fbf1e31a
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-08-24 12:32:14 +00:00
Samuli Piippo
8228b69a19 qmlcompilerplus: add dependency to native
If we stop forcing build of target tools, we then need to have
dependency to the native package.

Pick-to: 6.4 6.3 6.2
Change-Id: Ie5d9634ba4c85af877920e66fd88d36880af8afc
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-08-17 05:17:35 +00:00
Samuli Piippo
7d1d6a11af qtbase: remove initial host path from CMake files
Amend 0b55d8ec94 and remove the initial
host paths from CMake files. They point to the temporary build paths
and cause build breaks in declarative builds.

Pick-to: 6.4
Change-Id: I17d46b989f024e71ec617ff130c8ea7d7fc85641
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-08-15 12:59:16 +00:00
Samuli Piippo
fa46e269e3 sdk: rework how QT_HOST_PATH is set in sdk
After qtbase change 0f8017efb6d037c4f33f947eb3c56aeafa28313c, QT_HOST_PATH
is no longer set in qt.toolchain.cmake, but it was moved to Qt6 package
cmake files. Since the package is in target sysroot, we can no longer use
its location to determine the absolute path of the host sysroot. Instead,
resolve QT_HOST_PATH now in the CMake subscripts and use them also without
the environment-setup script from Qt6Toolchain.cmake.

Change-Id: I81d908321c0d05ab589b9340a62a45800e936252
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 0b55d8ec94)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-08-15 12:59:01 +00:00
Michal Klocek
a565bccb07 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
Pick-to: 6.4 6.3 6.2
Change-Id: Ie7cc83dea558a5605295133fb0bf6fe0a3217492
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2022-08-09 12:36:55 +02:00
Samuli Piippo
85d9d71e27 Coin: enable examples for qtapplicationmanager
Pick-to: 6.4 6.3 6.2
Change-Id: If4065a9b309fafd8e05d018495dedd22be956aa7
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-08-09 10:36:34 +00:00
Samuli Piippo
810f41bd6a qtdeclarative: fix test builds
Revert commit that causes ptest build to fail when QmlCompiler is used:
ld.gold: error: [...]/recipe-sysroot-native/usr/lib/libQt6QmlCompiler.so.6.5.0: incompatible target

Pick-to: 6.4 6.3
Change-Id: Ief349b65f59d57c5e0299adb4304278f70da3578
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-08-09 10:36:15 +00:00
Janne Juntunen
ec51270404 qtbase: update SDK patch to work with latest qtbase version
Some lines from qt.toolchain.cmake.in were moved elsewhere, causing
the need to update meta-qt6's SDK patch to match these changes.

Pick-to: 6.4
Change-Id: I2b7ff9b6fa009e5a654f97ddd05541d5fa0e84ad
Reviewed-by: Janne Juntunen <janne.juntunen@qt.io>
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2022-08-09 10:36:02 +00:00
Qt Submodule Update Bot
40583d1a0c Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: Icc86661b67e1196501ec3fc9518ead88ce7787db
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-08-09 10:35:51 +00:00
Samuli Piippo
812bf25183 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.

Pick-to: 6.4 6.3 6.2
Change-Id: Ic10758eb41a67712e55b44bfec4d4385d0512f7e
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-08-09 05:59:54 +00:00
Qt Submodule Update Bot
05f4eac711 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: Ie7e5cd2427027ca74e6a1e29789bb0a9f4c86b1c
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-07-25 12:44:00 +00:00
Michal Klocek
9c2b02aab6 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
Pick-to: 6.4 6.3 6.2
Change-Id: I1e36d2fba339fb5383018f05a6347c27dde0c8c1
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2022-07-21 18:13:02 +02:00
Qt Submodule Update Bot
582176f1e4 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: Ibf4c7770abce1b6c06dd9caea2e2f8e281b24cef
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-07-18 13:12:09 +00:00
Samuli Piippo
6a8e3aab59 qtquick3dphysics: add dependency to qtquick3d-native
Needs explicit dependency to qtquick3d-native if tools are not
built for the target.

Pick-to: 6.4
Change-Id: I999a946536a4f15620f10d60e5c3195a0d1f4b9b
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-07-18 06:22:29 +00:00
Samuli Piippo
49bfeff2bf qtdeclarative: enable tests that failed with gold linker
Remove patch that was used to disable tests failing to build with gold
linker. After qtbase commit 40c8bc42026a8cf118ab60920314d84856c397a6,
the long stanging issue with gold linker and qt_version_tag symbol [1]
seems to be resolved.

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=842304

Pick-to: 6.4
Change-Id: I522b101929c99ebe35fcb6948be46c85b07eefd2
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2022-07-13 18:30:57 +03:00
Qt Submodule Update Bot
c20db41ae1 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I4269b332b6c44f63af8b0a4731b678b7a378daed
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-07-13 15:30:55 +00:00
Samuli Piippo
cc13555263 qtdeclarative: remove patch
The fix was merged and patch is no longer needed.

Change-Id: I013e2077638fe692bf6f494b1e12115e3edaaa2a
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2022-07-13 18:30:54 +03:00
Samuli Piippo
9f297583dc qtapplicationmanager: remove unneeded patch
The fix was merged and patch is no longer needed.

Change-Id: I27f8bf0497fbbf86a4e81b5ca5a1591b4a663cbc
Reviewed-by: Tarja Sundqvist <tarja.sundqvist@qt.io>
2022-07-13 15:30:53 +00:00
Samuli Piippo
c2027fb867 qttranslations: update licenses
Update licenses after SPDX changes were applied to the module.

Change-Id: Ic6bf4edc58096483315835868ad096af526e8652
Reviewed-by: Tarja Sundqvist <tarja.sundqvist@qt.io>
2022-07-13 15:30:52 +00:00
Samuli Piippo
88efd33036 qthttpserver: add PACKAGECONFIG for websocket
Add PACKAGECONFIG for the optional WebSockets integration.

Change-Id: Id5f693be968e51fbae6fca9bc712d61eee0bfc54
Reviewed-by: Tarja Sundqvist <tarja.sundqvist@qt.io>
(cherry picked from commit b12809e2d8)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-07-13 15:30:50 +00:00
Samuli Piippo
dc388dea7a qtlanguageserver: update licenses
Update licenses after SPDX changes were applied to the module.

Change-Id: Idb7f50c2c031a79ecf98a09e3da2883877498970
Reviewed-by: Tarja Sundqvist <tarja.sundqvist@qt.io>
(cherry picked from commit ad37ff1b6f)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-07-13 15:30:49 +00:00
Samuli Piippo
fa8cf58215 qtwebchannel: update licenses
Update licenses after SPDX changes were applied to the module.

Pick-to: 6.4
Change-Id: I275fa9e39923d69149f03844022cb86819cc61b6
Reviewed-by: Tarja Sundqvist <tarja.sundqvist@qt.io>
2022-07-06 06:51:58 +00:00
Samuli Piippo
928a97fd48 qtbase: add runtime dependency to vulkan-loader
Dependency to the vulkan-loader need to be runtime to correctly
pull it into the image.

Pick-to: 6.4 6.3 6.2
Change-Id: I76be6de10d3515826e16b71444828a043c06970b
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2022-06-30 07:41:01 +00:00
Samuli Piippo
799eb8622f qtapplicationmanager: fix compilation with GCC 12
Change-Id: I871c5507a01b1924825b7ed9a145176d61e5b3a7
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2022-06-27 13:19:02 +00:00
Samuli Piippo
9a4458dae2 qtmultimedia: update licenses
Update licenses after SPDX changes were applied to the module.

Pick-to: 6.4
Change-Id: Ic6ba168b88633f1cd065ecbba2172fbb7ecaafe6
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2022-06-27 13:18:57 +00:00
Samuli Piippo
ca64e61b97 qtwebengine: update licenses
Update licenses after SPDX changes were applied to the module.

Pick-to: 6.4
Change-Id: I5fba720fd55b7a5912e81617e3b25f40eed47da1
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2022-06-27 13:18:53 +00:00
Samuli Piippo
3a2a6defe2 qtspeech: update licenses
Update licenses after SPDX changes were applied to the module.

Pick-to: 6.4
Change-Id: I13fce8829bc236f698091980a65a1f67c9fa744c
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2022-06-27 13:18:48 +00:00
Samuli Piippo
32ba661e50 qtquick3dphysics: update licenses
Update licenses after SPDX changes were applied to the module.

Pick-to: 6.4
Change-Id: I5bc964f9a79e9110c0637420aefe705457667e7d
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2022-06-27 13:18:44 +00:00
Samuli Piippo
5b822f7147 qthttpserver: update licenses
Update licenses after SPDX changes were applied to the module.

Pick-to: 6.4
Change-Id: I0425fded67a62c1737de6654c464397ba0baea39
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2022-06-27 13:18:40 +00:00
Samuli Piippo
755553c409 qt5compat: update licenses
Update licenses after SPDX changes were applied to the module.

Pick-to: 6.4
Change-Id: I1aa94166eb55e7ee520b487e0afdac8bfe7f1dcd
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2022-06-27 13:18:36 +00:00
Samuli Piippo
772d2ad8d9 qt3d: update licenses
Update licenses after SPDX changes were applied to the module.

Pick-to: 6.4
Change-Id: Ib2321b761d2beea1af00a938ba3e6ae13ca15cb8
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2022-06-27 13:18:31 +00:00
Qt Submodule Update Bot
4e852462b8 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: If8514ba2bd9f91df2aefcb19582b9484aa5b095c
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-06-27 13:18:26 +00:00
Samuli Piippo
2d38d1b4c2 qtpositioning: update licenses
Update licenses after SPDX changes were applied to the module.

Pick-to: 6.4
Change-Id: Icb6a07db6930a979c42d75d8f78d559e4b74dd0a
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2022-06-22 12:39:17 +00:00
Samuli Piippo
dd82e34f0f qtdeclarative: fix ptest build
Change-Id: I24be618fc9629cf5b0d915a378243f5865f556cf
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2022-06-22 12:39:16 +00:00
Samuli Piippo
b1a05a124b qtinterfaceframework: update licenses
Update licenses after SPDX changes were applied to the module.

Pick-to: 6.4
Change-Id: I6c3fc84c571251c0d7486cbd931238da121bb033
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2022-06-22 12:39:15 +00:00
Samuli Piippo
bc709d8230 qtquicktimeline: update licenses
Update licenses after SPDX changes were applied to the module.

Pick-to: 6.4
Change-Id: I5f43b9640348d0ecc0b776a9daa84cf676f555e1
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2022-06-22 12:39:14 +00:00
Qt Submodule Update Bot
918fc6dc59 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I5d28bb5c535a2e1f9761abfd5f2886fff6473b4d
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-06-22 12:39:12 +00:00
Samuli Piippo
779d230d62 qtmqtt: update licenses
Update licenses after SPDX changes were applied to the module.

Pick-to: 6.4
Change-Id: I748c4fcede3a1f81de615f0e9ec8abb9d4b54c89
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2022-06-22 12:39:11 +00:00
Samuli Piippo
bd51e534e0 qttools: update licenses
Update licenses after SPDX changes were applied to the module.

Pick-to: 6.4
Change-Id: I49a4bb02554fb04a7adcbe341e8979def7abb55d
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2022-06-22 12:39:10 +00:00
Samuli Piippo
e9c4fe5ac1 qtwayland: update licenses
Update licenses after SPDX changes were applied to the module.

Pick-to: 6.4
Change-Id: I6e89cd37b9e625e9265df489aee4a4823ad07153
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2022-06-22 12:39:08 +00:00
Samuli Piippo
ee5b2e4d86 qtvirtualkeyboard: update licenses
Update licenses after SPDX changes were applied to the module.

Pick-to: 6.4
Change-Id: I79822babf5a84c1441cf18eae4a0ff3ff3f48600
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2022-06-22 12:39:07 +00:00
Samuli Piippo
b6c549f783 qtimageformats: update licenses
Update licenses after SPDX changes were applied to the module.

Change-Id: Ia3bd214d4663d92cb34805bfd52ed3da5b2dc5c8
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit f822c52e4d)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-06-22 12:39:06 +00:00
Samuli Piippo
f56abc4cb3 qtlottie: update licenses
Update licenses after SPDX changes were applied to the module.

Pick-to: 6.4
Change-Id: Id963fd430b495df58a45d470629a5e084463e9bb
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2022-06-22 15:39:05 +03:00
Samuli Piippo
f8b4e71e90 qtopcua: update licenses
Update licenses after SPDX changes were applied to the module.

Pick-to: 6.4
Change-Id: I34fd6e2735c8e261ee4197197ed9394d2c6d27cd
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2022-06-22 12:39:03 +00:00
Samuli Piippo
c224ce3b3e qtremoteobjects: update licenses
Update licenses after SPDX changes were applied to the module.

Pick-to: 6.4
Change-Id: Id044fe39314bb4dc8de4c5e1f865ac5d2d4ef91d
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2022-06-22 15:39:02 +03:00
Samuli Piippo
4cf32b4063 qtcharts: update licenses
Update licenses after SPDX changes were applied to the module.

Pick-to: 6.4
Change-Id: Ie8d246b97b91e797a55d9f911ccf65d1feb70dac
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2022-06-22 12:39:00 +00:00
Samuli Piippo
30f3843b0a qtimageformats: update licenses
Update licenses after SPDX changes were applied to the module.

Pick-to: 6.4
Change-Id: I40375be2197457f289ea5e2e739fab9f4836024c
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2022-06-22 12:38:58 +00:00
Samuli Piippo
6a3230ac35 qtnetworkauth: update licenses
Update licenses after SPDX changes were applied to the module.

Pick-to: 6.4
Change-Id: Iccae552890298c3737787ad099d7b667c1a2d1ad
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2022-06-22 12:38:57 +00:00
Samuli Piippo
f4d64a3af6 qtscxml: update licenses
Update licenses after SPDX changes were applied to the module.

Pick-to: 6.4
Change-Id: Icaca20c6999985f683952e9f61d1d864aed5ff5a
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2022-06-22 15:38:56 +03:00
Samuli Piippo
e25ce21c29 qtcoap: update licenses
Update licenses after SPDX changes were applied to the module.

Pick-to: 6.4
Change-Id: I534587dd780686a568409cba61d8adb89fead3bb
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2022-06-22 12:38:54 +00:00
Samuli Piippo
a9beea1c7c qtshadertools: update licenses
Update licenses after SPDX changes were applied to the module.

Pick-to: 6.4
Change-Id: Iac7bf990ef97f3b42b404cf920d31310b205de9e
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2022-06-22 12:38:53 +00:00
Samuli Piippo
6e2c755499 qtquick3d: update licenses
Update licenses after SPDX changes were applied to the module.

Pick-to: 6.4
Change-Id: I7a3df48d8c6b90ef77d60adae5204027b504d76f
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2022-06-22 12:38:52 +00:00
Samuli Piippo
479a0a2cca qtsvg: update licenses
Update licenses after SPDX changes were applied to the module.

Pick-to: 6.4
Change-Id: I45af0f2270b5fbb87dea87429da7893ebec7cf67
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2022-06-22 12:38:50 +00:00
Samuli Piippo
862d50aa22 qtapplicationmanager: update licenses
Update licenses after SPDX changes were applied to the module.

Pick-to: 6.4
Change-Id: Ieaa6420f62e9c6574b1cee762a6cecbb3bd023e1
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2022-06-22 12:38:49 +00:00
Samuli Piippo
7e9a1ac440 qtdeclarative: update licenses
Update licenses after SPDX changes were applied to the module.

Pick-to: 6.4
Change-Id: Ie787eed8c908ad98dae117f1edaf63cc643fc360
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2022-06-22 12:38:48 +00:00
Samuli Piippo
6672e84e6a 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.

Pick-to: 6.4 6.3 6.2
Change-Id: I6493597f6becf774893386df952c72ab4f66ead2
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-06-20 05:30:17 +00:00
Samuli Piippo
49ee2bdf07 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.

Pick-to: 6.2
Change-Id: If9137331236faa8fb78c02f76629cdf17114d230
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2022-06-14 11:50:25 +00:00
Samuli Piippo
03ffd6cdc8 qtbase: enable tests that failed with gold linker
Remove patch that was used to disable tests failing to build with gold
linker. After qtbase commit 40c8bc42026a8cf118ab60920314d84856c397a6,
the long stanging issue with gold linker and qt_version_tag symbol [1]
seems to be resolved.

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=842304

Pick-to: 6.4
Change-Id: I2550554261a7ea82fc2a3f2d5c3679e68590df98
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-06-14 11:50:12 +00:00
Samuli Piippo
aecb87a690 qt6: update submodules
Use latest revision for module that have SPDX license changes.

Change-Id: Ib460fe4838e8749f6ca299aba92829783ba12464
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-06-14 11:49:36 +00:00
Samuli Piippo
3add57c795 qttranslations: revert SPDX change
The SDPX change has not yet been merged into dev branch, temporarily
revert the change.

Change-Id: Ib84281130dbfba412743bf73524c8b9dc918b42f
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-06-14 11:49:35 +00:00
Samuli Piippo
78599de4f9 spdx: update module licenses
The SDPX license change is applied to more Qt modules.

Change-Id: I6dca50fa708872ad54fe5c2918fcc3ee4d3ba0fe
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
(cherry picked from commit 5646d22948)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-06-14 11:49:33 +00:00
Samuli Piippo
51f46ee281 spdx: update module licenses
The SDPX license change is applied to more Qt modules.

Pick-to: 6.4
Change-Id: Ib2f789cfba1bea5f50a5bccf48d9ea13b11a9332
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-06-14 11:49:32 +00:00
Qt Submodule Update Bot
27caf4a422 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I916a9c50ea92cac4aa176c5b769c05a2dc10dc9b
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-06-14 11:49:31 +00:00
Samuli Piippo
be8b40d35a qt6: update version to Qt 6.5.0
Change-Id: I31203fa142f813c83372c404ca14dceaa4c01c65
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2022-06-14 05:23:53 +00:00
Samuli Piippo
b6a93fbdb6 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.

Pick-to: 6.4 6.3 6.2
Change-Id: Idc99a26577886208b85bafe811f61538bb38d5bc
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2022-06-10 04:01:37 +00:00
Samuli Piippo
faed0e8947 ptest: handle names with spaces
Correctly remove debug file also when directory names have spaces.

Pick-to: 6.4 6.3 6.2
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>
2022-06-07 22:02:55 +00:00
Samuli Piippo
37254d64a2 qtwebengine: update license
Amend 10a22f83f3 and use the new
license in webengine recipes.

Change-Id: Idd99bbf66b3853c7c0ede216f732eb84f1e6e829
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2022-06-07 10:55:21 +00:00
Samuli Piippo
ea541e308f 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.

Pick-to: 6.3 6.2
Fixes: QTBUG-103818
Change-Id: I1cce126c243c017b1cecd14a0fd616cb0328fe6d
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2022-06-06 12:30:05 +00:00
Samuli Piippo
723b6b805b qtquick3d: fix build for mingw
QtQuick3D is using 3rdparty embree component which doesn't not compile
for mingw when using older version of it. Skip the build since it's
not needed for the toolchain.

Change-Id: Id732a5f2b101cf14f754c89330bbbba1fdd6169b
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-06-03 09:07:18 +00:00
Mikko Gronoff
54b5614040 qtwebengine: remove upstreamed patch
Change-Id: I6f8736b688ec4593e7e5fbd2837faa34805ac010
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2022-06-03 12:07:11 +03:00
Samuli Piippo
10a22f83f3 qt6: update licenses
Qt sources were changed to use SPDX license identifiers, update
LICENSE strings to match the used identifiers. At this time,
qtbase and qttools were converted, rest of the modules will follow.

Change-Id: Ic0a43438f2bdcc82941aed34a3e034bb3c6db67a
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2022-06-03 09:06:56 +00:00
Qt Submodule Update Bot
13f3ef4d81 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I9b7e66d6be3be41d3deaf26ccd85ac29f44856eb
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-06-03 09:06:45 +00:00
Samuli Piippo
28f932dda7 Add support for QtQuick3DPhysics
QtQuick3D physics engine using NVIDIA PhysX SDK.
PhysX is only supported on x86 and arm architectures.

Task-number: QTBUG-103253
Change-Id: I933f584d7a327da28d9c443ef809b0745af88a47
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-05-27 06:02:14 +00:00
Samuli Piippo
f389ceaa95 packagegroup: limit modules based on architecture
Not all modules are compatible with all architectures.

Change-Id: If44be478ff6cde47e4ad70ee31eb5059058307e5
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2022-05-25 09:06:08 +00:00
Samuli Piippo
bde1e30b30 Add support for QtVNCServer
QtVNCServer is a commercial-only module and the source code
is only available for commercial Qt license holders and
requires SSH access to Qt Gerrit.

Task-number: QTBUG-103254
Change-Id: I8b1decb08651e54f59a6b05d3d8f480354cb04df
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2022-05-24 04:45:59 +00:00
Samuli Piippo
4b59ef89b5 Add support for QtSpeech
QtSpeech is again supported in Qt 6.4.

Task-number: QTBUG-102978
Change-Id: I71234246fc10086be9fa0fdb2f20f00a14674951
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-05-23 09:50:57 +00:00
Samuli Piippo
94e666417b Add support for QtHttpServer
Task-number: QTBUG-103254
Change-Id: I54e1b0d8d6f6c0dca1bebd220a577824f4dc8b63
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-05-23 09:50:44 +00:00
Samuli Piippo
7b0817669a 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.

Pick-to: 6.3 6.2
Change-Id: I673a06685b44a5f0f5518ae51bc45956432739a4
Reviewed-by: Nicholas Bennett <nicholas.bennett@qt.io>
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-05-20 13:21:38 +03:00
Samuli Piippo
ec7e50bbaf 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
Pick-to: 6.3 6.2
Change-Id: Ia933c843d811e6adb2ed4ede4708f55a6f0e8f0c
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-05-18 10:23:12 +00:00
Samuli Piippo
73e88c5848 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.

Pick-to: 6.3 6.2
Change-Id: Ia35255e3b84c38342be58b11461a4ee908fba1f9
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-05-18 10:23:07 +00:00
Samuli Piippo
a4002f18a9 qtmultimedia: enable pulseuadio backend
QtMultimedia crashes without audio backend and pulseaudio
backend now works together with gstreamer plugin.

Change-Id: Iad97ebb3170c6ebec9aa8eea1faf4972a88cd49f
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-05-18 10:22:58 +00:00
Samuli Piippo
8beecf5620 qtwebengine: fix chromium build
Add missing header include.

Change-Id: Ie5f7bb3972c5485f4d597f737bd2418b5d345dd9
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-05-17 06:06:21 +00:00
Qt Submodule Update Bot
84e760e2e3 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: Ie80984214f710eb7403ba071453477461ff75dde
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-05-17 06:05:41 +00:00
Michal Klocek
b6b180a74f 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.

Pick-to: 6.3 6.2
Change-Id: Ieed45ca785ffdc0700f620863c5672e9764d3f8e
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2022-05-13 18:30:02 +00:00
Janne Juntunen
9036696107 qtbase: add option for developer_build feature
Developer_build will include all tests, including private tests,
enabling verification of Qt functionality on target platform.

Pick-to: 6.3 6.2
Change-Id: Icd477958fc7e8144194c5cae3f5b94eebfee6045
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2022-05-13 13:34:51 +00:00
Samuli Piippo
682313136d qtwebengine: update patch
Pick-to: 6.3 6.2
Change-Id: I9647cba85fd4a9fcd0aadba1273b077b7ae6c844
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-05-13 07:31:37 +00:00
Samuli Piippo
35c8457a39 qt6: force all tools to be built
QT_BUILD_TOOLS_WHEN_CROSSCOMPILING is deprecated in favor of
QT_FORCE_BUILD_TOOLS.

Change-Id: Ibd644adabe9cdd8bd39179c38974d953ce34e5a4
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-05-13 07:31:29 +00:00
Samuli Piippo
4ff7b74454 qtdeclarative: update patch
Pick-to: 6.3 6.2
Change-Id: I356bed7a2cd207383ec83fd8d5f6303f4f92d0e6
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-05-13 07:31:20 +00:00
Qt Submodule Update Bot
8b02490cca Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: Ib5278abae6904d40a6e04d5c5b00fd0ec1f6f84f
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-05-13 07:31:09 +00:00
Samuli Piippo
6a5ae1effb Coin: build examples for all modules
Add example build for the missing modules.
Skip qtapplicationmanager due to QTBUG-101508.

Pick-to: 6.3 6.2
Change-Id: Ib01935ac4314f3b97583f032e09fda2966f17549
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-05-05 11:29:51 +03:00
Samuli Piippo
2005837511 layer: add langdale to LAYERSERIES_COMPAT
Change-Id: Ibb6af476e2bafc5b65767b800af8d2fa3bed193d
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-05-03 10:30:00 +03:00
Samuli Piippo
a0e53e01e0 coin: use correct domain for yocto-cache
Pick-to: 6.3 6.2
Change-Id: I830bf9bcaabf954c4f25b380731781e557a134b6
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-05-03 10:29:53 +03:00
Samuli Piippo
e6fba93482 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.

Pick-to: 6.3 6.2
Change-Id: I51ef6cca7fd938046e5b6510087fc4d62f2a4eb3
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-05-03 10:29:48 +03:00
Samuli Piippo
90a8c72bed 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.

Pick-to: 6.3 6.2
Change-Id: If09bc7d235171b2b844ec579f6affa6fbe3f8a6d
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-04-28 10:41:02 +00:00
Samuli Piippo
ff3157ee7e 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.

Pick-to: 6.2
Change-Id: I1795e3cad5e758e5de050803bd07c35ab168389a
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-04-27 10:37:24 +03:00
Qt Submodule Update Bot
094ad44e63 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I6b504ccab8f08c4d1e7395c16008c92be1d29950
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-04-26 19:34:05 +00:00
Samuli Piippo
368fd592da Add details for LTS releases
Pick-to: 6.3 6.2
Change-Id: I30efc2893bb715cc69704f42db20fe1e4727fa55
Reviewed-by: Nicholas Bennett <nicholas.bennett@qt.io>
2022-04-26 22:34:04 +03:00
Samuli Piippo
670a077467 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>
2022-04-26 08:09:56 +03:00
Samuli Piippo
73927c6db3 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
Pick-to: 6.3 6.2
Change-Id: I586a68641b48678933ed91a742235c6b22f1d109
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2022-04-08 09:59:48 +00:00
Samuli Piippo
cba320e7bf qtserialbus: add tools to the image
QtSerialBus has canbusutil runtime tool that is useful to have
in the device.

Change-Id: Ib751cbb153d122ef6e2a58e3f7a455a58d668265
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2022-04-08 09:59:41 +00:00
Samuli Piippo
9334145f37 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.

Pick-to: 6.3 6.2
Fixes: QTBUG-102370
Fixes: QTBUG-97707
Change-Id: I3326e7b8f970952f6d18591204cb78e5a0defcf5
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2022-04-08 09:59:34 +00:00
Samuli Piippo
9ee589de19 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.

Pick-to: 6.3 6.2
Change-Id: I037b565344942cf99c4992e4ff9769fd47d9c77d
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-04-07 10:55:04 +00:00
Samuli Piippo
269c0e836c python3-antlr4-runtime: use correct recipe name
Pick-to: 6.3 6.2
Change-Id: Ied805f6349eaaaa2bdff82712a5b24ca8817e02f
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-04-07 13:54:54 +03:00
Samuli Piippo
76e4f4c875 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>
2022-04-07 10:54:44 +00:00
Samuli Piippo
7a4cbf2995 Revert "qtquickdesigner-components: lower minimum CMake version"
This reverts commit bab800db57.
Fix has been merged to qtquickdesigner-components.

Pick-to: 6.3 6.2
Change-Id: I1ef7d09e3d1c9517aa5c7abbf376cb9bb9422009
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-04-07 13:54:38 +03:00
Samuli Piippo
5951f10548 Revert "qtquick3d: fix native build"
This reverts commit 1f8fa2d766.
Fix has been merged into qtquick3d.

Change-Id: I6cc9dda5bf1c53cf969bd859e0bb03ef1c40ae84
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-04-07 13:54:33 +03:00
Qt Submodule Update Bot
d9488d5409 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I6a5e7bd067c6970aec82987c0f1f7706e6cdb46d
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-04-07 10:54:26 +00:00
Samuli Piippo
312d7185d8 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.

Pick-to: 6.3 6.2
Change-Id: If742b68353fe6f0614bf4be8f355cfc24f9a42f3
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-04-05 08:14:46 +00:00
Samuli Piippo
1f8fa2d766 qtquick3d: fix native build
Change-Id: I8909dc26c1b4f63590bed794bd596b34c05cf363
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-04-05 08:14:39 +00:00
Samuli Piippo
bab800db57 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.

Pick-to: 6.3 6.2
Change-Id: I07c0c35dfc589bae4fc9d47e4ec31ef27042454d
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-04-05 08:14:32 +00:00
Samuli Piippo
e8102f036a qtquickdesigner-component: switch to CMake build
Pick-to: 6.3 6.2
Change-Id: I464f6cdedf02185876a57f4cafad47d5f60f10b4
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-04-05 08:14:25 +00:00
Samuli Piippo
65972077eb qtwebengine: move to 98-based chromium
Change-Id: Ia3a13200ddee60e3f1d5ab94b1994a21563ab33a
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-04-05 08:14:18 +00:00
Samuli Piippo
0f598c3c14 qtserialbus: use PACKAGECONFIGs
Use PACKAGECONFIGs for modbus and socketcan supports. This adds
needed runtime dependency to libsocketcan.

Pick-to: 6.3 6.2
Fixes: QTBUG-102197
Change-Id: I0b0aebfa3f9fd896e0307415c54efb9fc7f1b93a
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2022-04-05 08:14:06 +00:00
Samuli Piippo
b24db734ac 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.

Pick-to: 6.3 6.2
Change-Id: If1292680ec8f9afd1085b9a12b1976087cafe71f
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2022-04-05 08:14:02 +00:00
Samuli Piippo
3fdebdda65 qmlcompiler: remove merged patch
Change-Id: If3583ef24a7fb8aff973432fdc4119e4b538cf3e
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2022-04-05 11:13:54 +03:00
Samuli Piippo
910ec2e260 qtbase: update license checksum
Pick-to: 6.3 6.2
Change-Id: If4c6822c71e627d973b55f9edad382a4d6088acd
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2022-04-05 08:13:44 +00:00
Samuli Piippo
90b433994a qtdeclarative: update revision
Update needed for mingw compilations.

Change-Id: Ifc0bf4740296a10816563ba6cfd10bda705fb8d1
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-04-05 08:13:34 +00:00
Qt Submodule Update Bot
e075968c08 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: Ibce642bea874d2c5a9c86d4fbac29b9ec1a48b93
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-04-05 08:13:29 +00:00
Jani Heikkinen
2652a4458a 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
bc0717a20b qtinterfaceframework: remove workaround
Kirkstone has been updated with working nativesdk-python3
builds and qtinterfacewramework can now be included in the SDK.

Pick-to: 6.3 6.3.0 6.2
Change-Id: Ibcaf520688a56f9607db89993aa9ec9e2d667844
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2022-03-23 07:06:58 +00:00
Samuli Piippo
c3d4a5722f qtdeclarative: include tools in packagegroup
qtdeclarative-tools has runtime tools, such as qmlscene,
that can be useful in the image.

Pick-to: 6.3 6.3.0 6.2
Change-Id: I359611f8a3e575d8b18b63c4f8a034ad5ab705a1
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2022-03-22 11:08:30 +02:00
Samuli Piippo
b32b7f2774 qtinterfaceframework: update workaround for kirkstone
Skip qtinterfaceframework also with kirkstone now that master
branch is using kirkstone as DISTRO_CODENAME.

Pick-to: 6.3 6.2
Change-Id: I8ff7c9c3289d4f2c8864c14a6abcf61fe34250a6
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-03-16 08:09:47 +00:00
Samuli Piippo
eaee55e9fe 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.

Pick-to: 6.3 6.2
Change-Id: Ic7ce057421395d98158b3ad6e529f30b629bdded
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-03-16 08:09:39 +00:00
Samuli Piippo
554b947ba4 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.

Pick-to: 6.3 6.2
Change-Id: I5d82c0a7f91cf81a0b3ed7c0f14aeccc36464f91
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-03-16 08:09:35 +00:00
Samuli Piippo
3d122c668c qtbase: enable scripts for mingw toolchain
Make sure the qt-cmake* helper scripts get correctly created
for mingw toolchains.

Pick-to: 6.3 6.2
Change-Id: I0ec6c4e12abf375677226ea32a6c36066a990f3b
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-03-16 08:09:30 +00:00
Samuli Piippo
ab0d93e29e Coin: add static test build
Build Qt staticially with examples enabled but tests disabled.
We don't want to remove ptest from DISTRO_FEATURE, because that
would cause rebuild of most system components as well.

Pick-to: 6.3 6.2
Change-Id: Ic1181d09951ee5d50b08182600f0664b8859afcc
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-03-15 11:19:57 +02:00
Mikko Gronoff
a9011cf6cd qmlcompilerplus: Add pending upstream patch
The latest dev branch submodule update causes
build break in qmlcompilerplus module. Add pending
reviewed upstream patch to fix issue:

"error: invalid initialization of reference of type ‘QQmlJSScope::ConstPtr&’
{aka ‘QDeferredSharedPointer<const QQmlJSScope>&’} from expression of type ‘QQmlJSRegisterContent’"

Change-Id: Id750838347ccd17a2cc6e336375ea6df1e7d14fb
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2022-03-12 07:50:46 +02:00
Samuli Piippo
a1b6233b65 qtdeclarative: update patch
Change-Id: Ie993de39fa7838c3cec41febaae131fa01b6af0d
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
(cherry picked from commit 2d7b5b5572)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-03-12 05:50:32 +00:00
Samuli Piippo
f4cbbfeb8e qtbase: remove merged patches
Change-Id: I455262b28b964d7933ed2883baac07056540ac87
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-03-12 07:50:17 +02:00
Qt Submodule Update Bot
eb4f03276f Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I24df40dc7f0d3681f7fc428b851779e89143170e
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-03-12 05:49:55 +00:00
Samuli Piippo
a64c978983 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.

Pick-to: 6.3 6.2
Change-Id: I33a9b0f3915417d98ad12559ce7661c92b1cc739
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2022-03-10 08:10:47 +02:00
Samuli Piippo
f80f96848d 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

Pick-to: 6.3 6.2
Change-Id: Ib93baf9027442e69ab5bce294449bd203d9be2aa
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-03-06 11:12:17 +00:00
Martin Jansa
d26bf4af06 meta: update license names
* openembedded-core/scripts/contrib/convert-spdx-licenses.py .
  ...
  All files processed with version 0.01

Pick-to: 6.3 6.2
Change-Id: Ife671a597eea9e1567d2b37d0aea25cc0b8e9012
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-03-06 11:12:13 +00:00
Justin Bronder
365807e1ae python3-pytest-qt: add 4.0.2
Add pytest support for PyQt and PySide applications.  This was merged to
meta-qt5 in https://github.com/meta-qt5/meta-qt5/pull/448.

Change-Id: I9e21ad89f0be1b8d2f488ed6ad80c13719fa6fbd
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2022-03-06 06:12:05 -05:00
Samuli Piippo
d1ffa135a7 ptest: fix packaging of test data
Use correct path for the test sources and data.

Pick-to: 6.3
Change-Id: I90f14130dce7f3b5ef3ae45dbdd60540c795ba9e
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-03-06 11:11:54 +00:00
Samuli Piippo
6492c16955 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).

Pick-to: 6.3 6.2
Change-Id: Ib3c2665257c344c312074519a03d96437866cd8d
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-03-04 07:06:21 +00:00
Samuli Piippo
0ef2348d49 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>
2022-03-04 07:06:13 +00:00
Samuli Piippo
5cbac6cf35 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>
2022-03-04 07:05:59 +00:00
Samuli Piippo
ba348447dc qtmultimedia: update PACKAGECONFIGs
QtMultimedia is again using plugins for different backends
and they can be enabled at the same time. Add PACKAGECONFIGs
for ffmpeg and vaapi backends. Remove vivante workaround,
it's no longer needed.

Default still to gstreamer only. The ffmpeg integration is done
to v4.4 and does not work with later versions.

Change-Id: Ica8f46ceca0ef61caa300b3e23269de062575efc
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-03-03 18:53:02 +00:00
Samuli Piippo
ae90e4457e qtbase: fix QHash build for x86
Change-Id: I23453cd41123c02283fc5c2f10e991f0aaa75006
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-03-03 18:52:50 +00:00
Samuli Piippo
8ff564fb98 qtbase: fix qsimd build for x86
Temporary fix until merged in qtbase.

Change-Id: Ie660b3d19222e48cd3fd2512cc37f51fd07ca475
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-03-03 18:52:43 +00:00
Mikko Gronoff
20f186a3ce qtwebview: update license & checksums
Change-Id: I061c2c6a2267fea2bb8c613de2da0c33a5059446
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
(cherry picked from commit 89ba83fa7a)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-03-03 18:52:36 +00:00
Mikko Gronoff
5d2abdfebb qtbase: update license agreement checksum
Change-Id: I76d6a0a4576d3a8430060d42845e4ca4b5fd7219
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
(cherry picked from commit e0436d24f3)
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2022-03-03 18:52:28 +00:00
Qt Submodule Update Bot
40c87fd58d Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: Ie4479184b18f0ff67edb32a56b964e6c23e67753
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-03-03 18:52:19 +00:00
Samuli Piippo
d36033ca56 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.

Pick-to: 6.3 6.2 6.2.4
Change-Id: I98c74858c5be69e45a76a45ed10aa1168c614618
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-03-03 10:53:34 +00:00
Samuli Piippo
3ff5acc752 layers: Bump to use kirkstone
Pick-to: 6.3 6.2
Fixes: QTBUG-101142
Change-Id: I85c5dbbfc10184108514dd01a3255018c0dc3db4
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-02-24 09:36:49 +00:00
Samuli Piippo
2d4825f309 Coin: adapt to variable renaming
In kirkstone, some of the variable have been renamed to
use inclusive language.

Pick-to: 6.3 6.2
Change-Id: Ic03fc3a748ea6a4e3e510040b9cd6b5e038d4662
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-02-24 09:36:41 +00:00
Samuli Piippo
0708a33ea6 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.

Pick-to: 6.3 6.2
Change-Id: I93d74254804b7d17106a3f08af2973464e669928
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-02-24 09:36:33 +00:00
Samuli Piippo
28c7a28568 qtbase: update patch
Update patch to apply cleanly again.

Pick-to: 6.3
Change-Id: I235a321bdf05e6d74871f204dd154929478ecc3c
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-02-15 10:25:52 +02:00
Samuli Piippo
b2ccd0bd60 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.

Pick-to: 6.3 6.2
Change-Id: Id2837f1363a22cb28e45c1165631cfa3f37756a7
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-02-14 07:17:15 +00:00
Samuli Piippo
9471cb966f qtquickdesigner-components: add dependency to native-qtdeclarative
native-qtdeclarative is needed to take advantage of qmlcachegen
and qml script compiler.

Pick-to: 6.3 6.2
Change-Id: Ie78b3401a1f4dfe252970f8c0b1dea70c0c0c954
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-02-14 07:17:02 +00:00
Qt Submodule Update Bot
96de92b5cb Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I832aefbdc0375442cec247eb70e8397084aa1fff
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-02-12 11:50:40 +00:00
Samuli Piippo
c537067d9a qtdeclarative: re-enable ptest
This reverts commit fff02af10d.
Auto test build issue has been fixed.

Change-Id: I55ef6f7aec1a5695089b1fb62e5b6aafb4299d70
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 48caadfe1b)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-02-11 13:18:21 +00:00
Samuli Piippo
c40d7810c6 Revert "qtbase: fix mingw nativesdk build"
This reverts commit 68bd9cee63.
Proper fix has been merged to qtbase.

Change-Id: I394bc594d2b4d9b90b98f530d65703b4352afa29
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
(cherry picked from commit 85e55e5629)
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-02-11 15:18:08 +02:00
Samuli Piippo
df191c5ccf qtbase: remove unneeded patch
Catch2 was updated in qtbase, patch is no longer needed.

Change-Id: I762e27a49ddcc325c5911e36bb65aab24b0b78cb
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 9080dc9fe0)
2022-02-11 15:18:04 +02:00
Samuli Piippo
b5d908c8a8 qtwebengine: update patch
Change-Id: I4b521099b2283943b893d841c5f2d12e2fbbce01
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 2394565194)
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2022-02-11 13:17:55 +00:00
Samuli Piippo
e406469ad3 qtapplicationmanager: update revision
Change-Id: Icd7d5f65244ea5b941a77b21b1aa8094a72fac4c
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2022-02-11 15:17:43 +02:00
Qt Submodule Update Bot
2c546124d5 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I6ece10557997ffd9d67aaa94a21dfd9663e6195e
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-02-11 13:17:38 +00:00
Samuli Piippo
154c396c57 licenses: be explicit about BSD license
All references here to BSD actually mean BSD-3-Clause.

Pick-to: 6.3 6.2
Change-Id: Iec43070c5245d053259c215311f238989741c85d
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-02-10 09:26:57 +02:00
Samuli Piippo
e78c281c0a 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
Pick-to: 6.3 6.2
Change-Id: I48542f20f4443c8130f89c2436f5b0ecea914bb0
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-02-10 09:26:51 +02:00
Jani Heikkinen
92b8d16b73 Fix a bug in LA 4.4
Fixes: QTPMO-1479
Pick-to: 6.3 6.2
Change-Id: I86eefc98ad663141de840d54d713ef029ee28291
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2022-02-09 20:16:50 +02:00
Mikko Gronoff
e4e5b75e22 qtquickdesigner-components: update module
Update to latest revision in dev branch.

Pick-to: 6.3 6.2
Change-Id: If12c3f3071f208c2ab1e1a5d63697b2e9a071c57
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2022-02-09 11:54:47 +02:00
Samuli Piippo
a730a1f029 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.

Pick-to: 6.3 6.2
Change-Id: I32aa202ce8e4a1260e287b0625495ef828536511
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-02-04 05:33:30 +00:00
Samuli Piippo
688791f03d 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.

Pick-to: 6.3 6.2
Change-Id: I5d217f6932aaf5eaacae8ccbc790ea31aaa27f37
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-02-01 19:18:25 +02:00
Jani Heikkinen
7017b2f1f6 Update The-Qt-Company-Commercial
Newest version is 4.4 so update it in the git as well

Task-number: QTBUG-98971
Pick-to: 6.3 6.2
Change-Id: I3b2086857e7c9b9cf7d44a40c080ae6bd03ca927
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2022-02-01 12:01:33 +02:00
Samuli Piippo
e6fda09a6f qtpdf: force remove conflicting files
QtPDF does not support static builds, but the build still passes
ok in bitbake builds. Use force when removing the files, since they
don't exists in static builds.

Pick-to: 6.3
Change-Id: I50cce6e277c25c32aa98804d5f3de6d25df12b25
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2022-02-01 06:01:05 +00:00
Samuli Piippo
c8499a81b5 qt6: add packaging rule for static plugins
Pick-to: 6.3 6.2
Change-Id: I7f511470d3de6ae25eb4631de38b18fe347bcdfd
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2022-02-01 06:00:59 +00:00
Samuli Piippo
7e1e9f892e 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.

Pick-to: 6.3 6.2
Change-Id: I35976b90b12137caa7b7044f4aef40c229c75783
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2022-02-01 06:00:53 +00:00
Samuli Piippo
cbac31ee90 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.

Pick-to: 6.3 6.2
Change-Id: I065382ee49d6b40b76ede9e632d17221451de8d1
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2022-02-01 06:00:46 +00:00
Samuli Piippo
d6a37cc62e qt6: bump version to 6.4.0
Change-Id: Ic8538c3d961c7b83bf1cbbebd097313a9e9f7070
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-02-01 08:00:34 +02:00
Qt Submodule Update Bot
34d5da001d Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: Ic9ef9cb0ae55531069ff61de8d6b2be89df4e08a
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-01-31 06:53:12 +00:00
Samuli Piippo
81daff59ce qtwebengine: update license checksum
Pick-to: 6.3 6.2
Change-Id: I9e19340b783fefd3cb3ea9d523354e022e131638
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-01-31 08:53:00 +02:00
Samuli Piippo
fff02af10d qtdeclarative: disable ptest
ptest compilation fails when using older CMake. Disable until
fixed properly.

Task-number: QTBUG-100314
Change-Id: Ie00e9fe62a1b4f2e94d47eb3d672d27fee7965f5
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-01-31 08:52:42 +02:00
Samuli Piippo
6a6937d2a9 qttranslations: remove qtquickcontrols2
Translations for qtquickcontrols2 were merged to qtdeclarative.

Change-Id: I287253d23fbd6c22eb68145f0ed94de0338a48e8
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 0d2f6465e0)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-01-31 06:52:20 +00:00
Samuli Piippo
e7f231a3fb qtbase: fix mingw nativesdk build
MinGW runtime libs are missing symbols used in RHI Direct3D.
Include patch until it's merged in qtbase to fix the nativesdk-qtbase
build.

Pick-to: 6.3
Task-number: QTBUG-100294
Change-Id: I314eb74d52cf28e48ef65fea263d85f2a7978a55
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-01-31 08:52:04 +02:00
Samuli Piippo
0c1640e2c3 qtbase: remove merged patch
Change-Id: I92ffeaad0204a7ff3b27a76837bfa618bc2e9970
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit d7d1e9d66f)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-01-31 06:51:52 +00:00
Samuli Piippo
b75a4f9dfb ptest: make sure sources exist
QtDeclarative is building doc snippets as part of the tests and
the sources for those are not in expected location. Test the
source directory before copying them.

Pick-to: 6.3
Change-Id: Ia3fd214dfc648d221a7b8bb6ec24e3cd3f698049
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-01-27 08:31:13 +02:00
Samuli Piippo
a3cf192180 qtlanguageserver: use correct license file
Change-Id: I67a63defb9fa254f1d74c95eb8d80e502cff8316
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit ade815ea65)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-01-26 12:46:05 +00:00
Samuli Piippo
a4d9478187 qtbase: update patch to apply cleanly
Change-Id: I45b21135b5f2c9e3f48310b4ac29961b2dcc0109
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 26ea50356c)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-01-26 12:46:05 +00:00
Samuli Piippo
17c05714ad qt6-cmake: remove unncessary directory separator
Pick-to: 6.3 6.2
Change-Id: Ie4ced4340bcf672cfbf7f034283beb53c93dbd92
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-01-20 15:56:15 +02:00
Samuli Piippo
3da9ed068a Coin: disable CI build against upstream master
meta-openebedded is currently broken due to nativesdk-python3-cryptography.

Pick-to: 6.3 6.2 6.2.3
Change-Id: I99fa9313c1c8d1196bc09a8755269ecffe75ce56
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-01-20 10:00:19 +02:00
Samuli Piippo
a6e5979a1b qtmultimedia: add dependency to qtsvg for examples
Some examples have dependency to Qt SVG.

Pick-to: 6.3 6.2
Change-Id: I9084c4a4e321710aa60a6e5df351b37c3c1518cb
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-01-18 17:27:07 +02:00
Samuli Piippo
a03cfa981d 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.

Pick-to: 6.3 6.2 6.2.3
Fixes: QTBUG-99787
Change-Id: I9e00b5e4eacc340a985d0617911c02144ec3e6ed
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-01-18 09:52:34 +02:00
Mikko Gronoff
869ec52ee2 qtdatavis3d: update license & lic_files_chksum
Leftover from earlier license update change. Amends
commit b7437b7c2f.

Pick-to: 6.3
Change-Id: Ia566c9cddc51d123fe5ee38c0204ce2fae656148
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2022-01-17 16:01:25 +02:00
Samuli Piippo
ddce6334cf Add support for qtlanguageserver
Implementation of the Language Server Protocol which is used by
QtDeclarative to provide QML language server.

Fixes: QTBUG-99780
Pick-to: 6.3
Change-Id: I600ca8c6738d7b9aba8d275edb85f642aee7eb47
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-01-17 10:39:21 +02:00
Mikko Gronoff
d56d65c8b8 qtquickdesigner-components: update module
Update to latest revision in dev branch.

Pick-to: 6.3 6.2 6.2.3
Change-Id: I0518f52a12f6142ccba157785c80feaa2c14c840
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2022-01-14 13:59:30 +02:00
Mikko Gronoff
b7437b7c2f 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.

Pick-to: 6.3
Change-Id: I1481dacf7e8da594866ebba13a5fa44f167562d8
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2022-01-14 08:41:25 +02:00
Samuli Piippo
97899416ec 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.

Pick-to: 6.3 6.2
Change-Id: I8aad69d0cda9564651ddadc2a3d2d0434250b742
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-01-13 16:17:06 +02:00
Samuli Piippo
7f3cb3884d 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.

Pick-to: 6.3 6.2
Change-Id: I89a5e152324178151ba8a5ab4734d542fa4c995c
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-01-11 12:12:25 +02:00
Samuli Piippo
0e598fb241 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"

Pick-to: 6.3 6.2
Change-Id: I5f05e2e249ef52402626ee3469f32b0c05d58cb5
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-01-11 12:12:18 +02:00
Samuli Piippo
57b22c6ea0 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.

Change-Id: Ie2e38db14df0f51aaa87ecde7e0487b31be0bddd
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-12-31 09:29:05 +00:00
Mikko Gronoff
94f562c5df README.md: update CI test build matrix
Add 6.3 branch.

Pick-to: 6.3
Change-Id: I830b750f783308fee0b856663ffb15c4bcc0aaea
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2021-12-31 10:48:53 +02:00
Samuli Piippo
dc6a7797e0 Add QtPDF
Add support for QtPDF, which is build from same sources as QtWebEngine.
The qemu wrapper needs adjustment to work in both webengine and pdf
builds.

Pick-to: 6.3
Task-number: QTBUG-99205
Change-Id: I985c7dac5e61b2c87b3a7ddeba3efcfd71f35e3f
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-12-30 09:51:43 +02:00
Mikko Gronoff
c9d0d37cfb qtbase: add patch to fix declarative build issue
Add (pending) upstream patch for QTBUG-99316 to fix declarative
build issue on latest submodule update.

Change-Id: Iac5bae13374c7de32efa61bdf9b8f69c6d652b0f
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2021-12-29 09:40:40 +02:00
Mikko Gronoff
5909c76dc1 Update license checksums
With latest submodule update, several modules
got licenses removed and/or added & updated.
Update LIC_FILES_CHKSUM field in recipes to
match the updates.

Change-Id: Ic0c7c65c92bf515dbf510f5c988f92446bf76dc2
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2021-12-29 09:40:40 +02:00
Mikko Gronoff
f50a769afd qt6: update submodules
Update to more recent revisions in dev branch.

Change-Id: I89c0e35684f90534f9f9c0834a49425fad6b7d00
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2021-12-29 09:40:40 +02:00
Samuli Piippo
bb7b918a57 Update Qt Commercial license
Change-Id: I3668a851635e388d84d6a86c38c415ff82680872
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
(cherry picked from commit 9f5ce3eae8)
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2021-12-29 09:40:40 +02:00
Jeroen Hofstee
af73962f3d 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
Pick-to: 6.2 6.3
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2021-12-29 05:24:07 +00:00
Samuli Piippo
5b52d7a14e qtbase: fix PACKAGECONFIG for PostgreSQL
Pick-to: 6.3 6.2
Change-Id: I6b6ab0a8d6f361931aa0ac39e449b27d3cab24f6
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-12-15 17:01:15 +02:00
Samuli Piippo
7c192d68dc Revert "Coin: add required zstd"
This reverts commit a77f474aba.
Zstd is now available in the provisioning.

Pick-to: 6.3 6.2
Change-Id: Id66a3a8797e0c893318974a6fe2dd4e032d563b4
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-12-15 17:01:08 +02:00
Samuli Piippo
7297b1bee8 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
Pick-to: 6.3 6.2
Change-Id: If393d1a0abdebe21a70439190e49715bcd3e35a1
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2021-12-14 20:23:31 +02:00
Andrej Valek
90dd254455 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.

Pick-to: 6.3 6.2
Change-Id: Ida85363ebcf4ef47a4914dcaf5d2649bb70c41fc
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2021-12-14 07:28:30 +00:00
Samuli Piippo
a59b72141a 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.

Pick-to: 6.3 6.2
Change-Id: I59dedc2767c47b6dcbfbed318ff8e698accba30c
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2021-12-13 17:37:38 +00:00
Mikko Gronoff
c0b11ff4b5 qtquickdesigner-components: update module
Update to latest revision in dev branch (module not
being part of automatic update bot).

Pick-to: 6.3 6.2
Change-Id: I23a560fa0d73593e2d0cf62012df53db65d42c31
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2021-12-13 08:23:58 +00:00
Jeroen Hofstee
6b7208cedd 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.

Pick-to: 6.2
Change-Id: I52d4cb91630884a1ecdc1e6b225fda4cf39d852b
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2021-12-08 07:07:30 +01:00
Jeroen Hofstee
002b2ce29f 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.

Pick-to: 6.2
Change-Id: I3bb94c2daf97f1b2500560fdcc4304cba9699ab5
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2021-12-07 06:44:13 +00:00
Samuli Piippo
d809311a65 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)
2021-11-25 14:12:22 +02:00
Samuli Piippo
16be6131ae Use correct domain for yocto-cache
Pick-to: 6.2
Change-Id: I669912271b14cc35c09e390fe26b2da4a6cdb8b3
Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
2021-11-24 10:32:31 +02:00
Samuli Piippo
01d90c1120 qmlcompiler: disable by default
Properly disable the use of QML Compiler Plus by default.

Pick-to: 6.2 6.2.2
Change-Id: I4adebf56b2621963585db87e1084a4da819de9b9
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-11-17 13:41:14 +02:00
Samuli Piippo
95fa269ffa 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"

Pick-to: 6.2 6.2.2
Change-Id: Iaa59380c98e798841d619775c1c266ca99655be4
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-11-17 13:41:05 +02:00
Samuli Piippo
433dfd447c qmlcompiler: update supported modules
Need to disable Qml Compiler for Qt5Compat, but can enable it
for QtWebEngine.

Change-Id: I250e4da9a7233bf212dabe64a6f0ef617a7c4d26
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-11-15 10:16:36 +02:00
Samuli Piippo
8fe8c84173 qmlcompilerplus: update checksum
Change-Id: I93f329973c74e15fdb5de4e108e99e7424266c80
Reviewed-by: Daniel Smith <Daniel.Smith@qt.io>
2021-11-15 10:16:29 +02:00
Samuli Piippo
f7fd11bfce qtspeech: remove recipe
QtSpeech is not officially supported on Qt6. It has been compiling
until now, so it has been kept here, but since it now fails with
Qt 6.3, remove the recipe.

Change-Id: I2b0cce68b8bec82e0a5a434d0b3634ffb84eb6d8
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-11-15 10:16:19 +02:00
Qt Submodule Update Bot
152d0e6e45 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I611204db2fe8bad79e2c25ee9396b6b93859192f
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2021-11-15 08:16:14 +00:00
Samuli Piippo
3bb76773a8 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.

Pick-to: 6.2
Change-Id: I260526c08f48f179049eb4b0ab3e6561958d0a53
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2021-11-08 05:20:06 +02:00
Samuli Piippo
d0e7002304 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>
2021-11-05 14:58:29 +02:00
Martin Jansa
3166786ac3 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.

Pick-to: 6.2
Change-Id: I26de93c094cd1e8002d589e8d760a22a12e76d03
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2021-11-03 16:52:33 +01:00
Samuli Piippo
3cc53e8e7f coin: use openembedded from the upstream source
Github won't be supporting git protocol anymore, switch to using
layer from openembedded.org.

Pick-to: 6.2
Change-Id: Id711fe7818d37650b0643c17bd3386ca1a344f9a
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-11-03 17:52:33 +02:00
Samuli Piippo
178142ee57 Coin: add builds against Honister
Honister is now released, add it to the CI test builds.

Pick-to: 6.2
Change-Id: Ice5813836d8a4edb435db71017d231468993edcf
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-11-03 09:53:21 +02:00
Samuli Piippo
673457878e 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.

Pick-to: 6.2
Change-Id: Ifb73b807f4f9f551836bfa20003aaf88bc758d78
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2021-10-29 12:40:52 +03:00
Samuli Piippo
9bb12bca78 qtpositioning: use the new git repository
QtPositioning has been split from the qtlocation into its own
git repository.

Pick-to: 6.2
Change-Id: Idbe9cbe52828e55689d75c0ac255226e3dd99103
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2021-10-26 13:00:53 +03:00
Samuli Piippo
0e978b932b qtquick3d: add PACKAGECONFIG for qtquicktimeline
QtQuickTimeline is optional dependency for QtQuick3d, but enabled
it by default.

Pick-to: 6.2
Change-Id: Ibce7da7fa8de31c983f3f4c3feae916bb9b10322
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-10-26 13:00:45 +03:00
Samuli Piippo
d13153f426 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>
2021-10-26 13:00:33 +03:00
Samuli Piippo
c3389d194c 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.

Pick-to: 6.2
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>
2021-10-14 09:27:18 +00:00
Pasi Petäjäjärvi
84af5ec12d QtIF: Move module SRCREV to global location
Change-Id: Id451a70d58bf1365b764d9d7e02ff111446fb5cc
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2021-10-07 09:54:20 +03:00
Pasi Petäjäjärvi
082551ef78 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>
2021-10-06 19:23:56 +03:00
Samuli Piippo
8b7aa7dd6f Add recipe for QtWebView
Task-number: QTBUG-97001
Pick-to: 6.2
Change-Id: Id8f7dbfc242baaec11c07f7137e72b429f64cfee
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-10-06 15:19:39 +03:00
Samuli Piippo
a1a2a0b048 Coin: extend CI coverage to older yocto branches
Add dunfell and hardknott to the CI build. Skip building QtWebEngine
in dunfell, since it required newer cmake than dunfell can offer.
As Gatesgarth is already EOL, do not add it to testing although
it is still listed as compatible version.

Task-number: QTBUG-97065
Change-Id: I3538d756294043fae119c78d018c61be766f2538
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-10-06 10:17:00 +03:00
Samuli Piippo
a604992ea8 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']

Pick-to: 6.2
Change-Id: Idad2a85b3a84275e5824545e22d425b578d1d647
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2021-10-06 10:16:19 +03:00
Qt Submodule Update Bot
85ab186d39 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I9774179f752eb25158e8cc7d5f4a872f1465876a
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2021-10-05 20:44:22 +00:00
Martin Jansa
9e9dabfb42 qtbase: fix build with glibc-2.34
* fails in do_install_ptest_base when ptest is in DISTRO_FEATURES

Pick-to: 6.2
Change-Id: I89778b3b53594a2ca46a088775689251e82dc8aa
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2021-10-05 11:13:31 +00:00
Martin Jansa
56020edacc Revert "qtbase: skip qtestlib's selftests"
This reverts commit fc83f6dfbd.

No need to disable all tests, next commit adds a work around
fix for Catch2.

Change-Id: Ic0e1a7cb085ca54edecc690c40d9adb82f952678
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2021-10-05 13:13:27 +02:00
Qt Submodule Update Bot
b304ef5ca1 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I8193ac6f136be1486903dafc5eac15608448b3d6
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2021-10-01 13:35:56 +00:00
Martin Jansa
35665dad23 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

Pick-to: 6.2
Change-Id: I20add60b601bd85a7f5eb8b6e6f63e1bc729a893
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2021-10-01 06:02:22 +00:00
Martin Jansa
c4147feb79 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)

Pick-to: 6.2
Change-Id: I137c708ed7e186b4f4d5bbe921cccc7100db48b4
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2021-10-01 06:01:34 +00:00
Martin Jansa
b38b4c77ce 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>
2021-10-01 08:00:31 +02:00
Martin Jansa
9f408788ec 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"

Pick-to: 6.2
Change-Id: I22d34d7b1e290eee6406750c4531f9b4dd031c87
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2021-10-01 06:00:25 +00:00
Martin Jansa
d251bc8f22 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

Pick-to: 6.2
Change-Id: I6b2895e0eb2ea4f26b3313de69475b069587af0b
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2021-10-01 06:00:19 +00:00
Martin Jansa
f475a94185 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?

Pick-to: 6.2
Change-Id: I2c1549f22bebf3c091485644574cbc46402c4996
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2021-10-01 06:00:05 +00:00
Martin Jansa
1575c7229a 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

Pick-to: 6.2
Change-Id: Ia16c038afa7af54295b1cb6c7c9bcccfa311bf0c
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2021-10-01 05:59:59 +00:00
Martin Jansa
d718354d16 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.

Pick-to: 6.2
Change-Id: Ic3f674bcfd7dbbc6f149a1ae94cd66613a948050
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2021-10-01 05:59:53 +00:00
Martin Jansa
e8c910995e 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:

Pick-to: 6.2
Change-Id: I0705e15d57f30b5aeb908631d269db3dfd3413f3
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2021-10-01 05:59:45 +00:00
Martin Jansa
c9dcbe825e layer.conf: LAYERSERIES_COMPAT: Return dunfell, gatesgarth and hardknott
all currently supported versions (dunfell, hardknott, honister)
do support new syntax (when latest bitbake revision from
corresponding branch is being used).

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: I0adbb1ba75086bc61101b1aa5bb99660c5250bbb
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2021-10-01 07:59:33 +02:00
Samuli Piippo
197eef0cee 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>
(cherry picked from commit fe4f272d1e)
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2021-09-30 13:24:06 +03:00
Michal Klocek
859178fa7a 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}
package, 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>
(cherry picked from commit 680d8b2e24)
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-09-30 10:23:59 +00:00
Samuli Piippo
5c98b3aeac 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

Cherry-pick updated with more tests for dev.

Change-Id: I223e34fb9ecba01a8f3df5123eed6705d93ceed8
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit f45f237084)
2021-09-30 13:23:52 +03:00
Samuli Piippo
d2903da2d0 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>
(cherry picked from commit 3e09c9011b)
2021-09-30 13:23:45 +03:00
Samuli Piippo
b68949651c 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>
(cherry picked from commit e225c808b3)
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-09-30 13:23:35 +03:00
Samuli Piippo
4f46daa9e2 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>
(cherry picked from commit 403ab76764)
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-09-30 13:23:25 +03:00
Qt Submodule Update Bot
20429485e3 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I12b9d6d6cfd3b3cc847bf8588f6f4a620fc46d1d
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2021-09-30 00:18:12 +00:00
Qt Submodule Update Bot
f192e64cb9 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: Iba3ead6f8010fd65c643368610f5f6159c826162
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2021-09-28 05:03:22 +00:00
Qt Submodule Update Bot
14686c4580 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I78f8824786626be308a1369e7833d326e918b441
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2021-09-25 00:27:15 +00:00
Pasi Petäjäjärvi
ce7a39b78b 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>
2021-09-24 07:46:29 +00:00
Daniel Smith
6b3073a959 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I663bd2937e769716f57e0a0252c76741f44181a7
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-09-22 16:12:33 +03:00
Samuli Piippo
626697c8bd 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.

Pick-to: 6.2
Task-number: QTBUG-96583
Change-Id: I3695cdd21ba9b9443770c671e50bbf230a58cfd6
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-09-22 09:49:11 +03:00
Samuli Piippo
223788235b 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.

Pick-to: 6.2
Change-Id: I7b8028da254be4e6bb1f523fe10947996563186e
Reviewed-by: Daniel Smith <Daniel.Smith@qt.io>
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-09-18 09:44:47 +03:00
Pasi Petäjäjärvi
d4572bf1b9 QtInterfaceFramework: Add support
Adds Qt Interface Framework module.

Task-number: QTBUG-94105
Change-Id: I3f8a1caf251e2e6b8be55e78361a3e0f2b95fca4
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2021-09-17 09:53:57 +03:00
Pasi Petäjäjärvi
bfd5af7306 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>
2021-09-17 09:53:24 +03:00
Pasi Petäjäjärvi
5a34cf9f49 qtbase: Add python binary available for ptest
*-native recipes using python fails without this.

Pick-to: 6.2
Change-Id: Ieb6b45f97ed01c6984522c687c411ff09680b803
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2021-09-17 09:53:12 +03:00
Daniel Smith
8955a1e397 Fix whitespace in qt6-git.inc
Change-Id: I5a02c23a27db5706685434ee75eb1087897cc550
Pick-to: 6.2
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-09-16 15:54:39 +00:00
Samuli Piippo
170ca88bcd 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.

Pick-to: 6.2
Change-Id: I3a0d646f4204fb0269bba2356543589a5620ed3e
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-09-16 15:08:07 +03:00
Samuli Piippo
f61b87ae78 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.

Pick-to: 6.2
Change-Id: I711e7867dba3b066d363ca40f78e7b4aa740a69c
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-09-15 07:53:53 +03:00
Samuli Piippo
c592e2d63e qt6: update submodules
Latest revisions from dev.

Change-Id: Ia9b1bed92a4d6d5ffad5293bece76278e9d14a8c
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-09-14 11:46:27 +03:00
Qt Submodule Update Bot
3c758b95f9 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I92f253edbbc735d2a8a3988fe098805609751ecb
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2021-09-09 20:33:47 +00:00
Samuli Piippo
bc1d2a0fff Coin: give CI build more time to complete
Raise max build to 12 hours, but lower time without output to 2 hours.

Pick-to: 6.2
Change-Id: I866bf07324793fce4ce88189053216abd8b4302f
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-09-09 22:11:07 +03:00
Pasi Petäjäjärvi
02f96bd7d5 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>
2021-09-09 15:59:46 +03:00
Qt Submodule Update Bot
b8559ccc5e Update submodule refs on 'dev in meta-qt6'
Change-Id: I8aaec3cc12e3f73bff5cef14c89cd6e6f151950d
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2021-09-06 22:41:24 +00:00
Qt Submodule Update Bot
36874e37df Update submodule refs on 'dev in meta-qt6'
Change-Id: I1368c54317e3cb1f30ff84f8d5883e1453a2afc9
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2021-09-06 08:57:01 +00:00
Samuli Piippo
6886bebec1 Coin: allow yocto version specific configurations
Add easy way to have different configuration for the CI builds
based on the current Yocto version.

Change-Id: Idfda5d2e9079864e210382fa0e928b969fae311d
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 70dff380b2)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2021-09-05 19:43:49 +00:00
Samuli Piippo
a7720008b6 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>
(cherry picked from commit d4232d5a71)
2021-09-02 08:48:17 +03:00
Samuli Piippo
3bcc10f225 Remove QtQuickControls2
QtQuickControls2 was merged into QtDeclarative, no need for separate
recipe anymore.

Change-Id: I0bc860c7140c98f920b9811498491644245c7e0b
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-09-02 08:47:45 +03:00
Samuli Piippo
e2d514aae2 qt6: update submodules
Latest revision from dev branches.

Change-Id: Ibaf1f00b96a441a5284e32863683212235b9ec48
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-09-02 08:47:38 +03:00
Pasi Petäjäjärvi
8579e97c0d sdk: Add QtShadertool
Provides qsb command line tool for shader compilation/inspection

Pick-to: 6.2
Change-Id: Icc71773c0cdc1501472448a22056695e499f87a4
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2021-08-30 07:38:15 +00:00
Samuli Piippo
6be91065b6 qt3d: disable system assimp
Latest change in upstream assimp breaks the qt3d build. Disable
the system assimp for now.

Change-Id: Ib1bf4533a1670b0401748e56dcafb9d1b71fe66a
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-08-24 14:37:49 +03:00
Samuli Piippo
fc83f6dfbd qtbase: skip qtestlib's selftests
The selftest fails with GCC 11

Task-number: QTBUG-95842
Change-Id: I021297f3e0a95c08c03c1e19460de2969d88532e
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2021-08-24 14:37:44 +03:00
Samuli Piippo
fdda14cfbc Coin: remove uninative overrides
Upstream has more recent versions already.

Pick-to: 6.2 6.1
Change-Id: Idc64576ddbdb2549e2b4af802cc8b8b5b62f704e
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-08-24 14:37:40 +03:00
Samuli Piippo
a77f474aba 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>
2021-08-24 14:37:36 +03:00
Samuli Piippo
d242882342 Coin: update CI build to use only master branches
Cannot test with older yocto releases anymore.

Task-number: QTBUG-95705¶
Change-Id: Ibc2d07c2a40461971085ff80ee3f946824f0c4f8
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2021-08-24 14:37:31 +03:00
Samuli Piippo
7c25fc3c70 Remove support for previous yocto versions
After the override syntax change, only honister is supported.

Task-number: QTBUG-95705
Change-Id: I2747686f359ef0e39471bb2c20e7980ea2d30647
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-08-24 11:37:26 +00:00
Samuli Piippo
7e83f2fc76 Convert to new override syntax
This is the result of automated script (0.9.1) conversion:

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

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

Task-number: QTBUG-95705
Change-Id: Ieb57084e2cea47eb3407960ebfce404cee1ddc36
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-08-24 14:37:21 +03:00
Samuli Piippo
4c5510f0d6 qt6: update submodules
Latest from dev branch.
Disable rpaths from ptest to fix QA Issue: package contains bad RPATH.

Change-Id: I3f29de8a9200657d9ac2eb87d4288fde09b49469
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-06-29 15:41:23 +00:00
Samuli Piippo
7ac9c84014 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.

Pick-to: 6.2 6.1
Change-Id: I0a3f6e793b033d727f7633c022b27392acc91823
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-06-28 15:27:36 +03:00
Samuli Piippo
156b085f49 qt6: update submodules
Latest from dev that will become 6.3.0

Change-Id: Ia75b4885a91a1bd97504de149558a048749a14e5
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-06-16 15:30:36 +03:00
153 changed files with 3673 additions and 2791 deletions

View File

@ -3,37 +3,87 @@ 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.
Following table shows the Yocto branches which are used to test each
Qt version.
Each Qt release is tagged either as `v6.x.y` or `v6.x.y-lts`
| Yocto \ Qt | dev | 6.1 | 6.0 |
| ---------- |:---:|:---:|:---:|
| master | x | | |
| hardknott | x | x | x |
| gatesgarth | x | x | x |
| dunfell | x | x | x |
Following table shows the Yocto releases which are used to test each
Qt version (x) and any additional Yocto releases that are stated in
the LAYERSERIES_COMPAT (c).
| Yocto \ Qt | dev | 6.11 | 6.10 | 6.9 | 6.8 | 6.7 | 6.6 | 6.5 | 6.4 | 6.3 | 6.2 |
|:---------- |:---:|:----:|:----:|:----:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|
| wrynose | x | x | | | x | | | | | | |
| whinlatter | x | x | x | c | x | | | | | | |
| walnascar | x | x | x | c | x | | | | | | |
| styhead | c | c | c | c | c | c | | | | | |
| scarthgap | x | x | x | c | x | c | c | x | | | |
| nanbield | | | c | c | c | c | c | c | | | |
| mickledore | | | c | c | c | c | c | c | c | | |
| langdale | | | c | c | c | c | c | c | c | | |
| kirkstone | | | x | c | x | c | c | x | c | c | c |
| honister | | | | | | | c | c | c | c | c |
| hardknott | | | | | | | c | c | c | c | c |
| gatesgarth | | | | | | | c | c | c | c | c |
| dunfell | | | | | | | c | x | c | c | c |
| | | | | | | | | | | | |
| | dev |stable|stable|closed| LTS | EOL | EOL | LTS | EOL | EOL | EOL |
Detailed status of supported Qt versions can be found from
https://doc.qt.io/qt-6/supported-platforms.html#supported-qt-versions
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.
QtMultimedia
------------
Qt Multimedia now prefers [FFmpeg][1] as the multimedia backend instead of GStreamer.
FFmpeg recipe, however, is flagged with LICENSE_FLAGS = "commercial", which means
that user must accept the license before FFmpeg can be used in the build. If user
accepts the license using LICENSE_FLAGS_ACCEPTED = 'commercial_ffmpeg', the FFmpeg
support is enabled in Qt Multimedia. If user doesn't accept the license,
Qt Multimedia only uses GStreamer.
[1]: https://doc.qt.io/qt-6/qtmultimedia-index.html#ffmpeg-as-the-default-backend
Contributing
------------
To contribute to this layer you should submit the patches for review using
To contribute to this layer submit the patches for review using
[Qt Gerrit](https://codereview.qt-project.org).
More information about Qt Gerrit and how to use it:
- https://wiki.qt.io/Gerrit_Introduction
- https://wiki.qt.io/Setting_up_Gerrit
- [Gerrit_Introduction](https://wiki.qt.io/Gerrit_Introduction)
- [Setting_up_Gerrit](https://wiki.qt.io/Setting_up_Gerrit)
Report bugs on [Qt Bug Tracker](https://bugreports.qt.io) using
`Yocto: meta-qt6 layer` component.
Layer maintainers
-----------------

26
SECURITY.md Normal file
View File

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

View File

@ -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,24 @@
inherit qt6-paths
SDK_POSTPROCESS_COMMAND_prepend = "create_qt6_sdk_files;"
SDKIMAGE_FEATURES:append = " staticdev-pkgs"
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
@ -22,28 +27,29 @@ create_qt6_sdk_files () {
echo 'Binaries = ${QT6_INSTALL_BINDIR}' >> $qtconf
echo 'LibraryExecutables = ${QT6_INSTALL_LIBEXECDIR}' >> $qtconf
echo 'Plugins = ${QT6_INSTALL_PLUGINSDIR}' >> $qtconf
echo 'Qml2Imports = ${QT6_INSTALL_QMLDIR}' >> $qtconf
echo 'QmlImports = ${QT6_INSTALL_QMLDIR}' >> $qtconf
echo 'Translations = ${QT6_INSTALL_TRANSLATIONSDIR}' >> $qtconf
echo 'Documentation = ${QT6_INSTALL_DOCDIR}' >> $qtconf
echo 'Settings = ${QT6_INSTALL_SYSCONFDIR}' >> $qtconf
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 +62,85 @@ 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}")
# Include the toolchain configuration subscripts
file( GLOB toolchain_config_files "\${CMAKE_CURRENT_LIST_DIR}/OEToolchainConfig.cmake.d/*.cmake" )
foreach(config \${toolchain_config_files})
include(\${config})
endforeach()
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,24 @@
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}/ \
QT_FORCE_BUILD_TOOLS ?= "OFF"
QT_INSTALL_EXAMPLES_SOURCES ?= "OFF"
EXTRA_OECMAKE:append:class-target = "\
-DQT_HOST_PATH:PATH=${RECIPE_SYSROOT_NATIVE}${prefix_native}/ \
-DQT_FORCE_BUILD_TOOLS=${QT_FORCE_BUILD_TOOLS} \
-DQT_INSTALL_EXAMPLES_SOURCES=${QT_INSTALL_EXAMPLES_SOURCES} \
-D__harfbuzz_broken_config_file=TRUE \
"
EXTRA_OECMAKE_append_class-nativesdk = "\
-DQT_HOST_PATH:PATH=${RECIPE_SYSROOT_NATIVE}/${prefix_native}/ \
EXTRA_OECMAKE:append:class-nativesdk = "\
-DQT_HOST_PATH:PATH=${RECIPE_SYSROOT_NATIVE}${prefix_native}/ \
-DQT_FORCE_BUILD_TOOLS=ON \
"
EXTRA_OECMAKE += "\
@ -32,9 +39,23 @@ 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
# remove all references to TMPDIR that could not be replaced QTBUG-105877
find ${D} \( -name "*.pri" -or -name "*.prl" \) -exec \
sed -i -e 's|${STAGING_DIR_NATIVE}|$$[QT_HOST_PREFIX/get]|g' \
-e 's|${STAGING_DIR_HOST}|$$[QT_SYSROOT]|g' {} \;
-e 's|${STAGING_DIR_HOST}|$$[QT_SYSROOT]|g' \
-e '/QMAKE_PRL_BUILD_DIR/d' \
-e '\|${WORKDIR}|d' {} \;
# Remove buildpaths from SBOM files
# QTBUG-130557
if [ -e ${D}${QT6_INSTALL_LIBDIR}/sbom ]; then
sed -i ${D}${QT6_INSTALL_LIBDIR}/sbom/*.spdx \
-e 's|${STAGING_DIR_NATIVE}||' \
-e 's|${S}||g' \
-e 's|${B}||'
fi
}
export QT_DISABLE_SHADER_DISK_CACHE = "1"

View File

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

View File

@ -12,26 +12,25 @@ OE_QMAKE_PATH_DOCS = "${QT6_INSTALL_DOCDIR}"
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_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_HOST_PREFIX = "${STAGING_DIR_NATIVE}${prefix_native}"
OE_QMAKE_PATH_HOST_BINS = "${@os.path.normpath(os.path.join(d.getVar('STAGING_BINDIR_NATIVE'),os.path.relpath(d.getVar('QT6_INSTALL_BINDIR'),d.getVar('bindir'))))}"
OE_QMAKE_PATH_HOST_DATA = "${@os.path.normpath(os.path.join(d.getVar('STAGING_LIBDIR'),os.path.relpath(d.getVar('QT6_INSTALL_ARCHDATADIR'),d.getVar('libdir'))))}"
OE_QMAKE_PATH_HOST_LIBS = "${@os.path.normpath(os.path.join(d.getVar('STAGING_LIBDIR_NATIVE'),os.path.relpath(d.getVar('QT6_INSTALL_LIBDIR'),d.getVar('libdir'))))}"
OE_QMAKE_PATH_HOST_LIBEXECS = "${@os.path.normpath(os.path.join(d.getVar('STAGING_LIBEXECDIR_NATIVE'),os.path.relpath(d.getVar('QT6_INSTALL_LIBEXECDIR'),d.getVar('libexecdir'))))}"
# 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}"
@ -63,7 +62,7 @@ EXTRA_OEMAKE = " \
OE_QMAKE_INCDIR_QT='${STAGING_DIR_TARGET}/${OE_QMAKE_PATH_HEADERS}' \
"
OE_QMAKE_QMAKE = "${OE_QMAKE_PATH_EXTERNAL_HOST_BINS}/qmake"
OE_QMAKE_QMAKE = "${OE_QMAKE_PATH_HOST_BINS}/qmake"
export OE_QMAKE_CC = "${CC}"
export OE_QMAKE_CFLAGS = "${CFLAGS}"
export OE_QMAKE_CXX = "${CXX}"
@ -80,40 +79,7 @@ export OE_QMAKE_QTCONF_PATH = "${WORKDIR}/qt.conf"
inherit qt6-paths remove-libtool
generate_target_qt_config_file() {
qtconf="$1"
cat > "${qtconf}" <<EOF
[Paths]
Prefix = ${OE_QMAKE_PATH_PREFIX}
Headers = ${OE_QMAKE_PATH_HEADERS}
Libraries = ${OE_QMAKE_PATH_LIBS}
ArchData = ${OE_QMAKE_PATH_ARCHDATA}
Data = ${OE_QMAKE_PATH_DATA}
Binaries = ${OE_QMAKE_PATH_BINS}
LibraryExecutables = ${OE_QMAKE_PATH_LIBEXECS}
Plugins = ${OE_QMAKE_PATH_PLUGINS}
Qml2Imports = ${OE_QMAKE_PATH_QML}
Translations = ${OE_QMAKE_PATH_TRANSLATIONS}
Documentation = ${OE_QMAKE_PATH_DOCS}
Settings = ${OE_QMAKE_PATH_SETTINGS}
Examples = ${OE_QMAKE_PATH_EXAMPLES}
Tests = ${OE_QMAKE_PATH_TESTS}
HostBinaries = ${OE_QMAKE_PATH_BINS}
HostData = ${OE_QMAKE_PATH_ARCHDATA}
HostLibraries = ${OE_QMAKE_PATH_LIBS}
HostSpec = ${OE_QMAKE_PLATFORM}
TargetSpec = ${OE_QMAKE_PLATFORM}
ExternalHostBinaries = ${OE_QMAKE_PATH_BINS}
Sysroot =
EOF
}
do_generate_qt_config_file() {
generate_qt_config_file_paths
generate_qt_config_file_effective_paths
}
generate_qt_config_file_paths() {
cat > ${OE_QMAKE_QTCONF_PATH} <<EOF
[Paths]
Prefix = ${OE_QMAKE_PATH_PREFIX}
@ -124,34 +90,24 @@ Data = ${OE_QMAKE_PATH_DATA}
Binaries = ${OE_QMAKE_PATH_BINS}
LibraryExecutables = ${OE_QMAKE_PATH_LIBEXECS}
Plugins = ${OE_QMAKE_PATH_PLUGINS}
Qml2Imports = ${OE_QMAKE_PATH_QML}
QmlImports = ${OE_QMAKE_PATH_QML}
Translations = ${OE_QMAKE_PATH_TRANSLATIONS}
Documentation = ${OE_QMAKE_PATH_DOCS}
Settings = ${OE_QMAKE_PATH_SETTINGS}
Examples = ${OE_QMAKE_PATH_EXAMPLES}
Tests = ${OE_QMAKE_PATH_TESTS}
HostPrefix = ${OE_QMAKE_PATH_HOST_PREFIX}
HostBinaries = ${OE_QMAKE_PATH_HOST_BINS}
HostData = ${OE_QMAKE_PATH_HOST_DATA}
HostLibraries = ${OE_QMAKE_PATH_HOST_LIBS}
HostLibraryExecutables = ${OE_QMAKE_PATH_HOST_LIBEXECS}
HostSpec = ${OE_QMAKE_PLATFORM_NATIVE}
TargetSpec = ${OE_QMAKE_PLATFORM}
ExternalHostBinaries = ${OE_QMAKE_PATH_EXTERNAL_HOST_BINS}
Sysroot = ${STAGING_DIR_TARGET}
SysrootifyPrefix=true
EOF
}
generate_qt_config_file_effective_paths() {
cat >> ${OE_QMAKE_QTCONF_PATH} <<EOF
[EffectivePaths]
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}
EOF
}
#
# Allows to override following values (as in version 5.0.1)
# Prefix The default prefix for all paths.
@ -162,7 +118,7 @@ EOF
# Binaries The location of installed Qt binaries (tools and applications).
# Plugins The location of installed Qt plugins.
# Imports The location of installed QML extensions to import (QML 1.x).
# Qml2Imports The location of installed QML extensions to import (QML 2.x).
# QmlImports The location of installed QML extensions to import (QML 2.x).
# ArchData The location of general architecture-dependent Qt data.
# Data The location of general architecture-independent Qt data.
# Translations The location of translation information for Qt strings.
@ -175,7 +131,6 @@ EOF
# HostPrefix The prefix for host tools when cross compiling (building tools for both systems)
# HostBinaries The location where to install host tools
# HostData The location where to install host data
# ExternalHostBinaries The location where we already have host tools (when cross compiling, but reusing existing tools)
# TargetSpec The location where to install target mkspec
# HostSpec The location where to install host mkspec
@ -239,7 +194,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(d.getVar('QT6BASE'), 'recipes-qt/qt6/qt6-git.inc')
module = d.getVar('QT_MODULE')
scms = []
fetcher = bb.fetch2.Fetch(d.getVar('SRC_URI').split(), d)
@ -13,33 +16,25 @@ 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")
d.setVar("__BBSRCREV_SEEN", "1")
for scm in scms:
ud = urldata[scm]
for name in ud.names:
rev = ud.method.latest_revision(ud, d, name)
srcrev = d.getVar("SRCREV_%s" % name)
if hasattr(ud, 'names'):
name = ud.names[0]
else:
name = ud.name
rev = ud.method.latest_revision(ud, d, name)
srcrev = d.getVar("SRCREV_%s" % name)
if srcrev is None: srcrev = d.getVar("SRCREV")
if srcrev == rev:
bb.plain("%s SRCREV_%s: %s is already latest" % (recipe, name, srcrev))
continue
if srcrev == rev:
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.process.run(cmd, log=None, shell=True, stderr=subprocess.PIPE, cwd=None)
bb.plain("%s: %s -> %s" % (name, srcrev, rev))
cmd = "sed -E -i %s %s -e '/SRCREV(_%s)? /s/%s/%s/'" % (recipe, srcrev_file, name, srcrev, rev)
bb.process.run(cmd, log=None, shell=True, stderr=subprocess.PIPE, cwd=None)
}
do_srcrev_update[nostamp] = "1"
addtask srcrev_update after do_fetch

View File

@ -0,0 +1,22 @@
python do_verify_qt_version() {
import os, re
qt_version = d.getVar('QT_VERSION')
cmake_conf = os.path.join(d.getVar('S'), '.cmake.conf')
with open(cmake_conf, 'r', encoding='utf-8') as f:
data = f.read()
m = re.search(r'set\(QT_REPO_MODULE_VERSION "([0-9.]+)"\)', data)
if not m:
bb.fatal("Could not parse QT_REPO_MODULE_VERSION from %s" % cmake_conf)
repo_version = m.group(1)
if qt_version != repo_version:
bb.fatal("Qt version mismatch: QT_VERSION (%s) does not match the sources (%s)" \
% (qt_version, repo_version))
}
addtask verify_qt_version after do_patch before do_configure

View File

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

View File

@ -7,20 +7,23 @@ accept_configuration:
equals_value: Yocto
- condition: property
property: target.arch
in_values: [TARGET1, TARGET2, TARGET3, TARGET4]
in_values: [TARGET1, TARGET2, TARGET3, TARGET4, TARGET5, TARGET6, TARGET7]
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
# [X11] no no yes yes
# [mingw] no yes no no
#
# [target1] [target2] [target3] [target4] [target5] [target6] [target7]
# [machine] qemuarm64 qemux86-64 qemuarm qemux86 qemuarm64 qemuarm64 qemuarm64
# [yocto] master walnascar scarthgap whinlatter scarthgap master master
# [wayland] yes no yes yes yes no yes
# [x11] no yes yes no no yes yes
# [opengl] yes yes yes yes yes no yes
# [mingw] no no yes no no no no
# [static] no no no no yes no no
# [toolchain] gcc gcc gcc gcc gcc gcc clang
target1: &target1
type: Group
@ -29,11 +32,14 @@ target1: &target1
variableName: MACHINE
variableValue: qemuarm64
- type: EnvironmentVariable
variableName: YOCTO_BRANCH
variableValue: hardknott
variableName: MANIFEST
variableValue: master.xml
- type: EnvironmentVariable
variableName: DISABLE_X11
variableValue: true
variableName: TEST_CONFIGS
variableValue: ci configs wayland opengl
- type: EnvironmentVariable
variableName: CHECK_COMPATIBILITY
variableValue: 1
enable_if:
condition: property
property: target.arch
@ -43,16 +49,13 @@ target2: &target2
instructions:
- type: EnvironmentVariable
variableName: MACHINE
variableValue: qemux86
variableValue: qemux86-64
- type: EnvironmentVariable
variableName: YOCTO_BRANCH
variableValue: dunfell
variableName: MANIFEST
variableValue: walnascar.xml
- type: EnvironmentVariable
variableName: DISABLE_X11
variableValue: true
- type: EnvironmentVariable
variableName: MINGW
variableValue: true
variableName: TEST_CONFIGS
variableValue: ci configs x11 opengl
enable_if:
condition: property
property: target.arch
@ -64,8 +67,11 @@ target3: &target3
variableName: MACHINE
variableValue: qemuarm
- type: EnvironmentVariable
variableName: YOCTO_BRANCH
variableValue: gatesgarth
variableName: MANIFEST
variableValue: scarthgap.xml
- type: EnvironmentVariable
variableName: TEST_CONFIGS
variableValue: ci configs mingw wayland x11 opengl
enable_if:
condition: property
property: target.arch
@ -75,14 +81,65 @@ target4: &target4
instructions:
- type: EnvironmentVariable
variableName: MACHINE
variableValue: qemux86-64
variableValue: qemux86
- type: EnvironmentVariable
variableName: YOCTO_BRANCH
variableValue: master
variableName: MANIFEST
variableValue: whinlatter.xml
- type: EnvironmentVariable
variableName: TEST_CONFIGS
variableValue: ci configs wayland opengl
enable_if:
condition: property
property: target.arch
equals_value: TARGET4
target5: &target5
type: Group
instructions:
- type: EnvironmentVariable
variableName: MACHINE
variableValue: qemuarm64
- type: EnvironmentVariable
variableName: MANIFEST
variableValue: scarthgap.xml
- type: EnvironmentVariable
variableName: TEST_CONFIGS
variableValue: ci configs wayland opengl static
enable_if:
condition: property
property: target.arch
equals_value: TARGET5
target6: &target6
type: Group
instructions:
- type: EnvironmentVariable
variableName: MACHINE
variableValue: qemuarm64
- type: EnvironmentVariable
variableName: MANIFEST
variableValue: master.xml
- type: EnvironmentVariable
variableName: TEST_CONFIGS
variableValue: ci configs x11
enable_if:
condition: property
property: target.arch
equals_value: TARGET6
target7: &target7
type: Group
instructions:
- type: EnvironmentVariable
variableName: MACHINE
variableValue: qemuarm64
- type: EnvironmentVariable
variableName: MANIFEST
variableValue: master.xml
- type: EnvironmentVariable
variableName: TEST_CONFIGS
variableValue: ci configs wayland x11 opengl clang
enable_if:
condition: property
property: target.arch
equals_value: TARGET7
instructions:
Build:
@ -90,6 +147,9 @@ instructions:
- *target2
- *target3
- *target4
- *target5
- *target6
- *target7
- type: EnvironmentVariable
variableName: DL_DIR
variableValue: "/mnt/yocto-cache/downloads"
@ -110,41 +170,54 @@ 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
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
./repo init \
--repo-url git@git.qt.io:boot2qt/git-repo.git \
-u git://code.qt.io/yocto/boot2qt-manifest \
-b ci \
-m ${MANIFEST} \
--reference /mnt/yocto-cache/mirror
./repo sync
source ./openembedded-core/oe-init-build-env
# check compatibility agaist current Yocto master
if [ -n "${CHECK_COMPATIBILITY}" ]; then
yocto-check-layer ${SOURCE_DIR} \
--dependency \
../meta-openembedded/meta-oe \
../meta-openembedded/meta-python \
--additional-layer \
../meta-mingw \
--no-auto-dependency
fi
bitbake-layers add-layer ../meta-yocto/meta-poky
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 \
packagegroup-qt6-examples
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"

4
coin/test-clang.inc Normal file
View File

@ -0,0 +1,4 @@
PREFERRED_TOOLCHAIN_TARGET = "clang"
DISTRO_FEATURES:append = " ld-is-lld"
INSANE_SKIP:grpc-dbg = "buildpaths"

View File

@ -1,22 +1,21 @@
PREFERRED_PROVIDER_udev = "systemd"
# use gold
DISTRO_FEATURES_append = " ld-is-gold"
DISTRO = "poky"
# use systemd
DISTRO_FEATURES_append = " systemd"
DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit"
VIRTUAL-RUNTIME_init_manager = "systemd"
VIRTUAL-RUNTIME_initscripts = ""
# use wayland
DISTRO_FEATURES_append = " wayland"
INIT_MANAGER:forcevariable = "systemd"
INHERIT += "buildstats buildstats-summary"
INHERIT += "rm_work"
# default to commercial Qt
QT_EDITION = "commercial"
LICENSE_FLAGS_ACCEPTED = "commercial_ffmpeg"
# 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 +25,32 @@ 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}"
# workaround for qemu
# nativesdk-qemu-user-mips rdepends on nativesdk-bash, but it isn't a build dependency
INSANE_SKIP:nativesdk-qemu-user-mips = "build-deps"
# workaround for clang
# nativesdk-liblldb contains reference to TMPDIR [buildpaths]
INSANE_SKIP:append:pn-nativesdk-clang = " buildpaths"
# enable thumb for broader test coverage (oe-core autobuilder doesn't have thumb enabled)
PREFERRED_ARM_INSTRUCTION_SET ?= "thumb"
ARM_INSTRUCTION_SET = "${PREFERRED_ARM_INSTRUCTION_SET}"
PACKAGECONFIG_append_pn-qtbase = "\
tslib kms gbm zstd libproxy gssapi vulkan mtdev cups \
# enable webengine with commercial/proprietary features
PACKAGECONFIG:append:pn-qtwebengine = " proprietary-codecs"
PACKAGECONFIG:append:pn-qtbase = "\
tslib libproxy gssapi mtdev cups ctf \
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"
RDEPENDS:${PN}:append:pn-packagegroup-qt6-modules = " packagegroup-qt6-examples"
# 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"
# 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"
# remove all main features, added back in different builds
POKY_DEFAULT_DISTRO_FEATURES:remove = "opengl wayland vulkan"
DISTRO_FEATURES_DEFAULT:remove = "x11"

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

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

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

@ -0,0 +1,2 @@
DISTRO_FEATURES:append = " opengl vulkan"
DISTRO_FEATURES:append = " webengine"

51
coin/test-ptest.inc Normal file
View File

@ -0,0 +1,51 @@
IMAGE_CLASSES += "testimage"
QB_MEM = "-m 8192"
TEST_SUITES = "ssh ping parselogs ptest"
IMAGE_FEATURES += "ssh-server-dropbear"
IMAGE_INSTALL:append = "\
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'qt3d-ptest', '', d)} \
qt5compat-ptest \
qtbase-ptest \
qtcharts-ptest \
qtcoap-ptest \
qtconnectivity-ptest \
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'qtdatavis3d-ptest', '', d)} \
qtdeclarative-ptest \
qtdeviceutilities-ptest \
qtgraphs-ptest \
qtgrpc-ptest \
qthttpserver-ptest \
qtimageformats-ptest \
qtinterfaceframework-ptest \
qtlocation-ptest \
qtlottie-ptest \
qtmqtt-ptest \
qtmultimedia-ptest \
qtnetworkauth-ptest \
qtopcua-ptest \
qtpositioning-ptest \
qtquick3d-ptest \
qtquickdesigner-components-ptest \
qtquicktimeline-ptest \
qtremoteobjects-ptest \
qtscxml-ptest \
qtsensors-ptest \
qtserialbus-ptest \
qtserialport-ptest \
qtshadertools-ptest \
qtspeech-ptest \
qtsvg-ptest \
qttools-ptest \
qtvirtualkeyboard-ptest \
${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'qtwayland-ptest', '', d)} \
qtwebchannel-ptest \
qtwebsockets-ptest \
${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtpdf-ptest', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtwebengine-ptest', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtwebview-ptest', '', d)} \
${@bb.utils.contains('QT_COMMERCIAL_MODULES', '1', '\
qmlcompilerplus-ptest \
qtinsighttracker-ptest \
qtvncserver-ptest \
', '', d)} \
"

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

@ -0,0 +1,5 @@
PACKAGECONFIG:append:pn-qtbase = " static"
QT_PTEST_ENABLED = "0"
PACKAGECONFIG:remove:pn-qtapplicationmanager = "multi-process bubblewrap"
RDEPENDS:${PN}:remove:pn-packagegroup-qt6-modules = "packagegroup-qt6-examples"
DISTRO_FEATURES:remove = "webengine"

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

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

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

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

View File

@ -14,6 +14,12 @@ BBPATH .= ":${LAYERDIR}"
# We have a recipes directory, add to BBFILES
BBFILES += "${LAYERDIR}/recipes-*/*/*.bb ${LAYERDIR}/recipes-*/*/*.bbappend"
# bbappends for optional layers
BBFILES_DYNAMIC += " \
meta-python:${LAYERDIR}/dynamic-layers/meta-python/*/*/*.bb \
meta-python:${LAYERDIR}/dynamic-layers/meta-python/*/*/*.bbappend \
"
BBFILE_COLLECTIONS += "qt6-layer"
BBFILE_PATTERN_qt6-layer := "^${LAYERDIR}/"
@ -21,21 +27,28 @@ 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
LAYERVERSION_qt6-layer = "1"
LAYERDEPENDS_qt6-layer = "core"
LAYERDEPENDS_qt6-layer = "core openembedded-layer meta-python"
LAYERSERIES_COMPAT_qt6-layer = "zeus dunfell gatesgarth hardknott"
LAYERSERIES_COMPAT_qt6-layer = "scarthgap styhead walnascar whinlatter"
LICENSE_PATH += "${LAYERDIR}/licenses"
IMAGE_FEATURES[validitems] += "qtcreator-debug"
# Set a variable to get to the top of the metadata location
QT6BASE := "${LAYERDIR}"
QT_GIT_PROJECT ?= "qt"
QT_GIT ?= "git://code.qt.io"
QT_GIT_PROTOCOL ?= "git"
QT_EDITION ?= "opensource"
QT_VERSION = "6.11.0"
QT_COMMERCIAL_GIT ?= "git://codereview.qt-project.org"
QT_COMMERCIAL_GIT_PROTOCOL ?= "ssh"
QT_COMMERCIAL_MODULES ?= "0"

View File

@ -0,0 +1,22 @@
The Qt Company GPL Exception 1.0
Exception 1:
As a special exception you may create a larger work which contains the
output of this application and distribute that work under terms of your
choice, so long as the work is not otherwise derived from or based on
this application and so long as the work does not in itself generate
output that contains the output from this application in its original
or modified form.
Exception 2:
As a special exception, you have permission to combine this application
with Plugins licensed under the terms of your choice, to produce an
executable, and to copy and distribute the resulting executable under
the terms of your choice. However, the executable must be accompanied
by a prominent notice offering all users of the executable the entire
source code to this application, excluding the source code of the
independent modules, but including any changes you have made to this
application, under the terms of this license.

File diff suppressed because it is too large Load Diff

View File

@ -1,704 +0,0 @@
This is the GNU General Public License version 3, annotated with The
Qt Company GPL Exception 1.0:
-------------------------------------------------------------------------
The Qt Company GPL Exception 1.0
Exception 1:
As a special exception you may create a larger work which contains the
output of this application and distribute that work under terms of your
choice, so long as the work is not otherwise derived from or based on
this application and so long as the work does not in itself generate
output that contains the output from this application in its original
or modified form.
Exception 2:
As a special exception, you have permission to combine this application
with Plugins licensed under the terms of your choice, to produce an
executable, and to copy and distribute the resulting executable under
the terms of your choice. However, the executable must be accompanied
by a prominent notice offering all users of the executable the entire
source code to this application, excluding the source code of the
independent modules, but including any changes you have made to this
application, under the terms of this license.
-------------------------------------------------------------------------
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
<program> Copyright (C) <year> <name of author>
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<http://www.gnu.org/licenses/>.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<http://www.gnu.org/philosophy/why-not-lgpl.html>.

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;subdir=${BP};striplevel=1"
UPSTREAM_CHECK_URI = "http://zlib.net/"
S .= "/contrib/minizip"
SRC_URI[md5sum] = "85adef240c5f370b308da8c938951a68"
SRC_URI[sha256sum] = "4ff941449631ace0d4d203e3483be9dbc9da454084111f97ea0a2114e19bf066"
DEPENDS = "zlib"
inherit autotools
BBCLASSEXTEND = "native nativesdk"

View File

@ -0,0 +1,27 @@
SUMMARY = "A generator framework based on a common modern IDL"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=eee61e10a40b0e3045ee5965bcd9a8b5"
SRC_URI[sha256sum] = "b55c239f3ae7e23c5c8434f38901c5bcacb6afd17e88e37934b46e44558df295"
inherit pypi setuptools3
# Colorama is optional dependency from coloredlogs, but
# it seems to be required in general, at least on windows
DEPS = "\
python3-antlr4-runtime \
python3-argh \
python3-click \
python3-coloredlogs \
python3-jinja2 \
python3-markupsafe \
python3-pyyaml \
python3-six \
python3-watchdog \
python3-pytest \
python3-colorama \
"
DEPENDS += "${DEPS}"
RDEPENDS:${PN} += "${DEPS}"
BBCLASSEXTEND = "nativesdk native"

View File

@ -0,0 +1,12 @@
SUMMARY = "pytest support for PyQt and PySide applications"
HOMEPAGE = "http://github.com/pytest-dev/pytest-qt"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=be0db96616c6ec3cabe975402c4c687f"
SRC_URI[sha256sum] = "00a17b586dd530b6d7a9399923a40489ca4a9a309719011175f55dc6b5dc8f41"
inherit pypi setuptools3
DEPENDS = "python3-setuptools-scm-native"
RDEPENDS:${PN} += "python3-pytest"

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,37 @@
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-qtcanvaspainter-dev \
nativesdk-qtcanvaspainter-tools \
nativesdk-qtgrpc-dev \
nativesdk-qtgrpc-tools \
nativesdk-qtlottie-dev \
nativesdk-qtlottie-tools \
nativesdk-qtquick3d-dev \
nativesdk-qtquick3d-tools \
nativesdk-qtopcua-dev \
nativesdk-qtopcua-tools \
nativesdk-qtremoteobjects-dev \
nativesdk-qtremoteobjects-tools \
nativesdk-qtscxml-dev \
nativesdk-qtscxml-tools \
nativesdk-qtshadertools-dev \
nativesdk-qtshadertools-tools \
${FORLINUXHOST} \
"
FORLINUXHOST:mingw32 = ""
FORLINUXHOST = " \
nativesdk-qtinterfaceframework-dev nativesdk-qtinterfaceframework-tools \
"

View File

@ -0,0 +1,14 @@
DESCRIPTION = "Qt6 development host commercial packages"
LICENSE = "MIT"
# disable sanity check for allarch packagegroup
PACKAGE_ARCH = ""
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

@ -1,32 +1,25 @@
DESCRIPTION = "Qt6 development host packages"
LICENSE = "MIT"
# avoid warning with inherit_defer allarch
PACKAGE_ARCH = ""
inherit packagegroup nativesdk
PACKAGEGROUP_DISABLE_COMPLEMENTARY = "1"
RDEPENDS_${PN} += " \
nativesdk-make \
RDEPENDS:${PN} += " \
nativesdk-cmake \
nativesdk-make \
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 = " \
nativesdk-cmake \
nativesdk-ninja \
FORLINUXHOST:mingw32 = ""
FORLINUXHOST = " \
nativesdk-perl-modules \
nativesdk-python3-html5lib \
"

View File

@ -7,16 +7,23 @@ inherit packagegroup
PACKAGEGROUP_DISABLE_COMPLEMENTARY = "1"
RDEPENDS_${PN} += " \
RDEPENDS:${PN} += " \
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'qt3d', '', d)} \
qt5compat \
qtapplicationmanager \
qtcanvaspainter \
qtcharts \
qtcoap \
qtconnectivity \
${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'qtconnectivity-tools', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'qtdatavis3d', '', d)} \
qtdeviceutilities \
qtdoc \
qtgraphs \
qtgrpc \
qthttpserver \
qtimageformats \
qtinterfaceframework \
qtlocation \
qtlottie \
qtmqtt \
qtmultimedia \
@ -30,13 +37,42 @@ RDEPENDS_${PN} += " \
qtscxml \
qtsensors \
qtserialbus \
qtserialbus-tools \
qtserialport \
qtshadertools \
qtspeech \
qtsvg \
qttasktree \
qttranslations \
qtvirtualkeyboard \
${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'qtwayland', '', d)} \
qtwebchannel \
qtwebsockets \
"
RDEPENDS:${PN}:append:aarch64 = "\
qtquick3dphysics \
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'qtpdf', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtwebengine qtwebview', '', d)} \
"
RDEPENDS:${PN}:append:arm = " qtquick3dphysics"
RDEPENDS:${PN}:append:armv6 = "\
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'qtpdf', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtwebengine qtwebview', '', d)} \
"
RDEPENDS:${PN}:append:armv7a = "\
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'qtpdf', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtwebengine qtwebview', '', d)} \
"
RDEPENDS:${PN}:append:armv7ve = "\
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'qtpdf', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtwebengine qtwebview', '', d)} \
"
RDEPENDS:${PN}:append:x86 = " qtquick3dphysics"
RDEPENDS:${PN}:append:x86-64 = "\
qtquick3dphysics \
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'qtpdf', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtwebengine qtwebview', '', d)} \
"
RDEPENDS:${PN}:remove:libc-musl = "qtpdf qtwebengine qtwebview"

View File

@ -0,0 +1,15 @@
DESCRIPTION = "Qt6 commercial addon modules"
LICENSE = "MIT"
PACKAGE_ARCH = "${MACHINE_ARCH}"
inherit packagegroup
include recipes-qt/qt6/qt6-commercial.inc
PACKAGEGROUP_DISABLE_COMPLEMENTARY = "1"
RDEPENDS:${PN} += " \
qmlcompilerplus \
qtinsighttracker \
qtvncserver \
"

View File

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

View File

@ -0,0 +1,84 @@
DESCRIPTION = "Qt6 examples"
LICENSE = "MIT"
PACKAGE_ARCH = "${MACHINE_ARCH}"
inherit packagegroup
RDEPENDS:${PN} += " \
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'qt3d-examples', '', d)} \
qt5compat-examples \
qtapplicationmanager-examples \
qtbase-examples \
qtcanvaspainter-examples \
qtcharts-examples \
qtcoap-examples \
qtconnectivity-examples \
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'qtdatavis3d-examples', '', d)} \
qtdeclarative-examples \
qtdeviceutilities-examples \
qtdoc-examples \
qtgraphs-examples \
qtgrpc-examples \
qthttpserver-examples \
qtinterfaceframework-examples \
qtlocation-examples \
qtmqtt-examples \
qtmultimedia-examples \
qtnetworkauth-examples \
qtopcua-examples \
qtpositioning-examples \
qtquick3d-examples \
qtremoteobjects-examples \
qtscxml-examples \
qtsensors-examples \
qtserialbus-examples \
qtserialport-examples \
qtspeech-examples \
qttasktree-examples \
qttools-examples \
qtvirtualkeyboard-examples \
${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'qtwayland-examples', '', d)} \
qtwebchannel-examples \
qtwebsockets-examples \
"
RDEPENDS:${PN}:append:aarch64 = "\
qtquick3dphysics-examples \
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'qtpdf-examples', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtwebengine-examples qtwebview-examples', '', d)} \
"
RDEPENDS:${PN}:append:arm = "\
qtquick3dphysics-examples \
"
RDEPENDS:${PN}:append:armv6 = "\
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'qtpdf-examples', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtwebengine-examples qtwebview-examples', '', d)} \
"
RDEPENDS:${PN}:append:armv7a = "\
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'qtpdf-examples', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtwebengine-examples qtwebview-examples', '', d)} \
"
RDEPENDS:${PN}:append:armv7ve = "\
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'qtpdf-examples', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtwebengine-examples qtwebview-examples', '', d)} \
"
RDEPENDS:${PN}:append:x86 = "\
qtquick3dphysics-examples \
"
RDEPENDS:${PN}:append:x86-64 = "\
qtquick3dphysics-examples \
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'qtpdf-examples', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtwebengine-examples qtwebview-examples', '', d)} \
"
RDEPENDS:${PN}:remove:libc-musl = "qtpdf-examples qtwebengine-examples qtwebview-examples"
COMMERCIAL_EXAMPLES = " \
qtinsighttracker-examples \
qtvncserver-examples \
"
RDEPENDS:${PN} += "\
${@bb.utils.contains('QT_COMMERCIAL_MODULES', '1', '${COMMERCIAL_EXAMPLES}', '', d)} \
"

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,117 @@
require gn-utils.inc
inherit linuxloader
inherit qemu
COMPATIBLE_MACHINE = "(-)"
COMPATIBLE_MACHINE:libc-musl = "(-)"
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"
# The default debug level flag has moved from DEBUG_FLAGS to a new
# variable starting with Yocto 'styhead' (5.1) release
DEBUG_LEVELFLAG = "-g1"
# V8's JIT infrastructure requires binaries such as mksnapshot and
# mkpeephole to be run in the host during the build. However, these
# binaries must have the same bit-width as the target (e.g. a x86_64
# 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"

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

@ -0,0 +1,134 @@
# 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 gn_host_pkg_config(d):
"""Return absolute paths to pkg-config-native."""
return d.getVar("STAGING_BINDIR_NATIVE") + "/" + "pkg-config-native"
def gn_clang(d):
"""Return true if using clang compiler else return false"""
if "clang++" in d.getVar("CXX"):
return "true"
else:
return "false"
def gn_clang_native(d):
"""Return true if using native clang compiler else return false"""
if "clang++" in d.getVar("BUILD_CXX"):
return "true"
else:
return "false"
def write_toolchain_file(d, file_path):
"""Creates a complete GN toolchain file in |file_path|."""
import string
# 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 = ${is_clang}\n'
' host_pkg_config = "${host_pkg_config}"\n'
' }\n'
'}\n'
)
native_toolchain = {
'toolchain_name': 'yocto_native',
'is_clang': gn_clang_native(d),
'current_cpu': gn_host_arch_name(d),
'host_pkg_config': gn_host_pkg_config(d),
'cc': d.expand('${BUILD_CC}'),
'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',
'is_clang': gn_clang(d),
'current_cpu': gn_target_arch_name(d),
'host_pkg_config': gn_host_pkg_config(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

@ -1,5 +1,30 @@
#!/bin/sh
if [ ! -s tst_list ]; then
echo PASS: no tests
exit 0
fi
if [ -z "$LANG" ]; then
export LANG=C.UTF-8
fi
if [ -z "$QT_QPA_PLATFORM" ]; then
export QT_QPA_PLATFORM=offscreen
fi
if [ $UID -ne 0 ]; then
if [ ! -w ${HOME} ]; then
echo "Home directory should be writable, run as root:"
echo "usermod -d /home/${USER} ${USER} && mkhomedir_helper ${USER}"
fi
fi
if [ $UID -eq 0 ]; then
export QTWEBENGINE_DISABLE_SANDBOX=1
fi
for test in $(cat tst_list); do
( cd $(dirname ${test}) && ./$(basename ${test}) )
(
cd $(dirname ${test})
t=$(basename ${test})
./${t} && echo PASS: ${t} || echo FAIL: ${t}
)
done

View File

@ -0,0 +1,16 @@
LICENSE = "The-Qt-Company-Commercial"
LIC_FILES_CHKSUM = " \
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
file://LICENSES/GFDL-1.3-no-invariants-only.txt;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
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 qmlcompilerplus-native"
BBCLASSEXTEND = "native nativesdk"

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"

View File

@ -0,0 +1,23 @@
LICENSE = "(The-Qt-Company-Commercial | BSD-3-Clause) & CC-BY-4.0 & LicenseRef-MIRAMAR"
LIC_FILES_CHKSUM = " \
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
file://LICENSES/CC-BY-4.0.txt;md5=ed88d31cea57b15030a1f58ceb04e0d5 \
file://LICENSES/LicenseRef-MIRAMAR.txt;md5=6dd50bdc58b03a7976544fb939d5647b \
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
"
NO_GENERIC_LICENSE[LicenseRef-MIRAMAR] = "LICENSES/LicenseRef-MIRAMAR.txt"
inherit qt6-cmake
inherit features_check
REQUIRED_DISTRO_FEATURES = "opengl"
QT_MODULE = "qt3d"
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-examples.inc
DEPENDS = "\
qt3d \
qtdeclarative-native \
"

View File

@ -1,9 +1,16 @@
LICENSE = "BSD-3-Clause & ( GFDL-1.3 & BSD & ( LGPL-3.0 | GPL-2.0 ) | The-Qt-Company-Commercial )"
LICENSE = "(The-Qt-Company-Commercial | (GPL-3.0-only & Qt-GPL-exception-1.0) & (LGPL-3.0-only | GPL-2.0-only | GPL-3.0-only) & GFDL-1.3-no-invariants-only) & BSD-3-Clause & MIT"
LIC_FILES_CHKSUM = " \
file://LICENSE.LGPLv3;md5=8211fde12cc8a4e2477602f5953f5b71 \
file://LICENSE.GPLv3;md5=88e2b9117e6be406b5ed6ee4ca99a705 \
file://LICENSE.GPL;md5=c96076271561b0e3785dad260634eaa8 \
file://src/3rdparty/assimp/src/LICENSE;md5=d9d5275cab4fb13ae624d42ce64865de \
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
file://LICENSES/GFDL-1.3-no-invariants-only.txt;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
file://LICENSES/GPL-2.0-only.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
file://LICENSES/GPL-3.0-only.txt;md5=d32239bcb673463ab874e80d47fae504 \
file://LICENSES/LGPL-3.0-only.txt;md5=e6a600fd5e1d9cbde2d983680233ad02 \
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
file://LICENSES/Qt-GPL-exception-1.0.txt;md5=9a13522cd91a88fba784baf16ea66af8 \
file://src/3rdparty/assimp/LICENSE;md5=2119edef0916b0bd511cb3c731076271 \
file://src/3rdparty/imgui/LICENSE.imstb.txt;md5=2c03212e4ad1f727e9c2251327812596 \
file://src/3rdparty/imgui/LICENSE.proggyclean.txt;md5=f9db3a4f99ffc4d38de6bb590db15f31 \
file://src/3rdparty/imgui/LICENSE.txt;md5=875a54e93593c8b244ef6b78cacc336e \
"
inherit qt6-cmake
@ -17,15 +24,15 @@ 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=${BB_GIT_DEFAULT_DESTSUFFIX}/src/3rdparty/assimp/src \
"
DEPENDS = "qtbase qtdeclarative qtshadertools qtshadertools-native"
# Needed for supporting 64bit off_t
CFLAGS:append:libc-musl = " -DIOAPI_NO_64 -D_GNU_SOURCE"
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

@ -0,0 +1,14 @@
LICENSE = "The-Qt-Company-Commercial | BSD-3-Clause"
LIC_FILES_CHKSUM = " \
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
"
inherit qt6-cmake
QT_MODULE = "qt5compat"
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-examples.inc
DEPENDS += "qt5compat"

View File

@ -1,11 +1,13 @@
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 = "(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) & BSD-2-Clause"
LIC_FILES_CHKSUM = " \
file://LICENSE.LGPL3;md5=e6a600fd5e1d9cbde2d983680233ad02 \
file://LICENSE.LGPLv3;md5=86d02ed8764e77c1c0b194fde895a51b \
file://LICENSE.GPL2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
file://LICENSE.GPL3;md5=d32239bcb673463ab874e80d47fae504 \
file://LICENSE.GPL3-EXCEPT;md5=763d8c535a234d9a3fb682c7ecb6c073 \
file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e \
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
file://LICENSES/GFDL-1.3-no-invariants-only.txt;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
file://LICENSES/GPL-2.0-only.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
file://LICENSES/GPL-3.0-only.txt;md5=d32239bcb673463ab874e80d47fae504 \
file://LICENSES/LGPL-3.0-only.txt;md5=e6a600fd5e1d9cbde2d983680233ad02 \
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
file://LICENSES/Qt-GPL-exception-1.0.txt;md5=9a13522cd91a88fba784baf16ea66af8 \
file://src/core5/codecs/LICENSE.QTSCIICODEC.txt;md5=f36a16de69d08da0af83ce2a672d8972 \
"
inherit qt6-cmake
@ -13,12 +15,13 @@ inherit qt6-cmake
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6.inc
ENABLE_QMLCOMPILER = "0"
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,8 @@
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_REPO = "tqtc-${QT_MODULE}"

View File

@ -0,0 +1,18 @@
FILESEXTRAPATHS:prepend := "${THISDIR}/${QT_MODULE}:"
EXTRA_OECMAKE += "\
-DQT_BUILD_TESTS=OFF \
-DQT_BUILD_STANDALONE_EXAMPLES=ON \
-DQT_NO_FAKE_STANDALONE_EXAMPLE_INSTALL_PREFIX=ON \
"
# use debug sources from the module
PACKAGE_DEBUG_SPLIT_STYLE = "debug-without-src"
TARGET_DBGSRC_DIR = "/usr/src/debug/${QT_MODULE}/${PV}"
FILES:${PN} = " \
${QT6_INSTALL_EXAMPLESDIR} \
"
INSANE_SKIP:${PN} += "libdir dev-so"
INSANE_SKIP:${PN}-dbg += "libdir"

View File

@ -1,14 +1,75 @@
DESCRIPTION ?= "Qt is a cross-platform application development framework for desktop, embedded and mobile."
HOMEPAGE ?= "https://www.qt.io"
inherit srcrev-update
QT_MODULE ?= "${BPN}"
QT_MODULE_BRANCH ?= "dev"
QT_MODULE_BRANCH_PARAM ?= "branch=${QT_MODULE_BRANCH}"
QT_MODULE_BRANCH_PARAM ?= "branch=${QT_MODULE_BRANCH};nobranch=1"
QT_MODULE_REPO ?= "${QT_MODULE}"
SRC_URI = "${QT_GIT}/${QT_GIT_PROJECT}/${QT_MODULE}.git;name=${QT_MODULE};${QT_MODULE_BRANCH_PARAM};protocol=${QT_GIT_PROTOCOL}"
# for compatibility with Yocto releases before whinlatter
BB_GIT_DEFAULT_DESTSUFFIX ?= "${BP}"
CVE_PRODUCT = "qt"
SRC_URI = "${QT_GIT}/${QT_GIT_PROJECT}/${QT_MODULE_REPO};name=${QT_MODULE};${QT_MODULE_BRANCH_PARAM};protocol=${QT_GIT_PROTOCOL};destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}"
S = "${WORKDIR}/git"
CVE_PRODUCT ?= "qt:${BPN} qt:qt"
PV = "6.2.0"
PV = "${QT_VERSION}"
SRCREV = "${SRCREV_${QT_MODULE_REPO}}"
SRCREV_tqtc-qmlcompilerplus = "2f2395a50b0ddb1af6b699a90cfbe2164f67b6e7"
SRCREV_tqtc-qtinsighttracker = "ac8972a670cf492ce2d2cf4ab757c43c5291804f"
SRCREV_tqtc-qtvncserver = "8bfcb2ede4e5021a637933ec927ce2678fdc7f0c"
SRCREV_qt3d = "1cac4a649679618f1301aba0074dae063eac6b98"
SRCREV_qt3d-assimp = "488a2f7af2920295ada886f113a0d563dab79b8d"
SRCREV_qt5compat = "287be0a7793621dd4e6e780595bf20aa3ae2b2c4"
SRCREV_qtbase = "bd04c5d7a4b907b8c4a2d2dda4ba3f24f687fb7f"
SRCREV_qtapplicationmanager = "4bd1f1fba3f803a7284a5110e117e8d162d54065"
SRCREV_qtcanvaspainter = "689445d357df249cdf0d5ec0437bd6b8b68368c8"
SRCREV_qtcharts = "46a2c96f3e376bc2de0e0710ec0e143c1a784081"
SRCREV_qtcoap = "fbd3db03f13a7d1fd79aaa2392e331a1737f7f68"
SRCREV_qtconnectivity = "e2bee5bf54cb0ac721fd9da0884a8f5a251e63fa"
SRCREV_qtdatavis3d = "ca8d79677e63c3111536f9b03c4184f732810498"
SRCREV_qtdeclarative = "59da4b17158303fc671869547bcb91b675bf4702"
SRCREV_qtdeviceutilities = "4f86edb2eb255397f849528f43f49a59d4973109"
SRCREV_qtdoc = "42cd131492d531dc32660f79e81c6f85dbc56a12"
SRCREV_qtgraphs = "c08c320fc36fa31b264ac3c8f0f62aa94ac41b30"
SRCREV_qtgrpc = "2bccf14f841bca476a6f90242b30368742de4a66"
SRCREV_qthttpserver = "648e8b021ee219c7034c357cd9a5424a3040dfad"
SRCREV_qtimageformats = "cb96a5aa2e37e0a6d31df138d24c207c6951de3a"
SRCREV_qtinterfaceframework = "1dfaeb1d7c2cb60b56d4c9e1ff6e622e03d86d97"
SRCREV_qtlanguageserver = "8599dad24858f93876012bd2071d096a31dfda0a"
SRCREV_qtlocation = "8d13de6bc6a2207eca4eded65741a28d95d433a3"
SRCREV_qtlottie = "3a5ce6df4ba97e29e7d7dc16c2bb3e849885d8fb"
SRCREV_qtmqtt = "4f6e8dd0f1c78926394335686cfa8537303b1a07"
SRCREV_qtmultimedia = "074d188889891972cb456817510f62b158e9ca67"
SRCREV_qtnetworkauth = "0b8d323ae151f3826d7b5a223d80e5293cd1ed06"
SRCREV_qtopcua = "f4dd8c4011d4ba3d11fbaaede379de247fe09690"
SRCREV_qtpositioning = "56ede83df68dcb1048564aa463f8b48985f5f99e"
SRCREV_qtquick3d = "3468786a6e3320eca9d4cc6d5444636ba5d88c73"
SRCREV_qtquick3d-assimp = "488a2f7af2920295ada886f113a0d563dab79b8d"
SRCREV_qtquick3dphysics = "9c860d931ef38751a1bc03ef813610dbd7793469"
SRCREV_qtquickdesigner-components = "8c9e0faa0dd8b8adf019e357212e59898a7bebfb"
SRCREV_qtquicktimeline = "831a9978aee0e963b88f5cb122228ecb7b99b13d"
SRCREV_qtremoteobjects = "6c1fe0e164815b540b996d3246634b5e43d3ccb9"
SRCREV_qtscxml = "604aa8558028411a9b9ac3c4bd813231db2264d0"
SRCREV_qtsensors = "8d6d925ae615a23c8b84b51ad3701dce78afc53c"
SRCREV_qtserialbus = "c5d1600f1270a8e4953d1c074b9faed7d99fdd2d"
SRCREV_qtserialport = "cc95fa549119370ef78587af749e8f17544c95cc"
SRCREV_qtshadertools = "45ef193c92f93c7a0bf8de53163a9ca8886f8267"
SRCREV_qtspeech = "63e490d12db7790b29fa61f0c6e0677cef7074e9"
SRCREV_qtsvg = "7c65619dc929ebf52b63251e8601b47f2f2ee207"
SRCREV_qttasktree = "93e1d91ac78e232c3ca6b1db0031a30d08b334dd"
SRCREV_qttools = "369f8a1fa6ac7527227df7a99399b0428a16ba97"
SRCREV_qttools-qlitehtml = "3fe5821dad98747d6e41c9ed54b86c3d0eee9daf"
SRCREV_qttools-qlitehtml-litehtml = "6ca1ab0419e770e6d35a1ef690238773a1dafcee"
SRCREV_qttranslations = "0a794041faf3e647ff9623d99754a8cfdaa68a47"
SRCREV_qtvirtualkeyboard = "e9d1ea1624cf2c961ba4aa077090367d108b130a"
SRCREV_qtwayland = "586e489ce426e833729c333499cb98a06fbae1b0"
SRCREV_qtwebchannel = "227750ae26054f88c202c370930c1dccf529b7fc"
SRCREV_qtwebengine = "152b67fa5b7862d2a63fd0574ebeb4759335b935"
SRCREV_qtwebengine-chromium = "031a10673ee369c84b2db2669fc147adf175a3be"
SRCREV_qtwebsockets = "f269b863b994977ae8f937620c99c60e811fcbf9"
SRCREV_qtwebview = "374f9d6ebc7226b68b4e336a136e99e73fd42b44"

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,51 +1,105 @@
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}= \
"
do_install_ptest_base[progress] = "${@d.getVarFlag('do_compile', 'progress')}"
B_PTEST = "${WORKDIR}/build-ptest"
fakeroot do_install_ptest() {
if [ -n "${OE_QMAKE_QMAKE}" ]; then
# qmake project
B_PTEST=${B}
mkdir -p ${B_PTEST}/tests
cd ${B_PTEST}/tests
${OE_QMAKE_QMAKE} -o Makefile ${S}/tests
oe_runmake
else
# cmake project
B_PTEST=${WORKDIR}/build-ptest
mkdir -p ${B_PTEST}
cd ${B_PTEST}
cmake \
${OECMAKE_GENERATOR_ARGS} \
-DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \
${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} \
${S} \
-Wno-dev
${CMAKE_VERBOSE} cmake --build ${B_PTEST} --target all
fi
cat >${WORKDIR}/toolchain-ptest.cmake <<EOF
include(${WORKDIR}/toolchain.cmake)
list(PREPEND CMAKE_FIND_ROOT_PATH ${D})
EOF
# if any auto tests were build
if [ -e "${B_PTEST}/tests/auto" ]; then
install -d ${D}${PTEST_PATH}/tests
cp -r ${B_PTEST}/tests/auto ${D}${PTEST_PATH}/tests
mkdir -p ${B_PTEST}
cd ${B_PTEST}
cmake \
${OECMAKE_GENERATOR_ARGS} \
-DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain-ptest.cmake \
-DPython3_EXECUTABLE=${PYTHON} \
${EXTRA_OECMAKE} \
-DQT_BUILD_STANDALONE_TESTS=ON \
-DQT_BUILD_EXAMPLES=OFF \
-DQT_ADDITIONAL_PACKAGES_PREFIX_PATH=${D}${prefix} \
-DCMAKE_STAGING_PREFIX=${D}${prefix} \
-DCMAKE_SKIP_RPATH=ON \
-DQT_DISABLE_NO_DEFAULT_PATH_IN_QT_PACKAGES=ON \
-DQT_FORCE_BUILTIN_TESTDATA=ON \
${S} \
-Wno-dev
${CMAKE_VERBOSE} cmake --build ${B_PTEST} --target all
# remove build files
find ${D}${PTEST_PATH}/tests \
\( -wholename "*/.*" -o -wholename "*autogen*" -o -iwholename "*cmake*" -o -name Makefile \) \
-delete
for tests in auto baseline
do
if [ -e "${B_PTEST}/tests/$tests" ]; then
install -d ${D}${PTEST_PATH}/tests
find ${B_PTEST}/tests/$tests ! -type d -a \( \
-executable -o \
-name qmldir -o \
-name *.rcc \
\) -exec sh -c '\
install -D "$1" "${D}${PTEST_PATH}${1#${B_PTEST}}" \
' _ {} \;
fi
done
for f in $(find ${D}${PTEST_PATH} -name tst_* -executable); do
test=${f##${D}${PTEST_PATH}/}
testdir=$(dirname ${test})
# tests may depend on files from sources
cp -r ${S}/${testdir}/* ${D}${PTEST_PATH}/${testdir}
echo ${test} >> ${D}${PTEST_PATH}/tst_list
done
if [ -e "${B_PTEST}/${baselib}" ]; then
find ${B_PTEST}/${baselib} \
! -type d -a \( -executable -o -name qmldir \) \
-exec sh -c '\
install -D "$1" "${D}${PTEST_PATH}${1#${B_PTEST}/${baselib}}" \
' _ {} \;
fi
}
INSANE_SKIP_${PN}-ptest += "file-rdeps"
fakeroot python do_create_ptest_list() {
import json, os, subprocess
builddir = d.getVar('B_PTEST')
ptest_path = d.getVar('PTEST_PATH')
try:
command_output = subprocess.check_output(['ctest', '--show-only=json-v1'], cwd=builddir, text=True)
except subprocess.CalledProcessError as e:
bb.fatal('Could not get list of tests: {e.output}')
json_data = json.loads(command_output)
tests_data = json_data.get('tests', [])
output = d.getVar('D') + os.path.join(ptest_path, 'tst_list')
file = open(output, 'w')
for test in tests_data:
test_name = test.get('name')
working_directory = next((prop['value'] for prop in test.get('properties', []) if prop['name'] == 'WORKING_DIRECTORY'), None)
test_executable = os.path.normpath(os.path.join(working_directory,test_name))
if test_executable.startswith(builddir) and os.path.isfile(test_executable):
test_executable = test_executable.replace(builddir,ptest_path)
file.write(f'{test_executable}\n')
file.close()
}
addtask create_ptest_list after do_install_ptest_base before do_package
python () {
if not(d.getVar('PTEST_ENABLED') == "1"):
bb.build.deltask('do_create_ptest_list', d)
}
INSANE_SKIP:${PN}-ptest += "file-rdeps"
PACKAGESPLITFUNCS =+ "remove_ptest_debug"
remove_ptest_debug() {
if [ -e ${PKGD}${QT6_INSTALL_LIBDIR}/${BPN}/ptest ]; then
find ${PKGD}${QT6_INSTALL_LIBDIR}/${BPN}/ptest -depth -type d -name .debug -exec rm -rf '{}' \;
fi
}

View File

@ -1,14 +1,5 @@
inherit srcrev-update
include recipes-qt/qt6/qt6-ptest.inc
PACKAGECONFIG[examples] = "-DQT_BUILD_EXAMPLES=ON,-DQT_BUILD_EXAMPLES=OFF,"
PACKAGECONFIG[tests] = "-DQT_BUILD_TESTS=ON,-DQT_BUILD_TESTS=OFF,"
# For qmake projects
EXTRA_QMAKEVARS_PRE += "${@bb.utils.contains('PACKAGECONFIG', 'examples', 'QT_BUILD_PARTS+=examples', 'QT_BUILD_PARTS-=examples', d)}"
EXTRA_QMAKEVARS_PRE += "${@bb.utils.contains('PACKAGECONFIG', 'tests', 'QT_BUILD_PARTS+=tests', 'QT_BUILD_PARTS-=tests', d)}"
# If Qt6 (qtbase) is machine specific, then everything will be,
# because the (initial) qtbase configuration becomes part of Qt5/qmake
python __anonymous() {
@ -21,60 +12,60 @@ 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"
SYSROOT_DIRS += "${QT6_INSTALL_BINDIR} ${QT6_INSTALL_LIBEXECDIR}"
SYSROOT_DIRS_append_mingw32 = " ${QT6_INSTALL_BINDIR}"
PACKAGE_BEFORE_PN = "${PN}-qmlplugins ${PN}-tools ${PN}-plugins"
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} \
@ -82,15 +73,21 @@ FILES_${PN}-dev += " \
${QT6_INSTALL_LIBDIR}/*.prl \
${QT6_INSTALL_LIBDIR}/*.la \
${QT6_INSTALL_LIBDIR}/cmake \
${QT6_INSTALL_LIBDIR}/metatypes \
${QT6_INSTALL_ARCHDATADIR}/metatypes \
${QT6_INSTALL_LIBDIR}/pkgconfig \
${QT6_INSTALL_ARCHDATADIR}/sbom \
${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,14 +102,9 @@ 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*/ \
${QT6_INSTALL_QMLDIR}/*/*/*/*/objects*/ \
"
# Note: INSTALL_EXAMPLESDIR is not used
FILES_${PN}-examples = " \
${QT6_INSTALL_EXAMPLESDIR} \
${prefix}/examples \
"

View File

@ -0,0 +1,18 @@
LICENSE = "The-Qt-Company-Commercial | BSD-3-Clause"
LIC_FILES_CHKSUM = " \
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
"
inherit qt6-cmake
QT_MODULE = "qtapplicationmanager"
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-examples.inc
DEPENDS += "\
qtapplicationmanager \
qtapplicationmanager-native \
qtdeclarative-native \
"

View File

@ -0,0 +1,39 @@
DESCRIPTION = "Qt component for application lifecycle management"
LICENSE = "The-Qt-Company-Commercial | (GPL-3.0-only & Qt-GPL-exception-1.0) & GFDL-1.3-no-invariants-only & BSD-3-Clause"
LIC_FILES_CHKSUM = " \
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
file://LICENSES/GFDL-1.3-no-invariants-only.txt;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
file://LICENSES/GPL-3.0-only.txt;md5=d32239bcb673463ab874e80d47fae504 \
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
file://LICENSES/Qt-GPL-exception-1.0.txt;md5=9a13522cd91a88fba784baf16ea66af8 \
"
inherit qt6-cmake
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6.inc
DEPENDS += "qtbase qtdeclarative libyaml libarchive qtapplicationmanager-native"
DEPENDS:append:libc-musl = " libexecinfo"
RDEPENDS:${PN}:class-target = "libcrypto ${PN}-tools"
EXTRA_OECMAKE += "-DQT_APPMAN_SKIP_EXCLUDE_TOOLS_FROM_DEFAULT_TARGET=ON"
PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'multi-process bubblewrap', '', 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"
PACKAGECONFIG[bubblewrap] = "-DFEATURE_am_bubblewrap_container=ON,-DFEATURE_am_bubblewrap_container=OFF,,bubblewrap"
PACKAGECONFIG:class-native ??= "tools-only"
PACKAGECONFIG:class-nativesdk ??= "${PACKAGECONFIG:class-native}"
FILES:${PN}-tools = "\
${QT6_INSTALL_BINDIR}/appman-package-server* \
${QT6_INSTALL_BINDIR}/appman-packager* \
${QT6_INSTALL_BINDIR}/appman-qmltestrunner* \
"
BBCLASSEXTEND = "nativesdk native"
INSANE_SKIP:${PN}-ptest += "buildpaths"

View File

@ -0,0 +1,14 @@
LICENSE = "The-Qt-Company-Commercial | BSD-3-Clause"
LIC_FILES_CHKSUM = " \
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
"
inherit qt6-cmake
QT_MODULE = "qtbase"
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-examples.inc
DEPENDS += "qtbase"

View File

@ -1,4 +1,4 @@
From 7e15934773ea428c2a35f80a0485f700ad9891cf Mon Sep 17 00:00:00 2001
From a08e167d51c33f91009ba27adaa083c783c1ac54 Mon Sep 17 00:00:00 2001
From: Martin Jansa <Martin.Jansa@gmail.com>
Date: Mon, 15 Apr 2013 04:29:32 +0200
Subject: [PATCH] Add linux-oe-g++ platform
@ -12,6 +12,7 @@ Upstream-Status: Inappropriate [embedded specific]
Change-Id: I0591ed5da0d61d7cf1509d420e6b293582f1863c
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
mkspecs/features/qt.prf | 6 ++---
mkspecs/features/qt_functions.prf | 4 +--
@ -24,19 +25,19 @@ Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
create mode 100644 mkspecs/oe-device-extra.pri
diff --git a/mkspecs/features/qt.prf b/mkspecs/features/qt.prf
index 729f3ac73d..84efd90d47 100644
index 3c4b284b68..a7545ace5c 100644
--- a/mkspecs/features/qt.prf
+++ b/mkspecs/features/qt.prf
@@ -150,7 +150,7 @@ import_plugins:qtConfig(static) {
plug_name = $$QMAKE_PREFIX_STATICLIB$${plug}$$qtPlatformTargetSuffix().$$QMAKE_EXTENSION_STATICLIB
@@ -164,7 +164,7 @@ import_plugins {
plug_name = $$QMAKE_PREFIX_STATICLIB$${plug}$$qtPlatformTargetSuffix($$config_variable).$$QMAKE_EXTENSION_STATICLIB
plug_path = $$eval(QT_PLUGIN.$${plug}.PATH)
isEmpty(plug_path): \
- plug_path = $$[QT_INSTALL_PLUGINS/get]
+ plug_path = $$[QT_INSTALL_PLUGINS]
LIBS += $$plug_path/$$plug_type/$$plug_name
} else {
LIBS += -l$${plug}$$qtPlatformTargetSuffix()
@@ -283,8 +283,8 @@ for(ever) {
LIBS += -l$${plug}$$qtPlatformTargetSuffix(CONFIG)
@@ -319,8 +319,8 @@ for(ever) {
# static builds: link qml import plugins into the target.
contains(all_qt_module_deps, qml): \
qtConfig(static):import_plugins:!host_build:!no_import_scan {
@ -48,10 +49,10 @@ index 729f3ac73d..84efd90d47 100644
# run qmlimportscanner
qtPrepareLibExecTool(QMLIMPORTSCANNER, qmlimportscanner, , system)
diff --git a/mkspecs/features/qt_functions.prf b/mkspecs/features/qt_functions.prf
index dd780ad556..0664ef789e 100644
index f1371c8cc6..84cbf4a476 100644
--- a/mkspecs/features/qt_functions.prf
+++ b/mkspecs/features/qt_functions.prf
@@ -91,7 +91,7 @@ defineTest(qtPrepareTool) {
@@ -95,7 +95,7 @@ defineTest(qtPrepareTool) {
cmd = $$eval(QT_TOOL.$${2}.binary)
isEmpty(cmd) {
isEmpty(5) {
@ -60,7 +61,7 @@ index dd780ad556..0664ef789e 100644
} else {
instloc = $$5
}
@@ -136,7 +136,7 @@ defineTest(qtPrepareTool) {
@@ -140,7 +140,7 @@ defineTest(qtPrepareTool) {
# Forwards its arguments to qtPrepareTool but defaults the installation location to
# $$[QT_HOST_LIBEXECS]
defineTest(qtPrepareLibExecTool) {

View File

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

View File

@ -0,0 +1,67 @@
From 9bf5632187b8f17cc0d626926df2784c38059875 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Sun, 3 Sep 2017 09:11:44 -0700
Subject: [PATCH] Add OE specific specs for clang compiler
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upstream-Status: Inappropriate [OE Specific]
---
mkspecs/linux-oe-clang/qmake.conf | 40 ++++++++++++++++++++++++++
mkspecs/linux-oe-clang/qplatformdefs.h | 1 +
2 files changed, 41 insertions(+)
create mode 100644 mkspecs/linux-oe-clang/qmake.conf
create mode 100644 mkspecs/linux-oe-clang/qplatformdefs.h
diff --git a/mkspecs/linux-oe-clang/qmake.conf b/mkspecs/linux-oe-clang/qmake.conf
new file mode 100644
index 0000000000..c09b132ac8
--- /dev/null
+++ b/mkspecs/linux-oe-clang/qmake.conf
@@ -0,0 +1,40 @@
+#
+# qmake configuration for linux-g++ with modifications for building with OpenEmbedded
+#
+
+MAKEFILE_GENERATOR = UNIX
+CONFIG += incremental
+QMAKE_INCREMENTAL_STYLE = sublib
+
+include(../common/linux.conf)
+
+# QMAKE_<TOOL> (moc, uic, rcc) are gone, overwrite only ar, objcopy and strip
+QMAKE_AR = $$(OE_QMAKE_AR) cqs
+QMAKE_OBJCOPY = $$(OE_QMAKE_OBJCOPY)
+QMAKE_STRIP = $$(OE_QMAKE_STRIP)
+
+include(../common/gcc-base-unix.conf)
+
+# *FLAGS from gcc-base.conf
+QMAKE_CFLAGS += $$(OE_QMAKE_CFLAGS)
+QMAKE_CXXFLAGS += $$(OE_QMAKE_CXXFLAGS)
+QMAKE_LFLAGS += $$(OE_QMAKE_LDFLAGS)
+
+include(../common/clang.conf)
+
+# tc settings from g++-base.conf
+QMAKE_CC = $$(OE_QMAKE_CC)
+QMAKE_CXX = $$(OE_QMAKE_CXX)
+
+QMAKE_LINK = $$(OE_QMAKE_LINK)
+QMAKE_LINK_SHLIB = $$(OE_QMAKE_LINK)
+QMAKE_LINK_C = $$(OE_QMAKE_LINK)
+QMAKE_LINK_C_SHLIB = $$(OE_QMAKE_LINK)
+QMAKE_CFLAGS_ISYSTEM =
+# for the SDK
+isEmpty(QMAKE_QT_CONFIG):QMAKE_QT_CONFIG = $$(OE_QMAKE_QT_CONFIG)
+
+include(../oe-device-extra.pri)
+
+load(device_config)
+load(qt_config)
diff --git a/mkspecs/linux-oe-clang/qplatformdefs.h b/mkspecs/linux-oe-clang/qplatformdefs.h
new file mode 100644
index 0000000000..880c927b21
--- /dev/null
+++ b/mkspecs/linux-oe-clang/qplatformdefs.h
@@ -0,0 +1 @@
+#include "../linux-clang/qplatformdefs.h"

View File

@ -0,0 +1,29 @@
From a4d3698a56665cc73a18fa860c862e1b04533792 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
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 | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/cmake/qt.toolchain.cmake.in b/cmake/qt.toolchain.cmake.in
index 15cf7a432e..03de9288df 100644
--- a/cmake/qt.toolchain.cmake.in
+++ b/cmake/qt.toolchain.cmake.in
@@ -67,8 +67,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.

View File

@ -0,0 +1,28 @@
From 9a8f4cadd4a90e0e5a347bb38210869a5fd28e0f 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 15c040a2e3c..913e233a524 100644
--- a/src/testlib/CMakeLists.txt
+++ b/src/testlib/CMakeLists.txt
@@ -149,8 +149,8 @@ set(qt_tc_build_dir_def
string(JOIN "" testcase_dirs_genex
"$<$<NOT:$<BOOL:$<TARGET_PROPERTY:QT_SKIP_DEFAULT_TESTCASE_DIRS>>>:"
- "QT_TESTCASE_BUILDDIR=\"${qt_tc_build_dir_def}\"$<SEMICOLON>"
- "QT_TESTCASE_SOURCEDIR=\"$<TARGET_PROPERTY:SOURCE_DIR>\""
+ "QT_TESTCASE_BUILDDIR=\"\"$<SEMICOLON>"
+ "QT_TESTCASE_SOURCEDIR=\"\""
">"
)
set_property(TARGET Test APPEND PROPERTY INTERFACE_COMPILE_DEFINITIONS

View File

@ -1,36 +1,54 @@
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 = "(The-Qt-Company-Commercial | (GPL-3.0-only & Qt-GPL-exception-1.0) & (LGPL-3.0-only | GPL-2.0-only | GPL-3.0-only) \
& GFDL-1.3-no-invariants-only) & Apache-2.0 & BSD-3-Clause & BSL-1.0 & LGPL-2.1-or-later & HPND & MIT"
LIC_FILES_CHKSUM = " \
file://LICENSE.LGPL3;md5=e6a600fd5e1d9cbde2d983680233ad02 \
file://LICENSE.GPL2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
file://LICENSE.GPL3;md5=d32239bcb673463ab874e80d47fae504 \
file://LICENSE.GPL3-EXCEPT;md5=763d8c535a234d9a3fb682c7ecb6c073 \
file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e \
file://LICENSE.QT-LICENSE-AGREEMENT;md5=c8b6dd132d52c6e5a545df07a4e3e283 \
file://LICENSES/Apache-2.0.txt;md5=b4c615f64dff32f71eeed614d13dfd4c \
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
file://LICENSES/BSL-1.0.txt;md5=8c92b4c255bdcce2989707d5b8a4d302 \
file://LICENSES/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/HPND.txt;md5=72f417bf093b8008321cb594117034ec \
file://LICENSES/LGPL-2.1-or-later.txt;md5=2a4f4fd2128ea2f65047ee63fbca9f68 \
file://LICENSES/LGPL-3.0-only.txt;md5=e6a600fd5e1d9cbde2d983680233ad02 \
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
file://LICENSES/MIT.txt;md5=3605d54ecceddcd50962eb89318779ec \
file://LICENSES/Qt-GPL-exception-1.0.txt;md5=9a13522cd91a88fba784baf16ea66af8 \
"
inherit qt6-cmake
inherit qt6-cmake verify-qt-version
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6.inc
SRC_URI += "\
file://0001-Add-linux-oe-g-platform.patch \
file://0003-Add-OE-specific-specs-for-clang-compiler.patch \
file://0004-Fix-qt.toolchain.cmake-for-SDK-use.patch \
file://0005-testlib-don-t-track-the-build-or-source-directories.patch \
"
SRC_URI:append:class-native = "\
file://0002-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch \
"
DEPENDS += "\
patchelf-native \
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:libc-glibc:class-target = " locale-base-c"
RRECOMMENDS:${PN}-ptest:append = " tzdata"
PACKAGECONFIG:class-native ?= "\
gui widgets jpeg png dbus no-opengl openssl zlib zstd \
${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'qtwaylandscanner', '', d)} \
"
PACKAGECONFIG:class-nativesdk ?= "${PACKAGECONFIG:class-native}"
PACKAGECONFIG ?= "\
${PACKAGECONFIG_DEFAULT} \
${PACKAGECONFIG_GRAPHICS} \
${PACKAGECONFIG_X11} \
${PACKAGECONFIG_KDE} \
${PACKAGECONFIG_FONTS} \
${PACKAGECONFIG_SYSTEM} \
${PACKAGECONFIG_DISTRO} \
@ -38,36 +56,69 @@ PACKAGECONFIG ?= "\
PACKAGECONFIG_GRAPHICS ?= "\
${@bb.utils.filter('DISTRO_FEATURES', 'vulkan', d)} \
${@bb.utils.filter('DISTRO_FEATURES', 'wayland', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', \
bb.utils.contains('DISTRO_FEATURES', 'x11', 'gl', 'gles2', d), 'no-opengl', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'directfb', 'directfb', '', d)} \
bb.utils.contains('DISTRO_FEATURES', 'wayland', 'kms gbm gles2 eglfs', \
bb.utils.contains('DISTRO_FEATURES', 'x11', 'gl', \
'kms gbm gles2 eglfs', d), d), \
'no-opengl', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xcb', '', d)} \
linuxfb \
"
PACKAGECONFIG_X11 ?= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xcb xkbcommon glib', '', d)}"
PACKAGECONFIG_KDE ?= "${@bb.utils.contains('DISTRO_FEATURES', 'kde', 'sm cups kms gbm sql-sqlite', '', d)}"
PACKAGECONFIG_FONTS ?= ""
PACKAGECONFIG_SYSTEM ?= ""
PACKAGECONFIG_DISTRO ?= ""
PACKAGECONFIG_DEFAULT ?= "accessibility dbus udev gui widgets icu openssl \
jpeg png dbus libinput fontconfig harfbuzz \
PACKAGECONFIG_DEFAULT ?= "\
accessibility \
${@bb.utils.contains_any('DISTRO_FEATURES', 'x11 wayland', 'accessibility-atspi-bridge', '', d)} \
dbus \
fontconfig \
glib \
gui \
harfbuzz \
icu \
jpeg \
libinput \
${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', 'use-gold-linker', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-lld', 'use-lld-linker', '', d)} \
openssl \
png \
udev \
widgets \
xkbcommon \
zlib \
zstd \
${@bb.utils.contains('SELECTED_OPTIMIZATION', '-Os', 'optimize-size ltcg', '', d)} \
${@bb.utils.contains('BBFILE_COLLECTIONS', 'openembedded-layer', 'zstd', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'qtwaylandscanner', '', d)} \
"
PACKAGECONFIG:remove:mingw32 = "openssl"
# Build type: Debug, Release, MinSizeRel, RelWithDebInfo
BUILD_TYPE ?= "Release"
# OpenSSL linking mode: runtime, linked
OPENSSL_LINKING_MODE ?= "runtime"
# Default platform plugin
QT_QPA_DEFAULT_PLATFORM ?= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xcb', \
bb.utils.contains('PACKAGECONFIG', 'gles2', 'eglfs', 'linuxfb', d), d)}"
QT_QPA_DEFAULT_PLATFORM ?= "\
${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland-egl', \
bb.utils.contains('DISTRO_FEATURES', 'x11', 'xcb', \
bb.utils.contains('PACKAGECONFIG', 'eglfs', 'eglfs', \
'linuxfb', d), d), d)}\
"
PACKAGECONFIG[ltcg] = "-DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON,-DCMAKE_INTERPROCEDURAL_OPTIMIZATION=OFF"
PACKAGECONFIG[optimize-size] = "-DFEATURE_optimize_size=ON,-DFEATURE_optimize_size=OFF"
PACKAGECONFIG[static] = "-DBUILD_SHARED_LIBS=OFF,-DBUILD_SHARED_LIBS=ON"
PACKAGECONFIG[developer-build] = "-DFEATURE_developer_build=ON -DQT_BUILD_TESTS=OFF -DWARNINGS_ARE_ERRORS=OFF,-DFEATURE_developer_build=OFF"
PACKAGECONFIG[use-gold-linker] = "-DFEATURE_use_gold_linker=ON"
PACKAGECONFIG[use-bfd-linker] = "-DFEATURE_use_bfd_linker=ON"
PACKAGECONFIG[use-lld-linker] = "-DFEATURE_use_lld_linker=ON"
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
@ -75,25 +126,32 @@ PACKAGECONFIG[glib] = "-DFEATURE_glib=ON,-DFEATURE_glib=OFF,glib-2.0"
PACKAGECONFIG[icu] = "-DFEATURE_icu=ON,-DFEATURE_icu=OFF,icu"
PACKAGECONFIG[journald] = "-DFEATURE_journald=ON,-DFEATURE_journald=OFF,systemd"
PACKAGECONFIG[lttng] = "-DFEATURE_lttng=ON,-DFEATURE_lttng=OFF,lttng-ust"
PACKAGECONFIG[ctf] = "-DFEATURE_ctf=ON,-DFEATURE_ctf=OFF"
# gui
PACKAGECONFIG[gui] = "-DFEATURE_gui=ON,-DFEATURE_gui=OFF"
PACKAGECONFIG[accessibility] = "-DFEATURE_accessibility=ON,-DFEATURE_accessibility=OFF"
PACKAGECONFIG[accessibility-atspi-bridge] = "-DFEATURE_accessibility_atspi_bridge=ON,-DFEATURE_accessibility_atspi_bridge=OFF,at-spi2-core"
PACKAGECONFIG[directfb] = "-DFEATURE_directfb=ON,-DFEATURE_directfb=OFF,directfb"
PACKAGECONFIG[fontconfig] = "-DFEATURE_fontconfig=ON,-DFEATURE_fontconfig=OFF,fontconfig"
PACKAGECONFIG[gbm] = "-DFEATURE_gbm=ON,-DFEATURE_gbm=OFF,virtual/libgbm"
PACKAGECONFIG[gl] = "-DFEATURE_opengl_desktop=ON,-DFEATURE_opengl_desktop=OFF,virtual/libgl"
PACKAGECONFIG[gles2] = "-DFEATURE_opengles2=ON,-DFEATURE_opengles2=OFF,virtual/libgles2 virtual/egl"
PACKAGECONFIG[eglfs] = "-DFEATURE_eglfs=ON,-DFEATURE_eglfs=OFF,virtual/egl"
PACKAGECONFIG[eglfs-egldevice] = "-DFEATURE_eglfs_egldevice=ON,-DFEATURE_eglfs_egldevice=OFF"
PACKAGECONFIG[harfbuzz] = "-DFEATURE_harfbuzz=ON,-DFEATURE_harfbuzz=OFF,harfbuzz"
PACKAGECONFIG[jpeg] = "-DFEATURE_jpeg=ON,-DFEATURE_jpeg=OFF,jpeg"
PACKAGECONFIG[kms] = "-DFEATURE_kms=ON,-DFEATURE_kms=OFF,drm virtual/egl"
PACKAGECONFIG[kms] = "-DFEATURE_kms=ON,-DFEATURE_kms=OFF,drm"
PACKAGECONFIG[libinput] = "-DFEATURE_libinput=ON,-DFEATURE_libinput=OFF,libinput"
PACKAGECONFIG[linuxfb] = "-DFEATURE_linuxfb=ON,-DFEATURE_linuxfb=OFF"
PACKAGECONFIG[mtdev] = "-DFEATURE_mtdev=ON,-DFEATURE_mtdev=OFF,mtdev"
PACKAGECONFIG[no-opengl] = "-DINPUT_opengl=no"
PACKAGECONFIG[png] = "-DFEATURE_png=ON,-DFEATURE_png=OFF,libpng"
PACKAGECONFIG[png] = "-DFEATURE_system_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[xcb] = "-DFEATURE_xcb=ON,-DFEATURE_xcb=OFF,libxcb xcb-util-wm xcb-util-image xcb-util-keysyms xcb-util-renderutil"
PACKAGECONFIG[vulkan] = "-DFEATURE_vulkan=ON,-DFEATURE_vulkan=OFF,vulkan-headers,vulkan-loader"
PACKAGECONFIG[wayland] = "-DFEATURE_wayland=ON,-DFEATURE_wayland=OFF,wayland wayland-native"
PACKAGECONFIG[qtwaylandscanner] = "-DFEATURE_qtwaylandscanner=ON,-DFEATURE_qtwaylandscanner=OFF,wayland wayland-native"
PACKAGECONFIG[xcb] = "-DFEATURE_xcb=ON,-DFEATURE_xcb=OFF,libxcb xcb-util-wm xcb-util-image xcb-util-keysyms xcb-util-renderutil xcb-util-cursor"
PACKAGECONFIG[xkbcommon] = "-DFEATURE_xkbcommon=ON,-DFEATURE_xkbcommon=OFF,libxkbcommon,xkeyboard-config"
# widgets
@ -109,45 +167,103 @@ 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 \
-DFEATURE_relocatable=OFF \
-DQT_QPA_DEFAULT_PLATFORM=${QT_QPA_DEFAULT_PLATFORM} \
-DQT_AVOID_CMAKE_ARCHIVING_API=ON \
-DFEATURE_use_bfd_linker=ON \
-DQT_NO_GENERATE_QMAKE_WRAPPER_FOR_TARGET=ON \
"
EXTRA_OECMAKE:append:mingw32 = "\
-DQT_GENERATE_WRAPPER_SCRIPTS_FOR_ALL_HOSTS=ON \
-DFEATURE_stack_protector=OFF \
-DFEATURE_dnslookup=OFF \
"
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'
sed -i ${D}${QT6_INSTALL_LIBDIR}/cmake/Qt6/Qt6Dependencies.cmake \
-e '/set(__qt_platform_initial_qt_host/d'
# remove mac and android specific scripts that depend on perl and bash
# to avoid file-rdeps QA Issue.
rm -f ${D}${QT6_INSTALL_LIBEXECDIR}/android_emulator_launcher.sh
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
if [ -e ${D}${QT6_INSTALL_EXAMPLESDIR}/corelib/serialization/cbordump/cbortag.py ]; then
sed -i ${D}${QT6_INSTALL_EXAMPLESDIR}/corelib/serialization/cbordump/cbortag.py \
-e 's|/bin/env|/usr/bin/env|'
fi
# remove unneeded files that contains reference to TMPDIR [buildpaths]
rm -f ${D}${QT6_INSTALL_BINDIR}/host-*
rm -f ${D}${QT6_INSTALL_BINDIR}/target_qt.conf
install -d ${D}${datadir}/cmake/OEToolchainConfig.cmake.d
RELPATH=${@os.path.relpath(d.getVar('prefix'), d.getVar('datadir') + '/cmake/OEToolchainConfig.cmake.d')}
cat > ${D}${datadir}/cmake/OEToolchainConfig.cmake.d/OEQt6Toolchain.cmake <<EOF
get_filename_component(QT_HOST_PATH "\${CMAKE_CURRENT_LIST_DIR}/$RELPATH" ABSOLUTE CACHE)
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('bindir'), d.getVar('QT6_INSTALL_LIBEXECDIR'))}"
sed -i ${D}${QT6_INSTALL_LIBEXECDIR}/* \
-e "s|cmake_path=${RECIPE_SYSROOT_NATIVE}.*cmake|cmake_path=%script_dir_path%/$RELPATH/cmake.exe|" \
-e "s|${RECIPE_SYSROOT_NATIVE}.*cmake|\$script_dir_path/$RELPATH/cmake|"
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-nativesdk() {
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 "")
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"
FILES:${PN}-dev += "\
${datadir}/qt6/wayland \
${datadir}/qt6/json_schema \
"
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 +272,3 @@ INHIBIT_PACKAGE_STRIP_FILES = "\
BBCLASSEXTEND = "native nativesdk"
SRCREV = "9ef816e13a63c1932f3464119796bdbb07c7e893"

View File

@ -0,0 +1,21 @@
LICENSE = "The-Qt-Company-Commercial | BSD-3-Clause"
LIC_FILES_CHKSUM = " \
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
"
inherit qt6-cmake
QT_MODULE = "qtcanvaspainter"
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-examples.inc
DEPENDS = "\
qtcanvaspainter \
qtcanvaspainter-native \
qtdeclarative \
qtdeclarative-native \
qtshadertools \
qtshadertools-native \
"

View File

@ -0,0 +1,25 @@
LICENSE = "(The-Qt-Company-Commercial | (GPL-3.0-only & Qt-GPL-exception-1.0) & GFDL-1.3-no-invariants-only & BSD-3-Clause) & Zlib"
LIC_FILES_CHKSUM = " \
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
file://LICENSES/GFDL-1.3-no-invariants-only.txt;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
file://LICENSES/GPL-3.0-only.txt;md5=d32239bcb673463ab874e80d47fae504 \
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
file://LICENSES/Qt-GPL-exception-1.0.txt;md5=9a13522cd91a88fba784baf16ea66af8 \
file://LICENSES/Zlib.txt;md5=370cf821bfe014e4427629dab445adcf \
"
inherit qt6-cmake
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6.inc
DEPENDS = "\
qtbase \
qtcanvaspainter-native \
qtdeclarative \
qtdeclarative-native \
qtshadertools \
qtshadertools-native \
"
BBCLASSEXTEND = "native nativesdk"

View File

@ -0,0 +1,18 @@
LICENSE = "The-Qt-Company-Commercial | BSD-3-Clause"
LIC_FILES_CHKSUM = " \
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
"
inherit qt6-cmake
QT_MODULE = "qtcharts"
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-examples.inc
DEPENDS += "\
qtcharts \
qtdeclarative-native \
qtmultimedia \
"

View File

@ -1,6 +1,8 @@
LICENSE = "GPL-3.0 | The-Qt-Company-Commercial"
LICENSE = "The-Qt-Company-Commercial | GPL-3.0-only & GFDL-1.3-no-invariants-only"
LIC_FILES_CHKSUM = " \
file://LICENSE.GPL3;md5=d32239bcb673463ab874e80d47fae504 \
file://LICENSES/GFDL-1.3-no-invariants-only.txt;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
file://LICENSES/GPL-3.0-only.txt;md5=d32239bcb673463ab874e80d47fae504 \
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
"
inherit qt6-cmake
@ -11,6 +13,5 @@ include recipes-qt/qt6/qt6.inc
DEPENDS += "qtbase"
PACKAGECONFIG ?= "qml"
PACKAGECONFIG[qml] = ",,qtdeclarative"
PACKAGECONFIG[qml] = ",,qtdeclarative qtdeclarative-native"
SRCREV = "282f9aa1a5ca6cf2c853f20018a8cd6671f2934f"

View File

@ -0,0 +1,18 @@
LICENSE = "The-Qt-Company-Commercial | BSD-3-Clause"
LIC_FILES_CHKSUM = " \
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
"
inherit qt6-cmake
QT_MODULE = "qtcoap"
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-examples.inc
DEPENDS += "\
qtcoap \
qtdeclarative \
qtdeclarative-native \
"

View File

@ -1,6 +1,10 @@
LICENSE = "GFDL-1.3 & BSD & GPL-3.0 | The-Qt-Company-Commercial"
LICENSE = "The-Qt-Company-Commercial | (GPL-3.0-only & Qt-GPL-exception-1.0) & GFDL-1.3-no-invariants-only & BSD-3-Clause"
LIC_FILES_CHKSUM = " \
file://LICENSE.GPL3;md5=d32239bcb673463ab874e80d47fae504 \
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
file://LICENSES/GFDL-1.3-no-invariants-only.txt;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
file://LICENSES/GPL-3.0-only.txt;md5=d32239bcb673463ab874e80d47fae504 \
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
file://LICENSES/Qt-GPL-exception-1.0.txt;md5=9a13522cd91a88fba784baf16ea66af8 \
"
inherit qt6-cmake
@ -9,7 +13,3 @@ include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6.inc
DEPENDS += "qtbase"
PACKAGECONFIG[examples] = "-DQT_BUILD_EXAMPLES=ON,-DQT_BUILD_EXAMPLES=OFF,qtdeclarative"
SRCREV = "d2c1019b0cd5ef60aba81090fd5d19a8624028f3"

View File

@ -0,0 +1,19 @@
LICENSE = "(The-Qt-Company-Commercial | BSD-3-Clause) & Apache-2.0"
LIC_FILES_CHKSUM = " \
file://LICENSES/Apache-2.0.txt;md5=b4c615f64dff32f71eeed614d13dfd4c \
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
"
inherit qt6-cmake
QT_MODULE = "qtconnectivity"
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-examples.inc
DEPENDS += "\
qtconnectivity \
qtdeclarative \
qtdeclarative-native \
"

View File

@ -1,10 +1,12 @@
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 = "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://LICENSE.LGPL3;md5=e6a600fd5e1d9cbde2d983680233ad02 \
file://LICENSE.GPL2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
file://LICENSE.GPL3;md5=d32239bcb673463ab874e80d47fae504 \
file://LICENSE.GPL3-EXCEPT;md5=763d8c535a234d9a3fb682c7ecb6c073 \
file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e \
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
file://LICENSES/GFDL-1.3-no-invariants-only.txt;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
file://LICENSES/GPL-2.0-only.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
file://LICENSES/GPL-3.0-only.txt;md5=d32239bcb673463ab874e80d47fae504 \
file://LICENSES/LGPL-3.0-only.txt;md5=e6a600fd5e1d9cbde2d983680233ad02 \
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
file://LICENSES/Qt-GPL-exception-1.0.txt;md5=9a13522cd91a88fba784baf16ea66af8 \
"
inherit qt6-cmake
@ -12,12 +14,9 @@ inherit qt6-cmake
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6.inc
# QTBUG-93565
PTEST_ENABLED = "0"
DEPENDS += "qtbase qtdeclarative"
DEPENDS += "qtbase"
PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez', '', d)}"
PACKAGECONFIG[bluez] = "-DFEATURE_bluez=ON,-DFEATURE_bluez=OFF,bluez5"
SRCREV = "003ff2cb174747b7eee4f2e299bb72e629f202e2"
FILES:${PN}-tools = ""

View File

@ -0,0 +1,20 @@
LICENSE = "The-Qt-Company-Commercial | BSD-3-Clause"
LIC_FILES_CHKSUM = " \
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
"
inherit qt6-cmake
inherit features_check
REQUIRED_DISTRO_FEATURES = "opengl"
QT_MODULE = "qtdatavis3d"
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-examples.inc
DEPENDS += "\
qtdatavis3d \
qtdeclarative-native \
"

View File

@ -1,13 +1,16 @@
LICENSE = "GPL-3.0 | The-Qt-Company-Commercial"
LICENSE = "The-Qt-Company-Commercial | (GPL-3.0-only & Qt-GPL-exception-1.0) & GFDL-1.3-no-invariants-only"
LIC_FILES_CHKSUM = " \
file://LICENSE.GPL3;md5=d32239bcb673463ab874e80d47fae504 \
file://LICENSES/GFDL-1.3-no-invariants-only.txt;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
file://LICENSES/GPL-3.0-only.txt;md5=d32239bcb673463ab874e80d47fae504 \
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
file://LICENSES/Qt-GPL-exception-1.0.txt;md5=9a13522cd91a88fba784baf16ea66af8 \
"
inherit qt6-cmake
inherit qt6-cmake features_check
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6.inc
DEPENDS += "qtbase qtdeclarative"
REQUIRED_DISTRO_FEATURES = "opengl"
SRCREV = "e0713ad6f89eac8a4e7cbb5adfaf4daf6a91ca3c"
DEPENDS += "qtbase qtdeclarative qtdeclarative-native"

View File

@ -0,0 +1,21 @@
LICENSE = "(The-Qt-Company-Commercial | BSD-3-Clause) & Apache-2.0 & CC-BY-3.0 & MIT & OFL-1.1"
LIC_FILES_CHKSUM = " \
file://LICENSES/Apache-2.0.txt;md5=b4c615f64dff32f71eeed614d13dfd4c \
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
file://LICENSES/CC-BY-3.0.txt;md5=6dffb34dbf23fffe10cc646d9c030e14 \
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
file://LICENSES/MIT.txt;md5=3605d54ecceddcd50962eb89318779ec \
file://LICENSES/OFL-1.1.txt;md5=e0e18125674e1542f95ea36a4a958f57 \
"
inherit qt6-cmake
QT_MODULE = "qtdeclarative"
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-examples.inc
DEPENDS += "\
qtdeclarative \
qtdeclarative-native \
"

View File

@ -1,10 +1,13 @@
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 = "(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) & BSD-2-Clause"
LIC_FILES_CHKSUM = " \
file://LICENSE.LGPL3;md5=e6a600fd5e1d9cbde2d983680233ad02 \
file://LICENSE.GPL2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
file://LICENSE.GPL3;md5=d32239bcb673463ab874e80d47fae504 \
file://LICENSE.GPL3-EXCEPT;md5=763d8c535a234d9a3fb682c7ecb6c073 \
file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e \
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
file://LICENSES/GFDL-1.3-no-invariants-only.txt;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
file://LICENSES/GPL-2.0-only.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
file://LICENSES/GPL-3.0-only.txt;md5=d32239bcb673463ab874e80d47fae504 \
file://LICENSES/LGPL-3.0-only.txt;md5=e6a600fd5e1d9cbde2d983680233ad02 \
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
file://LICENSES/Qt-GPL-exception-1.0.txt;md5=9a13522cd91a88fba784baf16ea66af8 \
file://src/3rdparty/masm/LICENSE;md5=dadc3e328f07d2e6fca9177916e902b5 \
"
inherit qt6-cmake
@ -12,8 +15,8 @@ inherit qt6-cmake
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6.inc
DEPENDS += "qtbase qtshadertools qtshadertools-native qtdeclarative-native"
DEPENDS += "qtbase qtshadertools qtshadertools-native qtdeclarative-native qtlanguageserver qtsvg"
BBCLASSEXTEND = "native nativesdk"
SRCREV = "7fa28f98824a94396106eadfc028b329985a0cfc"
INSANE_SKIP:${PN}-ptest += "buildpaths"

View File

@ -0,0 +1,18 @@
LICENSE = "The-Qt-Company-Commercial | GPL-3.0-only"
LIC_FILES_CHKSUM = " \
file://LICENSES/GPL-3.0-only.txt;md5=d32239bcb673463ab874e80d47fae504 \
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
"
inherit qt6-cmake
QT_MODULE = "qtdeviceutilities"
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-examples.inc
DEPENDS += "\
qtdeclarative-native \
qtdeviceutilities \
"
RDEPENDS:${PN} = "qtvirtualkeyboard"

View File

@ -1,11 +1,18 @@
LICENSE = "GPL-3.0 | The-Qt-Company-Commercial"
LIC_FILES_CHKSUM = "file://LICENSE.GPL3;md5=d32239bcb673463ab874e80d47fae504"
LICENSE = "The-Qt-Company-Commercial | (GPL-3.0-only & Qt-GPL-exception-1.0) & (LGPL-3.0-only | GPL-2.0-only | GPL-3.0-only) & GFDL-1.3-no-invariants-only & BSD-3-Clause"
LIC_FILES_CHKSUM = " \
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
file://LICENSES/GFDL-1.3-no-invariants-only.txt;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
file://LICENSES/GPL-2.0-only.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
file://LICENSES/GPL-3.0-only.txt;md5=d32239bcb673463ab874e80d47fae504 \
file://LICENSES/LGPL-3.0-only.txt;md5=e6a600fd5e1d9cbde2d983680233ad02 \
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
file://LICENSES/Qt-GPL-exception-1.0.txt;md5=9a13522cd91a88fba784baf16ea66af8 \
"
inherit qt6-cmake
include recipes-qt/qt6/qt6.inc
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6.inc
DEPENDS = "qtbase qtdeclarative qtdeclarative-native qtvirtualkeyboard"
RDEPENDS_${PN} = "connman"
DEPENDS = "qtbase qtdeclarative qtdeclarative-native"
RDEPENDS:${PN} = "connman"
SRCREV = "10c59319e196f717e569a9a0bfc45ae73d88d1fd"

View File

@ -0,0 +1,44 @@
LICENSE = "(The-Qt-Company-Commercial | BSD-3-Clause) & Apache-2.0 & CC-BY-4.0 & CC-BY-SA-4.0 & ISC"
LIC_FILES_CHKSUM = " \
file://LICENSES/Apache-2.0.txt;md5=b4c615f64dff32f71eeed614d13dfd4c \
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
file://LICENSES/CC-BY-4.0.txt;md5=ed88d31cea57b15030a1f58ceb04e0d5 \
file://LICENSES/CC-BY-SA-4.0.txt;md5=7130783469368ceb248a4f03e89ea4b8 \
file://LICENSES/ISC.txt;md5=2494cdbaca137fd93842fe9702e9bc4d \
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=caa060942f6b722bc4329d4195584c38 \
"
inherit qt6-cmake
QT_MODULE = "qtdoc"
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-examples.inc
DEPENDS += "\
qtbase \
qtcharts \
qtdeclarative \
qtdeclarative-native \
qtdoc \
qtgraphs \
qtlocation \
qtmultimedia \
qtpositioning \
qtquick3d \
qtquick3d-native \
qtsensors \
qtshadertools-native \
qtsvg \
qttools \
qttools-native \
qtwebsockets \
"
DEPENDS:append:aarch64 = " ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'qtpdf', '', d)} qtquick3dphysics"
DEPENDS:append:arm = " qtquick3dphysics"
DEPENDS:append:armv6 = " ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'qtpdf', '', d)}"
DEPENDS:append:armv7a = " ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'qtpdf', '', d)}"
DEPENDS:append:armv7ve = " ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'qtpdf', '', d)}"
DEPENDS:append:x86 = " qtquick3dphysics"
DEPENDS:append:x86-64 = " ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'qtpdf', '', d)} qtquick3dphysics"
DEPENDS:remove:libc-musl = "qtpdf"

View File

@ -0,0 +1,23 @@
LICENSE = "The-Qt-Company-Commercial | (LGPL-3.0-only | GPL-2.0-only | GPL-3.0-only) & GFDL-1.3-no-invariants-only & BSD-3-Clause"
LIC_FILES_CHKSUM = " \
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
file://LICENSES/GFDL-1.3-no-invariants-only.txt;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
file://LICENSES/GPL-2.0-only.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
file://LICENSES/GPL-3.0-only.txt;md5=d32239bcb673463ab874e80d47fae504 \
file://LICENSES/LGPL-3.0-only.txt;md5=e6a600fd5e1d9cbde2d983680233ad02 \
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=caa060942f6b722bc4329d4195584c38 \
"
inherit qt6-cmake
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6.inc
DEPENDS = "\
qtbase \
qtdeclarative \
qtdeclarative-native \
qttasktree \
"
INSANE_SKIP:${PN}-ptest += "buildpaths"

View File

@ -0,0 +1,18 @@
LICENSE = "The-Qt-Company-Commercial | BSD-3-Clause"
LIC_FILES_CHKSUM = " \
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
"
inherit qt6-cmake
QT_MODULE = "qtgraphs"
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-examples.inc
DEPENDS += "\
qtdeclarative-native \
qtgraphs \
qtquick3d-native \
"

View File

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

View File

@ -0,0 +1,22 @@
LICENSE = "The-Qt-Company-Commercial | BSD-3-Clause"
LIC_FILES_CHKSUM = " \
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
"
inherit qt6-cmake
QT_MODULE = "qtgrpc"
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-examples.inc
DEPENDS += "\
grpc \
grpc-native \
qtdeclarative-native \
qtgrpc \
qtgrpc-native \
"
INSANE_SKIP:${PN} += "buildpaths"

View File

@ -0,0 +1,23 @@
LICENSE = "The-Qt-Company-Commercial | (LGPL-3.0-only | GPL-2.0-only) & (LGPL-3.0-only | GPL-2.0-only | GPL-3.0-only) & GFDL-1.3-no-invariants-only & BSD-3-Clause"
LIC_FILES_CHKSUM = " \
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
file://LICENSES/GFDL-1.3-no-invariants-only.txt;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
file://LICENSES/GPL-2.0-only.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
file://LICENSES/GPL-3.0-only.txt;md5=d32239bcb673463ab874e80d47fae504 \
file://LICENSES/LGPL-3.0-only.txt;md5=e6a600fd5e1d9cbde2d983680233ad02 \
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
"
inherit qt6-cmake
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6.inc
DEPENDS += "qtbase qtgrpc-native protobuf protobuf-native"
PACKAGECONFIG ?= "qml"
PACKAGECONFIG[qml] = "-DFEATURE_grpcquick=ON,-DFEATURE_grpcquick=OFF,qtdeclarative qtdeclarative-native"
BBCLASSEXTEND = "native nativesdk"
INSANE_SKIP:${PN}-ptest += "buildpaths"

View File

@ -0,0 +1,14 @@
LICENSE = "The-Qt-Company-Commercial | BSD-3-Clause"
LIC_FILES_CHKSUM = " \
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
"
inherit qt6-cmake
QT_MODULE = "qthttpserver"
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-examples.inc
DEPENDS += "qthttpserver"

View File

@ -0,0 +1,17 @@
LICENSE = "The-Qt-Company-Commercial | GPL-3.0-only & GFDL-1.3-no-invariants-only & BSD-3-Clause"
LIC_FILES_CHKSUM = " \
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
file://LICENSES/GFDL-1.3-no-invariants-only.txt;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
file://LICENSES/GPL-3.0-only.txt;md5=d32239bcb673463ab874e80d47fae504 \
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
"
inherit qt6-cmake
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6.inc
DEPENDS += "qtbase"
PACKAGECONFIG ?= "websockets"
PACKAGECONFIG[websockets] = ",,qtwebsockets"

View File

@ -1,14 +1,10 @@
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 = "The-Qt-Company-Commercial | GPL-3.0-only & (LGPL-3.0-only | GPL-2.0-only | GPL-3.0-only) & GFDL-1.3-no-invariants-only"
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 \
file://LICENSES/GFDL-1.3-no-invariants-only.txt;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
file://LICENSES/GPL-2.0-only.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
file://LICENSES/GPL-3.0-only.txt;md5=d32239bcb673463ab874e80d47fae504 \
file://LICENSES/LGPL-3.0-only.txt;md5=e6a600fd5e1d9cbde2d983680233ad02 \
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
"
inherit qt6-cmake
@ -18,10 +14,9 @@ include recipes-qt/qt6/qt6.inc
DEPENDS += "qtbase"
PACKAGECONFIG ?= "tiff webp"
PACKAGECONFIG ?= "jasper mng tiff webp"
PACKAGECONFIG[jasper] = "-DFEATURE_jasper=ON,-DFEATURE_jasper=OFF,jasper"
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,18 @@
LICENSE = "The-Qt-Company-Commercial | BSD-3-Clause"
LIC_FILES_CHKSUM = " \
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
"
inherit qt6-cmake
QT_MODULE = "qtinsighttracker"
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-examples.inc
include recipes-qt/qt6/qt6-commercial.inc
DEPENDS = "\
qtdeclarative-native \
qtinsighttracker \
"

View File

@ -0,0 +1,12 @@
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"

View File

@ -0,0 +1,21 @@
LICENSE = "The-Qt-Company-Commercial | BSD-3-Clause"
LIC_FILES_CHKSUM = " \
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
"
inherit qt6-cmake
QT_MODULE = "qtinterfaceframework"
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-examples.inc
DEPENDS += "\
qtdeclarative-native \
qtinterfaceframework \
qtinterfaceframework-native \
qtremoteobjects-native \
"
PRIVATE_LIBS:${PN} = "libInstrumentCluster.so"

View File

@ -0,0 +1,30 @@
DESCRIPTION = "Qt Interface Framework"
LICENSE = "The-Qt-Company-Commercial | (GPL-3.0-only & Qt-GPL-exception-1.0) & GFDL-1.3-no-invariants-only & BSD-3-Clause"
LIC_FILES_CHKSUM = " \
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
file://LICENSES/GFDL-1.3-no-invariants-only.txt;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
file://LICENSES/GPL-3.0-only.txt;md5=d32239bcb673463ab874e80d47fae504 \
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
file://LICENSES/Qt-GPL-exception-1.0.txt;md5=9a13522cd91a88fba784baf16ea66af8 \
"
inherit qt6-cmake
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6.inc
FILES:${PN}-dev += " \
${QT6_INSTALL_DATADIR}/ifcodegen-templates \
"
DEPENDS += "qtbase qtdeclarative qtdeclarative-native qtinterfaceframework-native"
PACKAGECONFIG ?= "ifcodegen remoteobjects"
PACKAGECONFIG:append:class-native = " host-tools-only"
PACKAGECONFIG:append:class-nativesdk = " host-tools-only"
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"
BBCLASSEXTEND = "native nativesdk"

View File

@ -0,0 +1,19 @@
LICENSE = "The-Qt-Company-Commercial | GPL-3.0-only & (LGPL-3.0-only | GPL-2.0-only) & GFDL-1.3-no-invariants-only"
LIC_FILES_CHKSUM = " \
file://LICENSES/GFDL-1.3-no-invariants-only.txt;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
file://LICENSES/GPL-2.0-only.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
file://LICENSES/GPL-3.0-only.txt;md5=d32239bcb673463ab874e80d47fae504 \
file://LICENSES/LGPL-3.0-only.txt;md5=e6a600fd5e1d9cbde2d983680233ad02 \
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
"
inherit qt6-cmake
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6.inc
DEPENDS += "qtbase"
BBCLASSEXTEND = "native nativesdk"
INSANE_SKIP:${PN}-ptest += "buildpaths"

View File

@ -0,0 +1,17 @@
LICENSE = "The-Qt-Company-Commercial | BSD-3-Clause"
LIC_FILES_CHKSUM = " \
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
"
inherit qt6-cmake
QT_MODULE = "qtlocation"
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-examples.inc
DEPENDS += "\
qtdeclarative-native \
qtlocation \
"

View File

@ -0,0 +1,26 @@
LICENSE = "(The-Qt-Company-Commercial | GPL-3.0-only & (LGPL-3.0-only | GPL-2.0-only | GPL-3.0-only) & GFDL-1.3-no-invariants-only) & BSD-3-Clause & MIT"
LIC_FILES_CHKSUM = " \
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
file://LICENSES/GFDL-1.3-no-invariants-only.txt;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
file://LICENSES/GPL-2.0-only.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
file://LICENSES/GPL-3.0-only.txt;md5=d32239bcb673463ab874e80d47fae504 \
file://LICENSES/LGPL-3.0-only.txt;md5=e6a600fd5e1d9cbde2d983680233ad02 \
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
file://LICENSES/MIT.txt;md5=3605d54ecceddcd50962eb89318779ec \
"
inherit qt6-cmake
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6.inc
DEPENDS += "qtbase qtpositioning"
PACKAGECONFIG ?= "osm qml"
PACKAGECONFIG[esri] = "-DFEATURE_geoservices_esri=ON,-DFEATURE_geoservices_esri=OFF,"
PACKAGECONFIG[mapbox] = "-DFEATURE_geoservices_mapbox=ON,-DFEATURE_geoservices_mapbox=OFF,"
PACKAGECONFIG[nokia] = "-DFEATURE_geoservices_nokia=ON,-DFEATURE_geoservices_nokia=OFF,"
PACKAGECONFIG[osm] = "-DFEATURE_geoservices_osm=ON,-DFEATURE_geoservices_osm=OFF,"
PACKAGECONFIG[qml] = ",,qtdeclarative qtdeclarative-native"
INSANE_SKIP:${PN}-ptest += "buildpaths"

View File

@ -1,7 +1,8 @@
LICENSE = "(GPL-3.0 & The-Qt-Company-GPL-Exception-1.0) | The-Qt-Company-Commercial"
LICENSE = "The-Qt-Company-Commercial | GPL-3.0-only & GFDL-1.3-no-invariants-only"
LIC_FILES_CHKSUM = " \
file://LICENSE.GPL3;md5=d32239bcb673463ab874e80d47fae504 \
file://LICENSE.GPL3-EXCEPT;md5=763d8c535a234d9a3fb682c7ecb6c073 \
file://LICENSES/GFDL-1.3-no-invariants-only.txt;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
file://LICENSES/GPL-3.0-only.txt;md5=d32239bcb673463ab874e80d47fae504 \
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
"
inherit qt6-cmake
@ -9,6 +10,11 @@ inherit qt6-cmake
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6.inc
DEPENDS += "qtbase qtdeclarative"
DEPENDS += "\
qtbase \
qtdeclarative \
qtdeclarative-native \
qtlottie-native \
"
SRCREV = "6748a346438abc5f43bde3a0de33c0ee51f33f32"
BBCLASSEXTEND = "native nativesdk"

View File

@ -0,0 +1,18 @@
LICENSE = "The-Qt-Company-Commercial | BSD-3-Clause"
LIC_FILES_CHKSUM = " \
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
"
inherit qt6-cmake
QT_MODULE = "qtmqtt"
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-examples.inc
DEPENDS += "\
qtdeclarative-native \
qtmqtt \
qtwebsockets \
"

View File

@ -1,7 +1,9 @@
LICENSE = "(GPL-3.0 & The-Qt-Company-GPL-Exception-1.0) | The-Qt-Company-Commercial"
LICENSE = "The-Qt-Company-Commercial | GPL-3.0-only & GFDL-1.3-no-invariants-only & BSD-3-Clause"
LIC_FILES_CHKSUM = " \
file://LICENSE.GPL3;md5=d32239bcb673463ab874e80d47fae504 \
file://LICENSE.GPL3-EXCEPT;md5=763d8c535a234d9a3fb682c7ecb6c073 \
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
file://LICENSES/GFDL-1.3-no-invariants-only.txt;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
file://LICENSES/GPL-3.0-only.txt;md5=d32239bcb673463ab874e80d47fae504 \
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
"
inherit qt6-cmake
@ -10,7 +12,3 @@ include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6.inc
DEPENDS += "qtbase"
PACKAGECONFIG[examples] = "-DQT_BUILD_EXAMPLES=ON,-DQT_BUILD_EXAMPLES=OFF,qtdeclarative qtwebsockets"
SRCREV = "e22417694d294c539120d8684d71d95a81bd2b40"

View File

@ -0,0 +1,18 @@
LICENSE = "The-Qt-Company-Commercial | BSD-3-Clause"
LIC_FILES_CHKSUM = " \
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
"
inherit qt6-cmake
QT_MODULE = "qtmultimedia"
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-examples.inc
DEPENDS += "\
qtdeclarative-native \
qtmultimedia \
qtsvg \
"

View File

@ -1,10 +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 = "(The-Qt-Company-Commercial | (GPL-3.0-only & Qt-GPL-exception-1.0) & (LGPL-3.0-only | GPL-3.0-only) & (LGPL-3.0-only | GPL-2.0-only | GPL-3.0-only) & GFDL-1.3-no-invariants-only ) & Apache-2.0 & BSD-3-Clause & MPL-2.0"
LIC_FILES_CHKSUM = " \
file://LICENSE.LGPL3;md5=e6a600fd5e1d9cbde2d983680233ad02 \
file://LICENSE.GPL2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
file://LICENSE.GPL3;md5=d32239bcb673463ab874e80d47fae504 \
file://LICENSE.GPL3-EXCEPT;md5=763d8c535a234d9a3fb682c7ecb6c073 \
file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e \
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
file://LICENSES/GFDL-1.3-no-invariants-only.txt;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
file://LICENSES/GPL-2.0-only.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
file://LICENSES/GPL-3.0-only.txt;md5=d32239bcb673463ab874e80d47fae504 \
file://LICENSES/LGPL-3.0-only.txt;md5=e6a600fd5e1d9cbde2d983680233ad02 \
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
file://LICENSES/Qt-GPL-exception-1.0.txt;md5=9a13522cd91a88fba784baf16ea66af8 \
file://src/3rdparty/resonance-audio/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57 \
file://src/3rdparty/eigen/COPYING.BSD;md5=bb155c6d1ebb4543dc4b7b5f33fa40ec \
file://src/3rdparty/eigen/COPYING.MPL2;md5=815ca599c9df247a0c7f619bab123dad \
file://src/3rdparty/pffft/LICENSE;md5=0f39e43e9bc20e7e103e54750e1ec3a2 \
"
inherit qt6-cmake
@ -14,12 +20,18 @@ include recipes-qt/qt6/qt6.inc
DEPENDS += "qtbase qtshadertools qtshadertools-native"
PACKAGECONFIG ?= "gstreamer qml"
PACKAGECONFIG ?= "\
${@bb.utils.contains_any('LICENSE_FLAGS_ACCEPTED','commercial commercial_ffmpeg','ffmpeg','',d)} \
gstreamer pulseaudio qml spatialaudio spatialaudio_quick3d"
PACKAGECONFIG[alsa] = "-DFEATURE_alsa=ON,-DFEATURE_alsa=OFF,alsa-lib"
PACKAGECONFIG[pulseaudio] = "-DFEATURE_pulseaudio=ON,-DFEATURE_pulseaudio=OFF,pulseaudio"
PACKAGECONFIG[ffmpeg] = "-DFEATURE_ffmpeg=ON,-DFEATURE_ffmpeg=OFF,ffmpeg"
PACKAGECONFIG[gstreamer] = "-DFEATURE_gstreamer=ON,-DFEATURE_gstreamer=OFF,gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad"
PACKAGECONFIG[qml] = ",,qtdeclarative"
PACKAGECONFIG[pulseaudio] = "-DFEATURE_pulseaudio=ON,-DFEATURE_pulseaudio=OFF,pulseaudio"
PACKAGECONFIG[qml] = ",,qtdeclarative qtdeclarative-native"
PACKAGECONFIG[spatialaudio] = "-DFEATURE_spatialaudio=ON,-DFEATURE_spatialaudio=OFF"
PACKAGECONFIG[spatialaudio_quick3d] = "-DFEATURE_spatialaudio_quick3d=ON,-DFEATURE_spatialaudio_quick3d=OFF,qtquick3d qtquick3d-native"
PACKAGECONFIG[vaapi] = "-DFEATURE_vaapi=ON,-DFEATURE_vaapi=OFF,libva"
EXTRA_OECMAKE += "-DFEATURE_gpu_vivante=OFF"
SRCREV = "7d3e538096384ce996ec948068f8e7efa52e0868"
QT_DEFAULT_MEDIA_BACKEND ?= "${@bb.utils.contains('PACKAGECONFIG', 'gstreamer', 'gstreamer', 'ffmpeg', d)}"
EXTRA_OECMAKE += "-DQT_DEFAULT_MEDIA_BACKEND=${QT_DEFAULT_MEDIA_BACKEND}"

View File

@ -0,0 +1,14 @@
LICENSE = "The-Qt-Company-Commercial | BSD-3-Clause"
LIC_FILES_CHKSUM = " \
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
"
inherit qt6-cmake
QT_MODULE = "qtnetworkauth"
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-examples.inc
DEPENDS += "qtnetworkauth"

View File

@ -1,7 +1,9 @@
LICENSE = "BSD & ( GPL-3.0 & The-Qt-Company-GPL-Exception-1.0 ) | The-Qt-Company-Commercial"
LICENSE = "The-Qt-Company-Commercial | GPL-3.0-only & GFDL-1.3-no-invariants-only & BSD-3-Clause"
LIC_FILES_CHKSUM = " \
file://LICENSE.GPL3;md5=d32239bcb673463ab874e80d47fae504 \
file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e \
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
file://LICENSES/GFDL-1.3-no-invariants-only.txt;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
file://LICENSES/GPL-3.0-only.txt;md5=d32239bcb673463ab874e80d47fae504 \
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
"
inherit qt6-cmake
@ -11,4 +13,3 @@ include recipes-qt/qt6/qt6.inc
DEPENDS += "qtbase"
SRCREV = "5d840b0955aef9a46f44a8a0786e6026f8012ae3"

View File

@ -0,0 +1,18 @@
LICENSE = "The-Qt-Company-Commercial | BSD-3-Clause"
LIC_FILES_CHKSUM = " \
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
"
inherit qt6-cmake
QT_MODULE = "qtopcua"
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-examples.inc
DEPENDS += "\
qtdeclarative-native \
qtopcua \
qtopcua-native \
"

Some files were not shown because too many files have changed in this diff Show More