Compare commits

..

207 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
137 changed files with 1442 additions and 1140 deletions

View File

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

View File

@ -12,13 +12,12 @@ 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_DIR_NATIVE}${OE_QMAKE_PATH_HOST_BINS}"
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}"
@ -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}
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}
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}
@ -130,28 +96,18 @@ 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_DIR_NATIVE}${OE_QMAKE_PATH_HOST_LIBEXECS}
EOF
}
#
# Allows to override following values (as in version 5.0.1)
# Prefix The default prefix for all paths.
@ -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

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

@ -7,7 +7,7 @@ accept_configuration:
equals_value: Yocto
- condition: property
property: target.arch
in_values: [TARGET1, TARGET2, TARGET3, TARGET4, TARGET5]
in_values: [TARGET1, TARGET2, TARGET3, TARGET4, TARGET5, TARGET6, TARGET7]
machine_type:
Build:
@ -15,13 +15,15 @@ machine_type:
# Target build matrix:
#
# [target1] [target2] [target3] [target4] [target5]
# [machine] qemuarm64 qemux86-64 qemuarm qemux86 qemuarm64
# [yocto] master walnascar scarthgap styhead kirkstone
# [wayland] yes no no yes yes
# [mingw] no no yes no no
# [static] no no no no yes
#
# [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
@ -34,7 +36,10 @@ target1: &target1
variableValue: master.xml
- type: EnvironmentVariable
variableName: TEST_CONFIGS
variableValue: ci configs wayland python
variableValue: ci configs wayland opengl
- type: EnvironmentVariable
variableName: CHECK_COMPATIBILITY
variableValue: 1
enable_if:
condition: property
property: target.arch
@ -50,7 +55,7 @@ target2: &target2
variableValue: walnascar.xml
- type: EnvironmentVariable
variableName: TEST_CONFIGS
variableValue: ci configs python
variableValue: ci configs x11 opengl
enable_if:
condition: property
property: target.arch
@ -66,7 +71,7 @@ target3: &target3
variableValue: scarthgap.xml
- type: EnvironmentVariable
variableName: TEST_CONFIGS
variableValue: ci configs mingw python
variableValue: ci configs mingw wayland x11 opengl
enable_if:
condition: property
property: target.arch
@ -79,10 +84,10 @@ target4: &target4
variableValue: qemux86
- type: EnvironmentVariable
variableName: MANIFEST
variableValue: styhead.xml
variableValue: whinlatter.xml
- type: EnvironmentVariable
variableName: TEST_CONFIGS
variableValue: ci configs wayland no-webengine python
variableValue: ci configs wayland opengl
enable_if:
condition: property
property: target.arch
@ -95,14 +100,46 @@ target5: &target5
variableValue: qemuarm64
- type: EnvironmentVariable
variableName: MANIFEST
variableValue: kirkstone.xml
variableValue: scarthgap.xml
- type: EnvironmentVariable
variableName: TEST_CONFIGS
variableValue: ci configs wayland static no-webengine python
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:
@ -111,6 +148,8 @@ instructions:
- *target3
- *target4
- *target5
- *target6
- *target7
- type: EnvironmentVariable
variableName: DL_DIR
variableValue: "/mnt/yocto-cache/downloads"
@ -144,12 +183,24 @@ instructions:
--reference /mnt/yocto-cache/mirror
./repo sync
source ./poky/oe-init-build-env
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 ../meta-clang
bitbake-layers add-layer ${SOURCE_DIR}
for conf in ${TEST_CONFIGS}; do
@ -157,7 +208,10 @@ instructions:
done
# build toolchain which should include all supported recipes
bitbake meta-toolchain-qt6 nativesdk-packagegroup-qt6-toolchain-host packagegroup-qt6-modules
bitbake meta-toolchain-qt6 \
nativesdk-packagegroup-qt6-toolchain-host \
packagegroup-qt6-modules \
packagegroup-qt6-examples
filename: "{{.BuildDir}}/start-build"
fileMode: 420
- type: ExecuteCommand

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,3 +1,4 @@
DISTRO = "poky"
# use systemd
INIT_MANAGER:forcevariable = "systemd"
@ -39,69 +40,17 @@ INSANE_SKIP:append:pn-nativesdk-clang = " buildpaths"
PREFERRED_ARM_INSTRUCTION_SET ?= "thumb"
ARM_INSTRUCTION_SET = "${PREFERRED_ARM_INSTRUCTION_SET}"
# build squish
USE_SQUISH = "1"
SQUISH_MIRROR = "https://ci-files01-hki.ci.qt.io/input/squish/releasepackages"
SQUISH_LICENSE_KEY = "qt-srv-19.intra.qt.io:49345"
# enable webengine with commercial/proprietary features
DISTRO_FEATURES:append = " webengine"
PACKAGECONFIG:append:pn-qtwebengine = " proprietary-codecs"
PACKAGECONFIG:append:pn-qtbase = "\
tslib kms gbm zstd libproxy gssapi vulkan mtdev cups \
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"
# enable examples for all Qt modules
PACKAGECONFIG:append:pn-qmlcompilerplus = " examples"
PACKAGECONFIG:append:pn-qt3d = " examples"
PACKAGECONFIG:append:pn-qt5compat = " examples"
PACKAGECONFIG:append:pn-qtapplicationmanager = " examples"
PACKAGECONFIG:append:pn-qtbase = " examples"
PACKAGECONFIG:append:pn-qtcharts = " examples"
PACKAGECONFIG:append:pn-qtcoap = " examples"
PACKAGECONFIG:append:pn-qtconnectivity = " examples"
PACKAGECONFIG:append:pn-qtdatavis3d = " examples"
PACKAGECONFIG:append:pn-qtdeclarative = " examples"
PACKAGECONFIG:append:pn-qtdeviceutilities = " examples"
PACKAGECONFIG:append:pn-qtgraphs = " examples"
PACKAGECONFIG:append:pn-qtgrpc = " examples"
PACKAGECONFIG:append:pn-qthttpserver = " examples"
PACKAGECONFIG:append:pn-qtimageformats = " examples"
PACKAGECONFIG:append:pn-qtinsighttracker = " examples"
PACKAGECONFIG:append:pn-qtinterfaceframework = " examples"
PACKAGECONFIG:append:pn-qtlanguageserver = " examples"
PACKAGECONFIG:append:pn-qtlocation = " examples"
PACKAGECONFIG:append:pn-qtlottie = " examples"
PACKAGECONFIG:append:pn-qtmqtt = " examples"
PACKAGECONFIG:append:pn-qtmultimedia = " examples"
PACKAGECONFIG:append:pn-qtnetworkauth = " examples"
PACKAGECONFIG:append:pn-qtopcua = " examples"
PACKAGECONFIG:append:pn-qtpdf = " examples"
PACKAGECONFIG:append:pn-qtpositioning = " examples"
PACKAGECONFIG:append:pn-qtquick3d = " examples"
PACKAGECONFIG:append:pn-qtquick3dphysics = " 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-qtvncserver = " examples"
PACKAGECONFIG:append:pn-qtwayland = " examples"
PACKAGECONFIG:append:pn-qtwebchannel = " examples"
PACKAGECONFIG:append:pn-qtwebengine = " examples"
PACKAGECONFIG:append:pn-qtwebsockets = " examples"
PACKAGECONFIG:append:pn-qtwebview = " examples"
# remove all main features, added back in different builds
POKY_DEFAULT_DISTRO_FEATURES:remove = "opengl wayland vulkan"
DISTRO_FEATURES_DEFAULT:remove = "x11"

View File

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

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

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

View File

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

View File

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

View File

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

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

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

View File

@ -35,12 +35,10 @@ LAYERVERSION_qt6-layer = "1"
LAYERDEPENDS_qt6-layer = "core openembedded-layer meta-python"
LAYERSERIES_COMPAT_qt6-layer = "kirkstone langdale mickledore nanbield scarthgap styhead walnascar whinlatter"
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}"
@ -48,15 +46,9 @@ QT_GIT_PROJECT ?= "qt"
QT_GIT ?= "git://code.qt.io"
QT_GIT_PROTOCOL ?= "git"
QT_EDITION ?= "opensource"
QT_VERSION = "6.8.4"
QT_VERSION = "6.11.0"
QT_COMMERCIAL_GIT ?= "git://codereview.qt-project.org"
QT_COMMERCIAL_GIT_PROTOCOL ?= "ssh"
QT_COMMERCIAL_MODULES ?= "0"
CAN_USE_PYSIDE6 = "${@True if 'clang-layer' in d.getVar('BBFILE_COLLECTIONS').split() or \
os.path.exists(os.path.join(d.getVar('COREBASE'),'meta/recipes-devtools/clang')) else False}"
# License mapping back to old license files
SPDXLICENSEMAP[GFDL-1.3-no-invariants-only] = "GFDL-1.3"

View File

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

View File

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

View File

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

View File

@ -6,17 +6,20 @@ SRC_URI[sha256sum] = "b55c239f3ae7e23c5c8434f38901c5bcacb6afd17e88e37934b46e4455
inherit pypi setuptools3
# Colorama is optional dependency from coloredlogs, but
# it seems to be required in general, at least on windows
DEPS = "\
python3-jinja2 \
python3-click \
python3-pyyaml \
python3-pytest \
python3-six \
python3-path \
python3-antlr4-runtime \
python3-watchdog \
python3-argh \
python3-click \
python3-coloredlogs \
python3-jinja2 \
python3-markupsafe \
python3-setuptools \
python3-pyyaml \
python3-six \
python3-watchdog \
python3-pytest \
python3-colorama \
"
DEPENDS += "${DEPS}"
RDEPENDS:${PN} += "${DEPS}"

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -11,8 +11,12 @@ 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 \
@ -23,7 +27,6 @@ RDEPENDS:${PN} += " \
nativesdk-qtscxml-tools \
nativesdk-qtshadertools-dev \
nativesdk-qtshadertools-tools \
${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'nativesdk-qtwayland-dev nativesdk-qtwayland-tools', '', d)} \
${FORLINUXHOST} \
"

View File

@ -8,10 +8,10 @@ inherit packagegroup
PACKAGEGROUP_DISABLE_COMPLEMENTARY = "1"
RDEPENDS:${PN} += " \
${@'python3-pyside6' if bb.utils.to_boolean(d.getVar('CAN_USE_PYSIDE6')) else ''} \
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'qt3d', '', d)} \
qt5compat \
qtapplicationmanager \
qtcanvaspainter \
qtcharts \
qtcoap \
qtconnectivity \
@ -42,6 +42,7 @@ RDEPENDS:${PN} += " \
qtshadertools \
qtspeech \
qtsvg \
qttasktree \
qttranslations \
qtvirtualkeyboard \
${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'qtwayland', '', d)} \
@ -73,3 +74,5 @@ RDEPENDS:${PN}:append:x86-64 = "\
${@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

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

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

@ -4,6 +4,7 @@ inherit linuxloader
inherit qemu
COMPATIBLE_MACHINE = "(-)"
COMPATIBLE_MACHINE:libc-musl = "(-)"
COMPATIBLE_MACHINE:aarch64 = "(.*)"
COMPATIBLE_MACHINE:armv6 = "(.*)"
COMPATIBLE_MACHINE:armv7a = "(.*)"

View File

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

View File

@ -1,12 +1,8 @@
LICENSE = "The-Qt-Company-Commercial | (GPL-3.0-only & Qt-GPL-exception-1.0) & (LGPL-3.0-only | GPL-2.0-only | GPL-3.0-only) & GFDL-1.3-no-invariants-only & BSD-3-Clause"
LICENSE = "The-Qt-Company-Commercial"
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

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,8 +1,10 @@
LICENSE = "(The-Qt-Company-Commercial | (GPL-3.0-only & Qt-GPL-exception-1.0) & GPL-3.0-only & GFDL-1.3-no-invariants-only) & BSD-3-Clause & MIT"
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://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 \
@ -17,7 +19,6 @@ inherit features_check
REQUIRED_DISTRO_FEATURES = "opengl"
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-lts.inc
include recipes-qt/qt6/qt6.inc
ASSIMP_BRANCH = "qt6_assimp"

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

@ -13,7 +13,6 @@ LIC_FILES_CHKSUM = " \
inherit qt6-cmake
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-lts.inc
include recipes-qt/qt6/qt6.inc
ENABLE_QMLCOMPILER = "0"

View File

@ -5,5 +5,4 @@ python() {
QT_GIT = "${QT_COMMERCIAL_GIT}"
QT_GIT_PROTOCOL = "${QT_COMMERCIAL_GIT_PROTOCOL}"
QT_MODULE = "tqtc-${BPN}"
QT_MODULE_BRANCH := "tqtc/lts-${QT_MODULE_BRANCH}"
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

@ -4,9 +4,9 @@ HOMEPAGE ?= "https://www.qt.io"
inherit srcrev-update
QT_MODULE ?= "${BPN}"
QT_MODULE_BRANCH ?= "6.8"
QT_MODULE_BRANCH ?= "dev"
QT_MODULE_BRANCH_PARAM ?= "branch=${QT_MODULE_BRANCH};nobranch=1"
QT_MODULE_REPO ?= "${QT_MODULE}.git"
QT_MODULE_REPO ?= "${QT_MODULE}"
# for compatibility with Yocto releases before whinlatter
BB_GIT_DEFAULT_DESTSUFFIX ?= "${BP}"
@ -17,58 +17,59 @@ CVE_PRODUCT ?= "qt:${BPN} qt:qt"
PV = "${QT_VERSION}"
SRCREV = "${SRCREV_${QT_MODULE}}"
SRCREV = "${SRCREV_${QT_MODULE_REPO}}"
SRCREV_tqtc-qmlcompilerplus = "a1f8b9739640654a7bd94f38bac8e1ce926e204c"
SRCREV_tqtc-qtinsighttracker = "d04484ca1d69a6b581221f9d31b0497fcc4f8dc4"
SRCREV_tqtc-qtvncserver = "9aa100fd7671520e322b87d9d3c532a6a01a0cf5"
SRCREV_tqtc-pyside-setup = "fcf29b2e1d6cc00064909f80e84baf1627d7ba69"
SRCREV_qt3d = "2c3be33307ade7ea5747ad1629154c6b411c1ffc"
SRCREV_qt3d-assimp = "647f94648c0ae24b9c6684383a9dbbc0e2fc23b7"
SRCREV_qt5compat = "258f7fc0c51ce355696f86fc0ba86253ced08427"
SRCREV_qtbase = "a3d31f3a79eff68f6ff7ca5cdba876b3320c8b4f"
SRCREV_qtapplicationmanager = "e6f55a99a123ba75afa3e6f69f9733978394d5aa"
SRCREV_qtcharts = "459eeba64f43428a6c60714d97c1f3cd095d212b"
SRCREV_qtcoap = "23bcc699f00d94561fece98e8d8fda1f54f93cc0"
SRCREV_qtconnectivity = "76c242f1f6fcb61eea6a19c9619b78f0fe7d6f63"
SRCREV_qtdatavis3d = "2fd2fae0f90f16b81d739998fde97a3dadd25f5d"
SRCREV_qtdeclarative = "84bd05c230d6bde508d7cc925bc2be05b22b0fa7"
SRCREV_qtdeviceutilities = "9adeba04db0bd507298409c97310895e366aad43"
SRCREV_qtdoc = "5a622acb4edadc147066e5ba9d7f42afb59e77fb"
SRCREV_qtgraphs = "21ee2c2ff8c381461a8de263273db27facab2020"
SRCREV_qtgrpc = "5d99e335aa66ab15cbb0c384bb4f953ea187a16d"
SRCREV_qthttpserver = "c8f40088bd4ce17a6635358023880d5137f944e2"
SRCREV_qtimageformats = "3b3c37d2763423538d98b65ed582a8871844bd46"
SRCREV_qtinterfaceframework = "3509ba7f1e3f701969290d2dd45c879f64e73c56"
SRCREV_qtlanguageserver = "6a972748514bd9f9220395199570c6458058e82b"
SRCREV_qtlocation = "4c860b7ebc1a9b48207a04dc6e01eee3b6dbd849"
SRCREV_qtlottie = "ff7119a0c17e8aef7292584a16c5069bdcace05f"
SRCREV_qtmqtt = "82f843d4c58cd09c6e2771da1eac388827f50e75"
SRCREV_qtmultimedia = "4364ea9422c935df545e1a3f5d9ee5679af4288c"
SRCREV_qtnetworkauth = "8d4b59675c9929280562eddadbe32bc357a29859"
SRCREV_qtopcua = "ffc94588ed556df39f9a0b044ec0443facb8fa33"
SRCREV_qtpositioning = "024ea0d0385f55fa48ff37a99f25949408b44558"
SRCREV_qtquick3d = "03056d00141fbc3bf1c08d782ad9843778613c6c"
SRCREV_qtquick3d-assimp = "647f94648c0ae24b9c6684383a9dbbc0e2fc23b7"
SRCREV_qtquick3dphysics = "d7e84dee6b44ec3d2dfd14764276a3040dcbd29e"
SRCREV_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 = "0dd5b87f2cee9a202fdfd3f1b8ef0aa687d96b32"
SRCREV_qtremoteobjects = "a1c902b5de6329ccb70378502ba0e01a2deefcab"
SRCREV_qtscxml = "2d781c24c37c14ac960be597c53d0aaa7b8051d5"
SRCREV_qtsensors = "02975eb415781b1d8744b74359de53564da32000"
SRCREV_qtserialbus = "fb28400e008ed8c8c8c9174cb6e97f8c1bf46ee2"
SRCREV_qtserialport = "7dfc13081bcd72cf4d16932028241dff62b1a685"
SRCREV_qtshadertools = "36870f68746a38ff14f39c5e6c8b495bd5958e42"
SRCREV_qtspeech = "d85e82440bd217cdd55f2e5022ca505b09945619"
SRCREV_qtsvg = "9110f78b98f0899462c103969c39081fee325b5c"
SRCREV_qttools = "ce039d9b2f66ab83593414deed5b3234b0e018ae"
SRCREV_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 = "e98168d470f29e7c4678548683bf22161b284cd1"
SRCREV_qtvirtualkeyboard = "e678b3bf7fa942c0c764f5443b1ebb1280042bde"
SRCREV_qtwayland = "8d73e64ac1624cb850528304eb708155dbe704db"
SRCREV_qtwebchannel = "589e7a911302b3c411587e4e7a2f11af668e6cb7"
SRCREV_qtwebengine = "dc84de514aa2b6fbc588a896288c1493ee4f2bca"
SRCREV_qtwebengine-chromium = "6763373d6a1d762846e780af5354aecfac3fe469"
SRCREV_qtwebsockets = "4b0a53f060b0ed626445351a1f6517fefc99408e"
SRCREV_qtwebview = "d9f2513859602b9d8a321c03f2a7df3264512558"
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

@ -29,10 +29,11 @@ EOF
${EXTRA_OECMAKE} \
-DQT_BUILD_STANDALONE_TESTS=ON \
-DQT_BUILD_EXAMPLES=OFF \
-DQT_ADDITIONAL_PACKAGES_PREFIX_PATH=${D}${QT6_INSTALL_LIBDIR}/cmake \
-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
@ -48,11 +49,16 @@ EOF
\) -exec sh -c '\
install -D "$1" "${D}${PTEST_PATH}${1#${B_PTEST}}" \
' _ {} \;
# tests may depend on files from sources
cp -r ${S}/tests/$tests ${D}${PTEST_PATH}/tests
fi
done
if [ -e "${B_PTEST}/${baselib}" ]; then
find ${B_PTEST}/${baselib} \
! -type d -a \( -executable -o -name qmldir \) \
-exec sh -c '\
install -D "$1" "${D}${PTEST_PATH}${1#${B_PTEST}/${baselib}}" \
' _ {} \;
fi
}
fakeroot python do_create_ptest_list() {
@ -93,7 +99,7 @@ INSANE_SKIP:${PN}-ptest += "file-rdeps"
PACKAGESPLITFUNCS =+ "remove_ptest_debug"
remove_ptest_debug() {
if [ -e ${PKGD}${QT6_INSTALL_LIBDIR}/${BPN}/ptest/tests ]; then
find ${PKGD}${QT6_INSTALL_LIBDIR}/${BPN}/ptest/tests -depth -type d -name .debug -exec rm -rf '{}' \;
if [ -e ${PKGD}${QT6_INSTALL_LIBDIR}/${BPN}/ptest ]; then
find ${PKGD}${QT6_INSTALL_LIBDIR}/${BPN}/ptest -depth -type d -name .debug -exec rm -rf '{}' \;
fi
}

View File

@ -1,12 +1,5 @@
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() {
@ -30,14 +23,9 @@ python __anonymous() {
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}"
PACKAGE_BEFORE_PN = "${PN}-qmlplugins ${PN}-tools ${PN}-plugins ${PN}-examples"
PACKAGE_BEFORE_PN = "${PN}-qmlplugins ${PN}-tools ${PN}-plugins"
ALLOW_EMPTY:${PN} = "1"
ALLOW_EMPTY:${PN}-plugins = "1"
@ -85,9 +73,9 @@ 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_LIBDIR}/sbom \
${QT6_INSTALL_ARCHDATADIR}/sbom \
${QT6_INSTALL_MKSPECSDIR} \
${QT6_INSTALL_QMLDIR}/*.qmltypes \
${QT6_INSTALL_QMLDIR}/*/*.qmltypes \
@ -120,8 +108,3 @@ FILES:${PN}-staticdev += " \
${QT6_INSTALL_QMLDIR}/*/*/*/objects*/ \
${QT6_INSTALL_QMLDIR}/*/*/*/*/objects*/ \
"
FILES:${PN}-examples = " \
${QT6_INSTALL_EXAMPLESDIR} \
"
RDEPENDS:${PN}-examples = "${PN}"

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

@ -11,20 +11,19 @@ LIC_FILES_CHKSUM = " \
inherit qt6-cmake
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-lts.inc
include recipes-qt/qt6/qt6.inc
DEPENDS += "qtbase qtdeclarative libyaml libarchive qtapplicationmanager-native"
DEPENDS:append:class-target = " qthttpserver"
DEPENDS:append:libc-musl = " libexecinfo"
RDEPENDS:${PN}:class-target = "libcrypto ${PN}-tools"
EXTRA_OECMAKE += "-DQT_APPMAN_SKIP_EXCLUDE_TOOLS_FROM_DEFAULT_TARGET=ON"
PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'multi-process', '', d)}"
PACKAGECONFIG ?= "${@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 qtwayland-native"
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}"

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

@ -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

@ -1,4 +1,4 @@
From 07f7e1ae76b24ba64cd87726c438638a8fa3eba0 Mon Sep 17 00:00:00 2001
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
@ -7,23 +7,22 @@ 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 6cdb8f3376..3007585e1c 100644
index 15c040a2e3c..913e233a524 100644
--- a/src/testlib/CMakeLists.txt
+++ b/src/testlib/CMakeLists.txt
@@ -121,8 +121,8 @@ set(qt_tc_build_dir_def
"$<IF:${qt_bool_tc_build_dir},${qt_tc_build_dir},$<TARGET_PROPERTY:BINARY_DIR>>"
@@ -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
- QT_TESTCASE_BUILDDIR="${qt_tc_build_dir_def}"
- QT_TESTCASE_SOURCEDIR="$<TARGET_PROPERTY:SOURCE_DIR>"
+ QT_TESTCASE_BUILDDIR=""
+ QT_TESTCASE_SOURCEDIR=""
)
qt_internal_add_docs(Test

View File

@ -1,4 +1,5 @@
LICENSE = "(The-Qt-Company-Commercial | (GPL-3.0-only & Qt-GPL-exception-1.0) & (LGPL-3.0-only | GPL-2.0-only | GPL-3.0-only) & GFDL-1.3-no-invariants-only) & Apache-2.0 & BSD-3-Clause & BSL-1.0 & MIT"
LICENSE = "(The-Qt-Company-Commercial | (GPL-3.0-only & Qt-GPL-exception-1.0) & (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://LICENSES/Apache-2.0.txt;md5=b4c615f64dff32f71eeed614d13dfd4c \
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
@ -6,20 +7,22 @@ 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/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-lts.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 \
"
@ -40,13 +43,12 @@ 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} \
@ -56,12 +58,13 @@ PACKAGECONFIG_GRAPHICS ?= "\
${@bb.utils.filter('DISTRO_FEATURES', 'vulkan', d)} \
${@bb.utils.filter('DISTRO_FEATURES', 'wayland', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', \
bb.utils.contains('DISTRO_FEATURES', 'x11', 'gl', 'kms gbm gles2 eglfs', d), 'no-opengl', 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', '', d)}"
PACKAGECONFIG_KDE ?= "${@bb.utils.contains('DISTRO_FEATURES', 'kde', 'sm cups kms gbm sql-sqlite', '', d)}"
PACKAGECONFIG_FONTS ?= ""
PACKAGECONFIG_SYSTEM ?= ""
PACKAGECONFIG_DISTRO ?= ""
@ -86,6 +89,7 @@ PACKAGECONFIG_DEFAULT ?= "\
zlib \
zstd \
${@bb.utils.contains('SELECTED_OPTIMIZATION', '-Os', 'optimize-size ltcg', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'qtwaylandscanner', '', d)} \
"
PACKAGECONFIG:remove:mingw32 = "openssl"
@ -96,13 +100,17 @@ BUILD_TYPE ?= "Release"
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,-DFEATURE_developer_build=OFF"
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"
@ -129,11 +137,11 @@ PACKAGECONFIG[fontconfig] = "-DFEATURE_fontconfig=ON,-DFEATURE_fontconfig=OFF,fo
PACKAGECONFIG[gbm] = "-DFEATURE_gbm=ON,-DFEATURE_gbm=OFF,virtual/libgbm"
PACKAGECONFIG[gl] = "-DFEATURE_opengl_desktop=ON,-DFEATURE_opengl_desktop=OFF,virtual/libgl"
PACKAGECONFIG[gles2] = "-DFEATURE_opengles2=ON,-DFEATURE_opengles2=OFF,virtual/libgles2 virtual/egl"
PACKAGECONFIG[eglfs] = "-DFEATURE_eglfs=ON,-DFEATURE_eglfs=OFF"
PACKAGECONFIG[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"
@ -142,6 +150,7 @@ 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[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"
@ -249,6 +258,11 @@ isEmpty(QMAKE_CC): {
EOF
}
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 \

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

@ -8,7 +8,6 @@ LIC_FILES_CHKSUM = " \
inherit qt6-cmake
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-lts.inc
include recipes-qt/qt6/qt6.inc
DEPENDS += "qtbase"
@ -16,4 +15,3 @@ DEPENDS += "qtbase"
PACKAGECONFIG ?= "qml"
PACKAGECONFIG[qml] = ",,qtdeclarative qtdeclarative-native"
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 = "qtcoap"
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-examples.inc
DEPENDS += "\
qtcoap \
qtdeclarative \
qtdeclarative-native \
"

View File

@ -10,10 +10,6 @@ LIC_FILES_CHKSUM = " \
inherit qt6-cmake
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-lts.inc
include recipes-qt/qt6/qt6.inc
DEPENDS += "qtbase"
PACKAGECONFIG[examples] = "-DQT_BUILD_EXAMPLES=ON,-DQT_BUILD_EXAMPLES=OFF,qtdeclarative qtdeclarative-native"

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,21 +1,22 @@
LICENSE = "The-Qt-Company-Commercial | GPL-3.0-only & GFDL-1.3-no-invariants-only & BSD-3-Clause"
LICENSE = "The-Qt-Company-Commercial | (GPL-3.0-only & Qt-GPL-exception-1.0) & (LGPL-3.0-only | GPL-2.0-only | GPL-3.0-only) & GFDL-1.3-no-invariants-only & BSD-3-Clause"
LIC_FILES_CHKSUM = " \
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
file://LICENSES/GFDL-1.3-no-invariants-only.txt;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
file://LICENSES/GPL-2.0-only.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
file://LICENSES/GPL-3.0-only.txt;md5=d32239bcb673463ab874e80d47fae504 \
file://LICENSES/LGPL-3.0-only.txt;md5=e6a600fd5e1d9cbde2d983680233ad02 \
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
file://LICENSES/Qt-GPL-exception-1.0.txt;md5=9a13522cd91a88fba784baf16ea66af8 \
"
inherit qt6-cmake
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-lts.inc
include recipes-qt/qt6/qt6.inc
DEPENDS += "qtbase"
PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez', '', d)}"
PACKAGECONFIG[bluez] = "-DFEATURE_bluez=ON,-DFEATURE_bluez=OFF,bluez5"
PACKAGECONFIG[examples] = "-DQT_BUILD_EXAMPLES=ON,-DQT_BUILD_EXAMPLES=OFF,qtdeclarative qtdeclarative-native"
FILES:${PN}-tools = ""

View File

@ -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

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

View File

@ -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

@ -13,7 +13,6 @@ LIC_FILES_CHKSUM = " \
inherit qt6-cmake
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-lts.inc
include recipes-qt/qt6/qt6.inc
DEPENDS += "qtbase qtshadertools qtshadertools-native qtdeclarative-native qtlanguageserver qtsvg"

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

@ -11,9 +11,8 @@ LIC_FILES_CHKSUM = " \
inherit qt6-cmake
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-lts.inc
include recipes-qt/qt6/qt6.inc
DEPENDS = "qtbase qtdeclarative qtdeclarative-native qtvirtualkeyboard"
DEPENDS = "qtbase qtdeclarative qtdeclarative-native"
RDEPENDS:${PN} = "connman"

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

@ -1,43 +1,23 @@
LICENSE = "(The-Qt-Company-Commercial | GPL-3.0-only & GFDL-1.3-no-invariants-only & BSD-3-Clause) & Apache-2.0 & CC-BY-4.0 & CC-BY-SA-4.0 & ISC"
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/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/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/ISC.txt;md5=2494cdbaca137fd93842fe9702e9bc4d \
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-lts.inc
include recipes-qt/qt6/qt6.inc
DEPENDS += "\
DEPENDS = "\
qtbase \
qtcharts \
qtdeclarative qtdeclarative-native \
qtgraphs \
qtlocation \
qtmultimedia \
qtpositioning \
qtquick3d qtquick3d-native \
qtsensors \
qtshadertools-native \
qtsvg \
qtwebsockets \
qtdeclarative \
qtdeclarative-native \
qttasktree \
"
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"
PACKAGECONFIG ?= "examples"
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

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

View File

@ -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

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

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

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

View File

@ -1,19 +1,20 @@
LICENSE = "The-Qt-Company-Commercial | GPL-3.0-only & GFDL-1.3-no-invariants-only"
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://LICENSES/GFDL-1.3-no-invariants-only.txt;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
file://LICENSES/GPL-2.0-only.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
file://LICENSES/GPL-3.0-only.txt;md5=d32239bcb673463ab874e80d47fae504 \
file://LICENSES/LGPL-3.0-only.txt;md5=e6a600fd5e1d9cbde2d983680233ad02 \
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
"
inherit qt6-cmake
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-lts.inc
include recipes-qt/qt6/qt6.inc
DEPENDS += "qtbase"
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"

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,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

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

View File

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

View File

@ -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

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

View File

@ -8,9 +8,13 @@ LIC_FILES_CHKSUM = " \
inherit qt6-cmake
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-lts.inc
include recipes-qt/qt6/qt6.inc
DEPENDS += "qtbase qtdeclarative qtdeclarative-native"
DEPENDS += "\
qtbase \
qtdeclarative \
qtdeclarative-native \
qtlottie-native \
"
INSANE_SKIP:${PN}-ptest += "buildpaths"
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

@ -9,10 +9,6 @@ LIC_FILES_CHKSUM = " \
inherit qt6-cmake
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-lts.inc
include recipes-qt/qt6/qt6.inc
DEPENDS += "qtbase"
PACKAGECONFIG[examples] = "-DQT_BUILD_EXAMPLES=ON,-DQT_BUILD_EXAMPLES=OFF,qtdeclarative qtdeclarative-native qtwebsockets"

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,8 +1,10 @@
LICENSE = "(The-Qt-Company-Commercial | (GPL-3.0-only & Qt-GPL-exception-1.0) & GPL-3.0-only & GFDL-1.3-no-invariants-only ) & Apache-2.0 & BSD-3-Clause & MPL-2.0"
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://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 \
@ -14,7 +16,6 @@ LIC_FILES_CHKSUM = " \
inherit qt6-cmake
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-lts.inc
include recipes-qt/qt6/qt6.inc
DEPENDS += "qtbase qtshadertools qtshadertools-native"
@ -24,7 +25,6 @@ PACKAGECONFIG ?= "\
gstreamer pulseaudio qml spatialaudio spatialaudio_quick3d"
PACKAGECONFIG[alsa] = "-DFEATURE_alsa=ON,-DFEATURE_alsa=OFF,alsa-lib"
PACKAGECONFIG[examples] = "-DQT_BUILD_EXAMPLES=ON,-DQT_BUILD_EXAMPLES=OFF,qtsvg"
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[pulseaudio] = "-DFEATURE_pulseaudio=ON,-DFEATURE_pulseaudio=OFF,pulseaudio"
@ -35,5 +35,3 @@ PACKAGECONFIG[vaapi] = "-DFEATURE_vaapi=ON,-DFEATURE_vaapi=OFF,libva"
QT_DEFAULT_MEDIA_BACKEND ?= "${@bb.utils.contains('PACKAGECONFIG', 'gstreamer', 'gstreamer', 'ffmpeg', d)}"
EXTRA_OECMAKE += "-DQT_DEFAULT_MEDIA_BACKEND=${QT_DEFAULT_MEDIA_BACKEND}"
INSANE_SKIP:${PN}-ptest += "buildpaths"

View File

@ -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

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

View File

@ -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 \
"

View File

@ -22,7 +22,6 @@ LIC_FILES_CHKSUM = " \
inherit qt6-cmake
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-lts.inc
include recipes-qt/qt6/qt6.inc
PACKAGECONFIG ?= "qml open62541"
@ -39,5 +38,3 @@ SECURITY_STRINGFORMAT = ""
DEPENDS += "qtbase qtopcua-native"
BBCLASSEXTEND = "native nativesdk"
INSANE_SKIP:${PN}-ptest += "buildpaths"

View File

@ -0,0 +1,29 @@
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"
COMPATIBLE_MACHINE = "(-)"
COMPATIBLE_MACHINE:libc-musl = "(-)"
COMPATIBLE_MACHINE:aarch64 = "(.*)"
COMPATIBLE_MACHINE:armv6 = "(.*)"
COMPATIBLE_MACHINE:armv7a = "(.*)"
COMPATIBLE_MACHINE:armv7ve = "(.*)"
COMPATIBLE_MACHINE:x86-64 = "(.*)"
QT_MODULE = "qtwebengine"
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-examples.inc
DEPENDS += "\
qtdeclarative-native \
qtpdf \
"

View File

@ -8,7 +8,7 @@ DEPENDS += " \
bison-native \
nss nss-native \
qtbase qtdeclarative qtdeclarative-native \
gn-native \
qt-gn-native \
libxkbcommon \
python3-html5lib-native \
"

View File

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

View File

@ -1,10 +1,9 @@
LICENSE = "(The-Qt-Company-Commercial | (GPL-3.0-only & Qt-GPL-exception-1.0) & GFDL-1.3-no-invariants-only) & BSD-3-Clause & BSL-1.0 & MIT"
LICENSE = "(The-Qt-Company-Commercial | GPL-3.0-only & GFDL-1.3-no-invariants-only) & BSD-3-Clause & BSL-1.0 & 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-3.0-only.txt;md5=d32239bcb673463ab874e80d47fae504 \
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
file://LICENSES/Qt-GPL-exception-1.0.txt;md5=9a13522cd91a88fba784baf16ea66af8 \
file://src/3rdparty/clipper/LICENSE;md5=703fd70389dc10159a3da376b5480d52 \
file://src/3rdparty/clip2tri/LICENSE;md5=20ada30cde771326c364b7987ff5585a \
file://src/3rdparty/poly2tri/LICENSE;md5=ee547afd72a735d8f02ff92a09cfe403 \
@ -13,7 +12,6 @@ LIC_FILES_CHKSUM = " \
inherit qt6-cmake
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-lts.inc
include recipes-qt/qt6/qt6.inc
DEPENDS += "qtbase"
@ -23,5 +21,3 @@ PACKAGECONFIG[geoclue] = ",,,geoclue"
PACKAGECONFIG[gypsy] = "-DFEATURE_gypsy=ON,-DFEATURE_gypsy=OFF,gconf gypsy"
PACKAGECONFIG[nmea] = ",,qtserialport"
PACKAGECONFIG[qml] = ",,qtdeclarative qtdeclarative-native"
INSANE_SKIP:${PN}-ptest += "buildpaths"

View File

@ -0,0 +1,21 @@
LICENSE = "(The-Qt-Company-Commercial | BSD-3-Clause) & CC0-1.0 & MIT"
LIC_FILES_CHKSUM = " \
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
file://LICENSES/CC0-1.0.txt;md5=65d3616852dbf7b1a6d4b53b00626032 \
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
file://LICENSES/MIT.txt;md5=3605d54ecceddcd50962eb89318779ec \
"
inherit qt6-cmake
QT_MODULE = "qtquick3d"
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-examples.inc
DEPENDS += "\
qtdeclarative-native \
qtquick3d \
qtquick3d-native \
"

View File

@ -17,7 +17,6 @@ LIC_FILES_CHKSUM = " \
inherit qt6-cmake
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-lts.inc
include recipes-qt/qt6/qt6.inc
ASSIMP_BRANCH = "qt6_assimp"

View File

@ -0,0 +1,24 @@
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
COMPATIBLE_MACHINE = "(-)"
COMPATIBLE_MACHINE:aarch64 = "(.*)"
COMPATIBLE_MACHINE:arm = "(.*)"
COMPATIBLE_MACHINE:x86 = "(.*)"
COMPATIBLE_MACHINE:x86-64 = "(.*)"
QT_MODULE = "qtquick3dphysics"
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-examples.inc
DEPENDS += "\
qtdeclarative-native \
qtquick3d-native \
qtquick3dphysics \
"

View File

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

View File

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

View File

@ -0,0 +1,19 @@
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 = "qtremoteobjects"
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-examples.inc
DEPENDS += "\
qtconnectivity \
qtremoteobjects \
qtremoteobjects-native \
qtwebsockets \
"

View File

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

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 = "qtscxml"
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-examples.inc
DEPENDS += "\
qtdeclarative-native \
qtscxml \
qtscxml-native \
"

View File

@ -1,8 +1,10 @@
LICENSE = "The-Qt-Company-Commercial | (GPL-3.0-only & Qt-GPL-exception-1.0) & GPL-3.0-only & GFDL-1.3-no-invariants-only & BSD-3-Clause"
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 \
"
@ -10,7 +12,6 @@ LIC_FILES_CHKSUM = " \
inherit qt6-cmake
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-lts.inc
include recipes-qt/qt6/qt6.inc
DEPENDS += "qtbase qtscxml-native"

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 = "qtsensors"
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-examples.inc
DEPENDS += "\
qtdeclarative-native \
qtsensors \
qtsvg \
"

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