Compare commits

..

439 Commits

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Reason for revert: Available in all supported yocto branches

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Amends 73c56ede70.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

e.g.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

More accurate licenses for qtdoc and webengine modules.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Apply the patch as it released for 13.3

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

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

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

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

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

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

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

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

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

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

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

Fixes

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Fixes:

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

"Require protobuf 3.12 as the minimal supported version"

which causes qtgrpc-native link error.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Pick-to: 6.6 6.5
Change-Id: Iebc445cea81d1449f0564f036787c44ba6aa8a87
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-09-11 17:34:56 +00:00
Qt Submodule Update Bot
437af2514a Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I1272826584466e6af0a2f3e9934bdb7ccc302457
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-08-31 11:36:33 +00:00
Qt Submodule Update Bot
192b21fdf4 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I180e4c23a31daeafa5e9b489658be6bb4ad8a995
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-08-31 07:01:04 +00:00
Jaeyoon Jung
7c2a20a1c5 qtshadertools: Fix missing dependency to spirv-tools
qsb needs spirv-tools when -O flag is given, but it is not pulled in
recipe-sysroot-native due to missing dependency. It causes qsb files
are not created as output. Errors like below can be seen with a small
tweak that makes qsb run with no -s flag.

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

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

Change-Id: I41071c2a2e3eef0fdf653cc80a31f72f22f93893
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2023-08-29 17:32:54 -07:00
Samuli Piippo
deab0703da qtbase: fix install if lcl_maybe_fortify is empty
lcl_maybe_fortify might be empty, which would make sed fail during
do_install. Workaround this by adding space to the substitution
pattern.

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

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

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

For meta-qt5:

  QT_DIR_NAME  = "/qt5"

For meta-qt6:

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

configured in a suitable global configuration file.

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

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

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

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

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

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

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

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

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

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

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

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

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

Pick-to: 6.6 6.5
Change-Id: I8aa31de9116048628a55d630ed3296fac28dfec8
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-08-16 19:16:27 +00:00
Samuli Piippo
69a8018ec1 qtshadertools: add runtime dependency to spirv-tools
Add runtime dependency to spirv-tools as the qsb utility can use
spirv-opt at runtime. Cannot include it for mingw32 toolchain
as compilation fails.

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

Fixes: QTBUG-113210
Pick-to: 6.6 6.5 6.2
Change-Id: Icce264b1f2bff5f56cf2b40a0420c5001493e236
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-08-15 12:00:58 +00:00
Samuli Piippo
c0318a6ad8 examples: add runtime dependency to main package
If examples are only using QML modules, the package manager won't
add automatic dependency to either the main or -qmlplugins packages,
and those might not get installed to the image. Add the runtime
dependency explicitly for the examples package.

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

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

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

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

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

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

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

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

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

Pick-to: 6.6
Change-Id: I5be6c8841f414a3fe73d0805be6b2b83e667c155
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2023-06-09 05:53:53 +00:00
Samuli Piippo
361bb6e1ef qt6: bump version to 6.7.0
Change-Id: I8e04c70ccc31d41b7b63a83d2845b2acf33fc99c
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2023-06-09 05:53:44 +00:00
Qt Submodule Update Bot
fdbfe37d38 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I9cfcdf63c9908be61782638d5b7bd80c5c61582c
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-06-09 05:53:29 +00:00
Samuli Piippo
4729a37e36 qttools: add PACKAGECONFIG for clang dependency
QDoc depends on libclang and using clang toolchain causes build error:
| CMake Error at qttools/6.6.0-r0/recipe-sysroot/usr/lib/cmake/Qt6/QtToolHelpers.cmake:623 (message):
|   Failed to find the host tool "Qt6::qdoc".  It is part of the Qt6ToolsTools
|   package, but the package did not contain the tool.  Make sure that the host
|   module Tools was built with all features enabled (no explicitly disabled
|   tools).
because libclang was found for qttools-native, but not for the target.

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

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

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

Pick-to: 6.5
Change-Id: I63e3835f15c732f57740b6718245e4f45ddb6c8c
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-05-29 17:07:17 +00:00
Samuli Piippo
6ad68945b5 qtbase: add runtime dependency to C.UTF-8 locale
Qt expects to have UTF-8 locale available. If the current locale
is not UTF-8, Qt will try to use C.UTF-8 locale. Make that available
by adding RRECOMMENDS to locale-base-c package.

Task-number: QTBUG-113371
Pick-to: 6.5 6.2
Change-Id: I48f18488413168afbeffddb9eac58985d1b8a988
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-05-29 04:38:35 +00:00
Samuli Piippo
651610f42f Coin: use correct path for mirror
Pick-to: 6.5 6.2
Change-Id: I878122ac5a34aaf464bb4190e3307793c53eabba
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-05-29 07:38:25 +03:00
Samuli Piippo
30f672a28d qtwayland: update patch
Fuzz detected.

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

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

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

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

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

Reason for revert: available upstream

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

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

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

Change-Id: I7f4e5d05287af89332b104b5a74f7ea93d049baa
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
(cherry picked from commit c97feb4696)
2023-05-08 16:47:15 +03:00
Qt Submodule Update Bot
a7a5c14328 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I1253e710eed5785695b09dc8fe49ee10c66e059d
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-05-08 13:47:03 +00:00
Samuli Piippo
5b387fd78d packagegroups: enable workaround for allarch packagegroup
Enable workaround for the sanity check of allarch packagegroups
which caused
ERROR: nativesdk-packagegroup-qt6-toolchain-host-essentials-1.0-r0
  do_package_write_rpm: An allarch packagegroup shouldn't depend on
  packages which are dynamically renamed (nativesdk-qttools-dev
  to nativesdk-libqt6uitools-dev)

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

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

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

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

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

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

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

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

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

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

Pick-to: 6.5 6.2
Change-Id: I54aa0d70014448bf5425ef7a49f9a32e27ba7807
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-03-27 10:39:39 +00:00
Qt Submodule Update Bot
99256fd797 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: Ief959ca1a20ba4764cdb00e3638340dd68ea0643
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-03-24 07:18:33 +00:00
Andrej Valek
d4f4b54f4e qt6-git: do not override CVE products
Some components use also base name in NVD CVE database product:
| sqlite> select * from products where product like 'qtbase';
| CVE-2019-18281|qt|qtbase|5.11.0|>=|5.11.3|<=
| CVE-2019-18281|qt|qtbase|5.12.0|>=|5.12.5|<
| sqlite> select * from products where product like 'qtsvg';
| CVE-2021-45930|qt|qtsvg|5.0.0|>=|5.15.2|<=
| CVE-2021-45930|qt|qtsvg|6.0.0|>=|6.2.1|<=

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

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

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

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

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

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

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

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

Pick-to: 6.5
Change-Id: I0053ca241c1b60b60edbc99f0830434a1d95f92d
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2023-03-15 13:55:52 +01:00
Samuli Piippo
61f984c49d Coin: fetch repo from github
Git clones from google fail frequently with:
   >> fatal: early EOF
   >> error: index-pack died
Switch to using github mirror for the git-repo repository.

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

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

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

Pick-to: 6.5 6.4
Change-Id: I4d10a430a6f162c94998ef4a9b20ef9e91897f18
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-02-27 08:04:03 +00:00
Samuli Piippo
a162d8c5a6 coin: always use the latest platforms for CI build
Change the CI dependencies so that we always get the VM configurations
from the qt5.git dev branch. This makes sure that all Yocto builds,
regardless of the Qt version, are using the same host VM version.

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

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

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

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

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

Pick-to: 6.5
Change-Id: I85b310608772884134a63138781aad9fa1220110
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-01-31 09:08:54 +00:00
Samuli Piippo
a6f9d2499b Use global variable for Qt version
Add a global variable that can be used whenever meta-qt6 layer is
included in the build to identify the Qt version.

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

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

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

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

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

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

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

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

Task-number: ANALYTICS-237
Task-number: QTBUG-108568
Pick-to: 6.5
Change-Id: I30412dec8552898b76865402c2e2ccfcae8d1904
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2023-01-16 16:12:21 +00:00
Samuli Piippo
a942032591 sdk: use security cflags in cmake toolchain file
Keep the SECURITY_CFLAGS set by Yocto builds also in the SKD's
CMake toolchain file. Instead remove only the fortify flags,
since they add unnecessary warnings when doing debug builds
with Qt Creator.

Pick-to: 6.5 6.4 6.2
Change-Id: Ia01f92f21c4f68b1be0d57f9a586a34acbe2333c
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-01-11 14:45:32 +00:00
Samuli Piippo
0533b8907e Support SDK workflow inside a Yocto build
Add support for using qmake directly from Yocto build sysroots
with following workflow:

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

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

Fixes: QTBUG-108778
Pick-to: 6.5 6.4 6.2
Change-Id: Iee48f75edbc62e5adcca318a9f4cf17b7477f4a0
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2023-01-11 14:45:27 +00:00
Samuli Piippo
cfaf86d808 sdk: move sdk mkspec additions to qtbase recipe
The qmake mkspec additions are used with the sdk when the toolchain
environment-setup script hasn't been run. Instead of adding those in
the sdk creation phase, do it already in the qtbase recipe.

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

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

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

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

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

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

Pick-to: 6.5 6.4 6.2
Change-Id: Id57cef766f708d714919994ea947701fcc83089a
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-12-14 11:38:54 +00:00
149 changed files with 2030 additions and 829 deletions

View File

@ -16,21 +16,30 @@ that is `dev` for the development branch, `6.x` for minor stabilization branches
Each Qt release is tagged either as `v6.x.y` or `v6.x.y-lts`
Following table shows the Yocto branches which are used to test each
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.5 | 6.4 | 6.3 | 6.2 |
| ---------- |:---:|:---:|:---:|:---:|
| scarthgap | x | | | |
| nanbield | x | | | |
| mickledore | c | x | | |
| langdale | c | x | | |
| kirkstone | x | x | x | x |
| honister | c | c | x | x |
| hardknott | c | c | c | c |
| gatesgarth | c | c | c | c |
| dunfell | x | x | x | x |
| Yocto \ Qt | dev | 6.11 | 6.10 | 6.9 | 6.8 | 6.7 | 6.6 | 6.5 | 6.4 | 6.3 | 6.2 |
|:---------- |:---:|:----:|:----:|:----:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|
| wrynose | x | x | | | x | | | | | | |
| whinlatter | x | x | x | c | x | | | | | | |
| walnascar | x | x | x | c | x | | | | | | |
| styhead | c | c | c | c | c | c | | | | | |
| scarthgap | x | x | x | c | x | c | c | x | | | |
| nanbield | | | c | c | c | c | c | c | | | |
| mickledore | | | c | c | c | c | c | c | c | | |
| langdale | | | c | c | c | c | c | c | c | | |
| kirkstone | | | x | c | x | c | c | x | c | c | c |
| honister | | | | | | | c | c | c | c | c |
| hardknott | | | | | | | c | c | c | c | c |
| gatesgarth | | | | | | | c | c | c | c | c |
| dunfell | | | | | | | c | x | c | c | c |
| | | | | | | | | | | | |
| | dev |stable|stable|closed| LTS | EOL | EOL | LTS | EOL | EOL | EOL |
Detailed status of supported Qt versions can be found from
https://doc.qt.io/qt-6/supported-platforms.html#supported-qt-versions
Commercial Qt
-------------
@ -51,12 +60,6 @@ a commercial Qt license and you have set up SSH access to Qt Gerrit (see links b
The commercial Qt modules are included in the build if the `QT_COMMERCIAL_MODULES`
variable is set to `1` and you are using a commercial edition of Qt.
QtWebEngine
-----------
QtWebEngine needs at least CMake 3.19, which is available starting from Hardknott.
For this reason QtWebEngine is not tested on older releases.
QtMultimedia
------------

26
SECURITY.md Normal file
View File

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

View File

@ -1,5 +1,7 @@
inherit qt6-paths
SDKIMAGE_FEATURES:append = " staticdev-pkgs"
SDK_POSTPROCESS_COMMAND:prepend = "create_qt6_sdk_files;"
EXE_EXT = ""
@ -25,7 +27,7 @@ create_qt6_sdk_files () {
echo 'Binaries = ${QT6_INSTALL_BINDIR}' >> $qtconf
echo 'LibraryExecutables = ${QT6_INSTALL_LIBEXECDIR}' >> $qtconf
echo 'Plugins = ${QT6_INSTALL_PLUGINSDIR}' >> $qtconf
echo 'Qml2Imports = ${QT6_INSTALL_QMLDIR}' >> $qtconf
echo 'QmlImports = ${QT6_INSTALL_QMLDIR}' >> $qtconf
echo 'Translations = ${QT6_INSTALL_TRANSLATIONSDIR}' >> $qtconf
echo 'Documentation = ${QT6_INSTALL_DOCDIR}' >> $qtconf
echo 'Settings = ${QT6_INSTALL_SYSCONFDIR}' >> $qtconf

View File

@ -9,9 +9,11 @@ EXTRA_OECMAKE += "\
-DCMAKE_MESSAGE_LOG_LEVEL=${QT_MESSAGE_LOG_LEVEL} \
"
QT_FORCE_BUILD_TOOLS ?= "OFF"
QT_INSTALL_EXAMPLES_SOURCES ?= "OFF"
EXTRA_OECMAKE:append:class-target = "\
-DQT_HOST_PATH:PATH=${RECIPE_SYSROOT_NATIVE}${prefix_native}/ \
-DQT_FORCE_BUILD_TOOLS=${QT_FORCE_BUILD_TOOLS} \
-DQT_INSTALL_EXAMPLES_SOURCES=${QT_INSTALL_EXAMPLES_SOURCES} \
-D__harfbuzz_broken_config_file=TRUE \
"
EXTRA_OECMAKE:append:class-nativesdk = "\
@ -39,10 +41,21 @@ EXTRA_OECMAKE += "\
do_install:append() {
# Replace host paths with qmake built-in properties QTBUG-84725
# remove all references to TMPDIR that could not be replaced QTBUG-105877
find ${D} \( -name "*.pri" -or -name "*.prl" \) -exec \
sed -i -e 's|${STAGING_DIR_NATIVE}|$$[QT_HOST_PREFIX/get]|g' \
-e 's|${STAGING_DIR_HOST}|$$[QT_SYSROOT]|g' \
-e '/QMAKE_PRL_BUILD_DIR/d' {} \;
-e '/QMAKE_PRL_BUILD_DIR/d' \
-e '\|${WORKDIR}|d' {} \;
# Remove buildpaths from SBOM files
# QTBUG-130557
if [ -e ${D}${QT6_INSTALL_LIBDIR}/sbom ]; then
sed -i ${D}${QT6_INSTALL_LIBDIR}/sbom/*.spdx \
-e 's|${STAGING_DIR_NATIVE}||' \
-e 's|${S}||g' \
-e 's|${B}||'
fi
}
export QT_DISABLE_SHADER_DISK_CACHE = "1"

View File

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

View File

@ -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}
Qml2Imports = ${OE_QMAKE_PATH_QML}
Translations = ${OE_QMAKE_PATH_TRANSLATIONS}
Documentation = ${OE_QMAKE_PATH_DOCS}
Settings = ${OE_QMAKE_PATH_SETTINGS}
Examples = ${OE_QMAKE_PATH_EXAMPLES}
Tests = ${OE_QMAKE_PATH_TESTS}
HostBinaries = ${OE_QMAKE_PATH_BINS}
HostData = ${OE_QMAKE_PATH_ARCHDATA}
HostLibraries = ${OE_QMAKE_PATH_LIBS}
HostSpec = ${OE_QMAKE_PLATFORM}
TargetSpec = ${OE_QMAKE_PLATFORM}
ExternalHostBinaries = ${OE_QMAKE_PATH_BINS}
Sysroot =
EOF
}
do_generate_qt_config_file() {
generate_qt_config_file_paths
generate_qt_config_file_effective_paths
}
generate_qt_config_file_paths() {
cat > ${OE_QMAKE_QTCONF_PATH} <<EOF
[Paths]
Prefix = ${OE_QMAKE_PATH_PREFIX}
@ -124,34 +90,24 @@ Data = ${OE_QMAKE_PATH_DATA}
Binaries = ${OE_QMAKE_PATH_BINS}
LibraryExecutables = ${OE_QMAKE_PATH_LIBEXECS}
Plugins = ${OE_QMAKE_PATH_PLUGINS}
Qml2Imports = ${OE_QMAKE_PATH_QML}
QmlImports = ${OE_QMAKE_PATH_QML}
Translations = ${OE_QMAKE_PATH_TRANSLATIONS}
Documentation = ${OE_QMAKE_PATH_DOCS}
Settings = ${OE_QMAKE_PATH_SETTINGS}
Examples = ${OE_QMAKE_PATH_EXAMPLES}
Tests = ${OE_QMAKE_PATH_TESTS}
HostPrefix = ${OE_QMAKE_PATH_HOST_PREFIX}
HostBinaries = ${OE_QMAKE_PATH_HOST_BINS}
HostData = ${OE_QMAKE_PATH_HOST_DATA}
HostLibraries = ${OE_QMAKE_PATH_HOST_LIBS}
HostLibraryExecutables = ${OE_QMAKE_PATH_HOST_LIBEXECS}
HostSpec = ${OE_QMAKE_PLATFORM_NATIVE}
TargetSpec = ${OE_QMAKE_PLATFORM}
ExternalHostBinaries = ${OE_QMAKE_PATH_EXTERNAL_HOST_BINS}
Sysroot = ${STAGING_DIR_TARGET}
SysrootifyPrefix=true
EOF
}
generate_qt_config_file_effective_paths() {
cat >> ${OE_QMAKE_QTCONF_PATH} <<EOF
[EffectivePaths]
HostBinaries = ${OE_QMAKE_PATH_EXTERNAL_HOST_BINS}
HostLibraries = ${STAGING_LIBDIR_NATIVE}
HostData = ${OE_QMAKE_PATH_HOST_DATA}
HostPrefix = ${STAGING_DIR_NATIVE}
HostLibraryExecutables = ${STAGING_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.
@ -162,7 +118,7 @@ EOF
# Binaries The location of installed Qt binaries (tools and applications).
# Plugins The location of installed Qt plugins.
# Imports The location of installed QML extensions to import (QML 1.x).
# Qml2Imports The location of installed QML extensions to import (QML 2.x).
# QmlImports The location of installed QML extensions to import (QML 2.x).
# ArchData The location of general architecture-dependent Qt data.
# Data The location of general architecture-independent Qt data.
# Translations The location of translation information for Qt strings.
@ -175,7 +131,6 @@ EOF
# HostPrefix The prefix for host tools when cross compiling (building tools for both systems)
# HostBinaries The location where to install host tools
# HostData The location where to install host data
# ExternalHostBinaries The location where we already have host tools (when cross compiling, but reusing existing tools)
# TargetSpec The location where to install target mkspec
# HostSpec The location where to install host mkspec

View File

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

View File

@ -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 qemuarm qemux86-64 qemuarm64
# [yocto] nanbield scarthgap scarthgap dunfell kirkstone
# [X11] no no yes yes no
# [mingw] no yes no 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
@ -31,10 +33,13 @@ target1: &target1
variableValue: qemuarm64
- type: EnvironmentVariable
variableName: MANIFEST
variableValue: nanbield.xml
variableValue: master.xml
- type: EnvironmentVariable
variableName: TEST_CONFIGS
variableValue: ci configs wayland
variableValue: ci configs wayland opengl
- type: EnvironmentVariable
variableName: CHECK_COMPATIBILITY
variableValue: 1
enable_if:
condition: property
property: target.arch
@ -44,13 +49,13 @@ target2: &target2
instructions:
- type: EnvironmentVariable
variableName: MACHINE
variableValue: qemux86
variableValue: qemux86-64
- type: EnvironmentVariable
variableName: MANIFEST
variableValue: scarthgap.xml
variableValue: walnascar.xml
- type: EnvironmentVariable
variableName: TEST_CONFIGS
variableValue: ci configs wayland mingw no-webengine
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
variableValue: ci configs mingw wayland x11 opengl
enable_if:
condition: property
property: target.arch
@ -76,13 +81,13 @@ target4: &target4
instructions:
- type: EnvironmentVariable
variableName: MACHINE
variableValue: qemux86-64
variableValue: qemux86
- type: EnvironmentVariable
variableName: MANIFEST
variableValue: dunfell.xml
variableValue: whinlatter.xml
- type: EnvironmentVariable
variableName: TEST_CONFIGS
variableValue: ci configs dunfell no-webengine
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
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"
@ -137,14 +176,27 @@ instructions:
chmod +x repo
./repo init \
--repo-url https://github.com/theqtcompany/git-repo \
--repo-url git@git.qt.io:boot2qt/git-repo.git \
-u git://code.qt.io/yocto/boot2qt-manifest \
-b ci \
-m ${MANIFEST} \
--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
@ -156,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"
@ -31,68 +32,25 @@ WARN_QA:remove = "${EXTRA_QA}"
# nativesdk-qemu-user-mips rdepends on nativesdk-bash, but it isn't a build dependency
INSANE_SKIP:nativesdk-qemu-user-mips = "build-deps"
# workaround for clang
# nativesdk-liblldb contains reference to TMPDIR [buildpaths]
INSANE_SKIP:append:pn-nativesdk-clang = " buildpaths"
# enable thumb for broader test coverage (oe-core autobuilder doesn't have thumb enabled)
PREFERRED_ARM_INSTRUCTION_SET ?= "thumb"
ARM_INSTRUCTION_SET = "${PREFERRED_ARM_INSTRUCTION_SET}"
# 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)} \
use-gold-linker \
"
# 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-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 @@
LICENSE_FLAGS_WHITELIST = "commercial_ffmpeg commercial_x264"

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"

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

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

View File

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

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

@ -18,7 +18,6 @@ BBFILES += "${LAYERDIR}/recipes-*/*/*.bb ${LAYERDIR}/recipes-*/*/*.bbappend"
BBFILES_DYNAMIC += " \
meta-python:${LAYERDIR}/dynamic-layers/meta-python/*/*/*.bb \
meta-python:${LAYERDIR}/dynamic-layers/meta-python/*/*/*.bbappend \
openembedded-layer:${LAYERDIR}/dynamic-layers/openembedded-layer/recipes*/*/*.bbappend \
"
BBFILE_COLLECTIONS += "qt6-layer"
@ -36,22 +35,20 @@ LAYERVERSION_qt6-layer = "1"
LAYERDEPENDS_qt6-layer = "core openembedded-layer meta-python"
LAYERSERIES_COMPAT_qt6-layer = "dunfell gatesgarth hardknott honister kirkstone langdale mickledore nanbield scarthgap"
LAYERSERIES_COMPAT_qt6-layer = "scarthgap styhead walnascar whinlatter"
LICENSE_PATH += "${LAYERDIR}/licenses"
IMAGE_FEATURES[validitems] += "qtcreator-debug"
# Set a variable to get to the top of the metadata location
QT6BASE := "${LAYERDIR}"
QT_GIT_PROJECT ?= "qt"
QT_GIT ?= "git://code.qt.io"
QT_GIT_PROTOCOL ?= "git"
QT_EDITION ?= "opensource"
QT_VERSION = "6.5.6"
QT_VERSION = "6.11.0"
QT_COMMERCIAL_GIT ?= "git://codereview.qt-project.org"
QT_COMMERCIAL_GIT_PROTOCOL ?= "ssh"
QT_COMMERCIAL_MODULES ?= "0"
# License mapping back to old license files
SPDXLICENSEMAP[GFDL-1.3-no-invariants-only] = "GFDL-1.3"

View File

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

View File

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

View File

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

View File

@ -1,21 +0,0 @@
inherit pypi setuptools3
DEPS += " python3-jinja2 \
python3-click \
python3-pyyaml \
python3-pytest \
python3-six \
python3-path \
python3-antlr4-runtime \
python3-watchdog \
python3-markupsafe \
python3-setuptools \
"
DEPENDS += "${DEPS}"
RDEPENDS:${PN} += "${DEPS}"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=eee61e10a40b0e3045ee5965bcd9a8b5"
SRC_URI[sha256sum] = "42b0a0d37ed77cf1a9994f5ed77e3a6138468241df1700667a9ab0b848d6ad57"
BBCLASSEXTEND = "nativesdk native"

View File

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

View File

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

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

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

View File

@ -3,7 +3,7 @@ HOMEPAGE = "http://github.com/pytest-dev/pytest-qt"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=be0db96616c6ec3cabe975402c4c687f"
SRC_URI[sha256sum] = "dfc5240dec7eb43b76bcb5f9a87eecae6ef83592af49f3af5f1d5d093acaa93e"
SRC_URI[sha256sum] = "00a17b586dd530b6d7a9399923a40489ca4a9a309719011175f55dc6b5dc8f41"
inherit pypi setuptools3

View File

@ -11,18 +11,22 @@ PACKAGEGROUP_DISABLE_COMPLEMENTARY = "1"
RDEPENDS:${PN} += " \
nativesdk-qtapplicationmanager-dev \
nativesdk-qtapplicationmanager-tools \
nativesdk-qtcanvaspainter-dev \
nativesdk-qtcanvaspainter-tools \
nativesdk-qtgrpc-dev \
nativesdk-qtgrpc-tools \
nativesdk-qtlottie-dev \
nativesdk-qtlottie-tools \
nativesdk-qtquick3d-dev \
nativesdk-qtquick3d-tools \
nativesdk-qtopcua-dev \
nativesdk-qtopcua-tools \
nativesdk-qtremoteobjects-dev \
nativesdk-qtremoteobjects-tools \
nativesdk-qtscxml-dev \
nativesdk-qtscxml-tools \
nativesdk-qtshadertools-dev \
nativesdk-qtshadertools-tools \
nativesdk-qtwayland-dev \
nativesdk-qtwayland-tools \
${FORLINUXHOST} \
"

View File

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

View File

@ -11,11 +11,14 @@ RDEPENDS:${PN} += " \
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'qt3d', '', d)} \
qt5compat \
qtapplicationmanager \
qtcanvaspainter \
qtcharts \
qtcoap \
qtconnectivity \
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'qtdatavis3d', '', d)} \
qtdeviceutilities \
qtdoc \
qtgraphs \
qtgrpc \
qthttpserver \
qtimageformats \
@ -39,6 +42,7 @@ RDEPENDS:${PN} += " \
qtshadertools \
qtspeech \
qtsvg \
qttasktree \
qttranslations \
qtvirtualkeyboard \
${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'qtwayland', '', d)} \
@ -48,20 +52,27 @@ RDEPENDS:${PN} += " \
RDEPENDS:${PN}:append:aarch64 = "\
qtquick3dphysics \
${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtwebengine qtwebview qtpdf', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'qtpdf', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtwebengine qtwebview', '', d)} \
"
RDEPENDS:${PN}:append:arm = " qtquick3dphysics"
RDEPENDS:${PN}:append:armv6 = "\
${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtwebengine qtwebview qtpdf', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'qtpdf', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtwebengine qtwebview', '', d)} \
"
RDEPENDS:${PN}:append:armv7a = "\
${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtwebengine qtwebview qtpdf', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'qtpdf', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtwebengine qtwebview', '', d)} \
"
RDEPENDS:${PN}:append:armv7ve = "\
${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtwebengine qtwebview qtpdf', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'qtpdf', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtwebengine qtwebview', '', d)} \
"
RDEPENDS:${PN}:append:x86 = " qtquick3dphysics"
RDEPENDS:${PN}:append:x86-64 = "\
qtquick3dphysics \
${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtwebengine qtwebview qtpdf', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'qtpdf', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtwebengine qtwebview', '', d)} \
"
RDEPENDS:${PN}:remove:libc-musl = "qtpdf qtwebengine qtwebview"

View File

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

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

View File

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

View File

@ -46,6 +46,24 @@ def gn_target_arch_name(d):
'GN_TARGET_ARCH_NAME variable could not be found.')
return name
def gn_host_pkg_config(d):
"""Return absolute paths to pkg-config-native."""
return d.getVar("STAGING_BINDIR_NATIVE") + "/" + "pkg-config-native"
def gn_clang(d):
"""Return true if using clang compiler else return false"""
if "clang++" in d.getVar("CXX"):
return "true"
else:
return "false"
def gn_clang_native(d):
"""Return true if using native clang compiler else return false"""
if "clang++" in d.getVar("BUILD_CXX"):
return "true"
else:
return "false"
def write_toolchain_file(d, file_path):
"""Creates a complete GN toolchain file in |file_path|."""
import string
@ -68,14 +86,17 @@ 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'
)
native_toolchain = {
'toolchain_name': 'yocto_native',
'is_clang': gn_clang_native(d),
'current_cpu': gn_host_arch_name(d),
'host_pkg_config': gn_host_pkg_config(d),
'cc': d.expand('${BUILD_CC}'),
'cxx': d.expand('${BUILD_CXX}'),
'ar': d.expand('${BUILD_AR}'),
@ -88,7 +109,9 @@ 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}'),
'cxx': d.expand('${CXX}'),
'ar': d.expand('${AR}'),

View File

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

View File

@ -1,6 +1,8 @@
LICENSE = "The-Qt-Company-Commercial"
LIC_FILES_CHKSUM = " \
file://src/qmlcompilerplus/cppcodegen_p.h;endline=27;md5=6a1dccd03d0d5864357e72b67def8ff2 \
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
file://LICENSES/GFDL-1.3-no-invariants-only.txt;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
"
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

@ -8,9 +8,9 @@ LIC_FILES_CHKSUM = " \
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
file://LICENSES/Qt-GPL-exception-1.0.txt;md5=9a13522cd91a88fba784baf16ea66af8 \
file://src/3rdparty/assimp/LICENSE;md5=2119edef0916b0bd511cb3c731076271 \
file://src/3rdparty/imgui/LICENSE_imstb.txt;md5=2c03212e4ad1f727e9c2251327812596 \
file://src/3rdparty/imgui/LICENSE_proggyclean.txt;md5=f9db3a4f99ffc4d38de6bb590db15f31 \
file://src/3rdparty/imgui/LICENSE.txt;md5=f3c4ae64ab2a23f1b8734609e1a2d48a \
file://src/3rdparty/imgui/LICENSE.imstb.txt;md5=2c03212e4ad1f727e9c2251327812596 \
file://src/3rdparty/imgui/LICENSE.proggyclean.txt;md5=f9db3a4f99ffc4d38de6bb590db15f31 \
file://src/3rdparty/imgui/LICENSE.txt;md5=875a54e93593c8b244ef6b78cacc336e \
"
inherit qt6-cmake
@ -19,15 +19,17 @@ inherit features_check
REQUIRED_DISTRO_FEATURES = "opengl"
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-lts.inc
include recipes-qt/qt6/qt6.inc
ASSIMP_BRANCH = "qt6_assimp"
SRC_URI += " \
${QT_GIT}/${QT_GIT_PROJECT}/qtquick3d-assimp.git;name=qt3d-assimp;branch=${ASSIMP_BRANCH};protocol=${QT_GIT_PROTOCOL};destsuffix=git/src/3rdparty/assimp/src \
${QT_GIT}/${QT_GIT_PROJECT}/qtquick3d-assimp.git;name=qt3d-assimp;branch=${ASSIMP_BRANCH};protocol=${QT_GIT_PROTOCOL};destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/src/3rdparty/assimp/src \
"
# Needed for supporting 64bit off_t
CFLAGS:append:libc-musl = " -DIOAPI_NO_64 -D_GNU_SOURCE"
DEPENDS = "qtbase qtdeclarative qtdeclarative-native qtshadertools qtshadertools-native"
PACKAGECONFIG[system-assimp] = "-DFEATURE_qt3d_system_assimp=ON,-DQT_FEATURE_qt3d_system_assimp=OFF,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

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

View File

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

@ -1,68 +1,75 @@
DESCRIPTION ?= "Qt is a cross-platform application development framework for desktop, embedded and mobile."
HOMEPAGE ?= "https://www.qt.io"
inherit srcrev-update
QT_MODULE ?= "${BPN}"
QT_MODULE_BRANCH ?= "6.5"
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}"
SRC_URI = "${QT_GIT}/${QT_GIT_PROJECT}/${QT_MODULE_REPO};name=${QT_MODULE};${QT_MODULE_BRANCH_PARAM};protocol=${QT_GIT_PROTOCOL}"
# for compatibility with Yocto releases before whinlatter
BB_GIT_DEFAULT_DESTSUFFIX ?= "${BP}"
CVE_PRODUCT:append = " qt"
SRC_URI = "${QT_GIT}/${QT_GIT_PROJECT}/${QT_MODULE_REPO};name=${QT_MODULE};${QT_MODULE_BRANCH_PARAM};protocol=${QT_GIT_PROTOCOL};destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}"
S = "${WORKDIR}/git"
CVE_PRODUCT ?= "qt:${BPN} qt:qt"
PV = "${QT_VERSION}"
SRCREV = "${SRCREV_${QT_MODULE}}"
SRCREV = "${SRCREV_${QT_MODULE_REPO}}"
SRCREV_tqtc-qmlcompilerplus = "83bf4928c1c356c5e0e804cb723db1c75e07aff7"
SRCREV_tqtc-qtinsighttracker = "34595fbd124db003a6179aee1b0a5ed4d02f5eb2"
SRCREV_tqtc-qtvncserver = "ed2b113e7ee83f0d3a53090f82da84676413bb4e"
SRCREV_qt3d = "b1d3dd19e8ac70a861edb5bd47011ce819aa1fae"
SRCREV_qt3d-assimp = "c60a259fd35f09b8896b2920d48c436145914aae"
SRCREV_qt5compat = "27774c1d2058bdd951cfc827d52dc68dc811c9a2"
SRCREV_qtbase = "72e405b9079707c9c033864aa66d20221b54bb06"
SRCREV_qtapplicationmanager = "3f77fdaa83f7fc7db7427ffe37f445e91c8ee1be"
SRCREV_qtcharts = "29465c58b158b2200d6577d2cb6bb0e972154020"
SRCREV_qtcoap = "ebc6c174a59ba201e0467a206b5e543e94d30e8f"
SRCREV_qtconnectivity = "dd971dfb95970195d926371c8603d98d75a03d56"
SRCREV_qtdatavis3d = "c18392fd799eadc3110747b0fbb5fe843b3df402"
SRCREV_qtdeclarative = "0bbb1c4e12e7d027b452a946652049f353a41132"
SRCREV_qtdeviceutilities = "7502c8cb156a68b0576cf575a9a161cdade005a3"
SRCREV_qtgrpc = "ac96ecc6e70f8ac58a1949fa5a14c01c419ca32a"
SRCREV_qthttpserver = "cf82ce3bdfff366cf6be17da0da65d8131d6c258"
SRCREV_qtimageformats = "0fbd8beca9e19f73507d5d35be5a876600d2eff1"
SRCREV_qtinterfaceframework = "05c800b4d1a427843846f2de5a7e693dae5c4e08"
SRCREV_qtlanguageserver = "4d1dde2d72407f6e5f725efd6cee86951c006e19"
SRCREV_qtlocation = "2d4d23684110e251294798bd722d5e6dc32f6845"
SRCREV_qtlottie = "ef4f2a27a9a919e9b6a44c7f6999996a2b90d532"
SRCREV_qtmqtt = "21177fbcc2051a0d611ed0773b3d479c3a858dd2"
SRCREV_qtmultimedia = "d842fea8622aa8825ba42f1263c7aacc24ae5631"
SRCREV_qtnetworkauth = "dd69dcecf0122c5e677ba8dea869b340fec25fba"
SRCREV_qtopcua = "16208fbf20da782b101f87eeb897b984b2d492ad"
SRCREV_qtpositioning = "384e6155a739c96be5f07a29ac4953463405d960"
SRCREV_qtquick3d = "c8207abe652b4dbe3a7837e63f1be91980d36086"
SRCREV_qtquick3d-assimp = "fd7cd819e9e130385e17e707da31e60b82e787d0"
SRCREV_qtquick3dphysics = "bd8d13959258747dbdf615ba429a14570e13786d"
SRCREV_qtquickdesigner-components = "41eb62ef3f71a0c2c74de237cb0f5224a2cd94dc"
SRCREV_qtquicktimeline = "0e621d5fba45cd44138887d5418272fd7b7c4aa8"
SRCREV_qtremoteobjects = "d8bc0d7cc7a4ff131ec039f5b155973366ae15f0"
SRCREV_qtscxml = "bf53edfa0b3c8cb39ee6b27ff9edadf870a09f5a"
SRCREV_qtsensors = "7af391b9d397c7b1fb9ed7c68830df36aab34069"
SRCREV_qtserialbus = "a171818260beee933e32f6b19db2fa8b4244977e"
SRCREV_qtserialport = "ca366cc8d7f17a90cb303f6944b1ab9a7f1d62e2"
SRCREV_qtshadertools = "c7c5a2b27b093a1c697cb41013f8f05678649b50"
SRCREV_qtspeech = "7c0c3bff384d9a9c88c2c9b090f17ad9f61029de"
SRCREV_qtsvg = "56a861c1a67beab7f9f09340550def485468264e"
SRCREV_qttools = "b4920210050c18913531ac237f294e2632a2edda"
SRCREV_qttools-qlitehtml = "f05f78ef33225823d348ee18f2fa464e95024dd2"
SRCREV_qttools-qlitehtml-litehtml = "43af58e8adad70c4f1a0a9235546a246754c1737"
SRCREV_qttranslations = "660d2ffc4be83838e45a03fb3d03384279fc7081"
SRCREV_qtvirtualkeyboard = "a4c4f67468edaea98be16ed338ef07c9c96833ca"
SRCREV_qtwayland = "78f6a3877fd20c68be1e00a8fe27f7a399ce95b8"
SRCREV_qtwebchannel = "951929518a183f9dd254603140a33be1fc9f35f6"
SRCREV_qtwebengine = "0efae85f199a61fd6919703cfbb74d680d9a9443"
SRCREV_qtwebengine-chromium = "be3ba7a0ebb340b9498e82c3506cf46ec5ddbee6"
SRCREV_qtwebsockets = "51cae79f950c11cca5609cda85a94e9553f44a31"
SRCREV_qtwebview = "3fbafefaa821bef27a5e04b5e0a3e30c98eb16af"
SRCREV_tqtc-qmlcompilerplus = "2f2395a50b0ddb1af6b699a90cfbe2164f67b6e7"
SRCREV_tqtc-qtinsighttracker = "ac8972a670cf492ce2d2cf4ab757c43c5291804f"
SRCREV_tqtc-qtvncserver = "8bfcb2ede4e5021a637933ec927ce2678fdc7f0c"
SRCREV_qt3d = "1cac4a649679618f1301aba0074dae063eac6b98"
SRCREV_qt3d-assimp = "488a2f7af2920295ada886f113a0d563dab79b8d"
SRCREV_qt5compat = "287be0a7793621dd4e6e780595bf20aa3ae2b2c4"
SRCREV_qtbase = "bd04c5d7a4b907b8c4a2d2dda4ba3f24f687fb7f"
SRCREV_qtapplicationmanager = "4bd1f1fba3f803a7284a5110e117e8d162d54065"
SRCREV_qtcanvaspainter = "689445d357df249cdf0d5ec0437bd6b8b68368c8"
SRCREV_qtcharts = "46a2c96f3e376bc2de0e0710ec0e143c1a784081"
SRCREV_qtcoap = "fbd3db03f13a7d1fd79aaa2392e331a1737f7f68"
SRCREV_qtconnectivity = "e2bee5bf54cb0ac721fd9da0884a8f5a251e63fa"
SRCREV_qtdatavis3d = "ca8d79677e63c3111536f9b03c4184f732810498"
SRCREV_qtdeclarative = "59da4b17158303fc671869547bcb91b675bf4702"
SRCREV_qtdeviceutilities = "4f86edb2eb255397f849528f43f49a59d4973109"
SRCREV_qtdoc = "42cd131492d531dc32660f79e81c6f85dbc56a12"
SRCREV_qtgraphs = "c08c320fc36fa31b264ac3c8f0f62aa94ac41b30"
SRCREV_qtgrpc = "2bccf14f841bca476a6f90242b30368742de4a66"
SRCREV_qthttpserver = "648e8b021ee219c7034c357cd9a5424a3040dfad"
SRCREV_qtimageformats = "cb96a5aa2e37e0a6d31df138d24c207c6951de3a"
SRCREV_qtinterfaceframework = "1dfaeb1d7c2cb60b56d4c9e1ff6e622e03d86d97"
SRCREV_qtlanguageserver = "8599dad24858f93876012bd2071d096a31dfda0a"
SRCREV_qtlocation = "8d13de6bc6a2207eca4eded65741a28d95d433a3"
SRCREV_qtlottie = "3a5ce6df4ba97e29e7d7dc16c2bb3e849885d8fb"
SRCREV_qtmqtt = "4f6e8dd0f1c78926394335686cfa8537303b1a07"
SRCREV_qtmultimedia = "074d188889891972cb456817510f62b158e9ca67"
SRCREV_qtnetworkauth = "0b8d323ae151f3826d7b5a223d80e5293cd1ed06"
SRCREV_qtopcua = "f4dd8c4011d4ba3d11fbaaede379de247fe09690"
SRCREV_qtpositioning = "56ede83df68dcb1048564aa463f8b48985f5f99e"
SRCREV_qtquick3d = "3468786a6e3320eca9d4cc6d5444636ba5d88c73"
SRCREV_qtquick3d-assimp = "488a2f7af2920295ada886f113a0d563dab79b8d"
SRCREV_qtquick3dphysics = "9c860d931ef38751a1bc03ef813610dbd7793469"
SRCREV_qtquickdesigner-components = "8c9e0faa0dd8b8adf019e357212e59898a7bebfb"
SRCREV_qtquicktimeline = "831a9978aee0e963b88f5cb122228ecb7b99b13d"
SRCREV_qtremoteobjects = "6c1fe0e164815b540b996d3246634b5e43d3ccb9"
SRCREV_qtscxml = "604aa8558028411a9b9ac3c4bd813231db2264d0"
SRCREV_qtsensors = "8d6d925ae615a23c8b84b51ad3701dce78afc53c"
SRCREV_qtserialbus = "c5d1600f1270a8e4953d1c074b9faed7d99fdd2d"
SRCREV_qtserialport = "cc95fa549119370ef78587af749e8f17544c95cc"
SRCREV_qtshadertools = "45ef193c92f93c7a0bf8de53163a9ca8886f8267"
SRCREV_qtspeech = "63e490d12db7790b29fa61f0c6e0677cef7074e9"
SRCREV_qtsvg = "7c65619dc929ebf52b63251e8601b47f2f2ee207"
SRCREV_qttasktree = "93e1d91ac78e232c3ca6b1db0031a30d08b334dd"
SRCREV_qttools = "369f8a1fa6ac7527227df7a99399b0428a16ba97"
SRCREV_qttools-qlitehtml = "3fe5821dad98747d6e41c9ed54b86c3d0eee9daf"
SRCREV_qttools-qlitehtml-litehtml = "6ca1ab0419e770e6d35a1ef690238773a1dafcee"
SRCREV_qttranslations = "0a794041faf3e647ff9623d99754a8cfdaa68a47"
SRCREV_qtvirtualkeyboard = "e9d1ea1624cf2c961ba4aa077090367d108b130a"
SRCREV_qtwayland = "586e489ce426e833729c333499cb98a06fbae1b0"
SRCREV_qtwebchannel = "227750ae26054f88c202c370930c1dccf529b7fc"
SRCREV_qtwebengine = "152b67fa5b7862d2a63fd0574ebeb4759335b935"
SRCREV_qtwebengine-chromium = "031a10673ee369c84b2db2669fc147adf175a3be"
SRCREV_qtwebsockets = "f269b863b994977ae8f937620c99c60e811fcbf9"
SRCREV_qtwebview = "374f9d6ebc7226b68b4e336a136e99e73fd42b44"

View File

@ -12,66 +12,94 @@ DEBUG_PREFIX_MAP += "\
do_install_ptest_base[progress] = "${@d.getVarFlag('do_compile', 'progress')}"
B_PTEST = "${WORKDIR}/build-ptest"
fakeroot do_install_ptest() {
cat >${WORKDIR}/toolchain-ptest.cmake <<EOF
include(${WORKDIR}/toolchain.cmake)
list(PREPEND CMAKE_FIND_ROOT_PATH ${D})
EOF
if [ -n "${OE_QMAKE_QMAKE}" ]; then
# qmake project
B_PTEST=${B}
mkdir -p ${B_PTEST}/tests
cd ${B_PTEST}/tests
${OE_QMAKE_QMAKE} -o Makefile ${S}/tests
oe_runmake
else
# cmake project
B_PTEST=${WORKDIR}/build-ptest
mkdir -p ${B_PTEST}
cd ${B_PTEST}
cmake \
${OECMAKE_GENERATOR_ARGS} \
-DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain-ptest.cmake \
-DPython3_EXECUTABLE=${PYTHON} \
${EXTRA_OECMAKE} \
-DQT_BUILD_STANDALONE_TESTS=ON \
-DQT_ADDITIONAL_PACKAGES_PREFIX_PATH=${D}${QT6_INSTALL_LIBDIR}/cmake \
-DCMAKE_STAGING_PREFIX=${D}${prefix} \
-DCMAKE_SKIP_RPATH=ON \
-DQT_DISABLE_NO_DEFAULT_PATH_IN_QT_PACKAGES=ON \
${S} \
-Wno-dev
${CMAKE_VERBOSE} cmake --build ${B_PTEST} --target all
mkdir -p ${B_PTEST}
cd ${B_PTEST}
cmake \
${OECMAKE_GENERATOR_ARGS} \
-DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain-ptest.cmake \
-DPython3_EXECUTABLE=${PYTHON} \
${EXTRA_OECMAKE} \
-DQT_BUILD_STANDALONE_TESTS=ON \
-DQT_BUILD_EXAMPLES=OFF \
-DQT_ADDITIONAL_PACKAGES_PREFIX_PATH=${D}${prefix} \
-DCMAKE_STAGING_PREFIX=${D}${prefix} \
-DCMAKE_SKIP_RPATH=ON \
-DQT_DISABLE_NO_DEFAULT_PATH_IN_QT_PACKAGES=ON \
-DQT_FORCE_BUILTIN_TESTDATA=ON \
${S} \
-Wno-dev
${CMAKE_VERBOSE} cmake --build ${B_PTEST} --target all
for tests in auto baseline
do
if [ -e "${B_PTEST}/tests/$tests" ]; then
install -d ${D}${PTEST_PATH}/tests
find ${B_PTEST}/tests/$tests ! -type d -a \( \
-executable -o \
-name qmldir -o \
-name *.rcc \
\) -exec sh -c '\
install -D "$1" "${D}${PTEST_PATH}${1#${B_PTEST}}" \
' _ {} \;
fi
done
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
}
# if any auto tests were build
if [ -e "${B_PTEST}/tests/auto" ]; then
install -d ${D}${PTEST_PATH}/tests
cp -r ${B_PTEST}/tests/auto ${D}${PTEST_PATH}/tests
fakeroot python do_create_ptest_list() {
import json, os, subprocess
# remove build files
find ${D}${PTEST_PATH}/tests \
\( -wholename "*/.*" -o -wholename "*autogen*" -o -iwholename "*cmake*" -o -name Makefile \) \
-delete
builddir = d.getVar('B_PTEST')
ptest_path = d.getVar('PTEST_PATH')
try:
command_output = subprocess.check_output(['ctest', '--show-only=json-v1'], cwd=builddir, text=True)
except subprocess.CalledProcessError as e:
bb.fatal('Could not get list of tests: {e.output}')
for f in $(find ${D}${PTEST_PATH} -name tst_* -executable); do
test=${f##${D}${PTEST_PATH}/}
testdir=$(dirname ${test})
# tests may depend on files from sources
if [ -e ${S}/${testdir} ]; then
cp -r ${S}/${testdir}/* ${D}${PTEST_PATH}/${testdir}
fi
echo ${test} >> ${D}${PTEST_PATH}/tst_list
done
fi
json_data = json.loads(command_output)
tests_data = json_data.get('tests', [])
output = d.getVar('D') + os.path.join(ptest_path, 'tst_list')
file = open(output, 'w')
for test in tests_data:
test_name = test.get('name')
working_directory = next((prop['value'] for prop in test.get('properties', []) if prop['name'] == 'WORKING_DIRECTORY'), None)
test_executable = os.path.normpath(os.path.join(working_directory,test_name))
if test_executable.startswith(builddir) and os.path.isfile(test_executable):
test_executable = test_executable.replace(builddir,ptest_path)
file.write(f'{test_executable}\n')
file.close()
}
addtask create_ptest_list after do_install_ptest_base before do_package
python () {
if not(d.getVar('PTEST_ENABLED') == "1"):
bb.build.deltask('do_create_ptest_list', d)
}
INSANE_SKIP:${PN}-ptest += "file-rdeps"
PACKAGESPLITFUNCS =+ "remove_ptest_debug"
remove_ptest_debug() {
if [ -e ${PKGD}${QT6_INSTALL_LIBDIR}/${BPN}/ptest/tests/auto ]; then
find ${PKGD}${QT6_INSTALL_LIBDIR}/${BPN}/ptest/tests/auto -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,14 +1,5 @@
inherit srcrev-update
include recipes-qt/qt6/qt6-ptest.inc
PACKAGECONFIG[examples] = "-DQT_BUILD_EXAMPLES=ON,-DQT_BUILD_EXAMPLES=OFF,"
PACKAGECONFIG[tests] = "-DQT_BUILD_TESTS=ON,-DQT_BUILD_TESTS=OFF,"
# For qmake projects
EXTRA_QMAKEVARS_PRE += "${@bb.utils.contains('PACKAGECONFIG', 'examples', 'QT_BUILD_PARTS+=examples', 'QT_BUILD_PARTS-=examples', d)}"
EXTRA_QMAKEVARS_PRE += "${@bb.utils.contains('PACKAGECONFIG', 'tests', 'QT_BUILD_PARTS+=tests', 'QT_BUILD_PARTS-=tests', d)}"
# If Qt6 (qtbase) is machine specific, then everything will be,
# because the (initial) qtbase configuration becomes part of Qt5/qmake
python __anonymous() {
@ -32,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"
@ -87,8 +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_ARCHDATADIR}/sbom \
${QT6_INSTALL_MKSPECSDIR} \
${QT6_INSTALL_QMLDIR}/*.qmltypes \
${QT6_INSTALL_QMLDIR}/*/*.qmltypes \
@ -121,10 +108,3 @@ FILES:${PN}-staticdev += " \
${QT6_INSTALL_QMLDIR}/*/*/*/objects*/ \
${QT6_INSTALL_QMLDIR}/*/*/*/*/objects*/ \
"
# Note: INSTALL_EXAMPLESDIR is not used
FILES:${PN}-examples = " \
${QT6_INSTALL_EXAMPLESDIR} \
${prefix}/examples \
"
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,24 +11,29 @@ 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:libc-musl = " libexecinfo"
RDEPENDS:${PN}:class-target = "libcrypto ${PN}-tools"
PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'multi-process', '', d)}"
EXTRA_OECMAKE += "-DQT_APPMAN_SKIP_EXCLUDE_TOOLS_FROM_DEFAULT_TARGET=ON"
PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'multi-process bubblewrap', '', d)}"
PACKAGECONFIG[tools-only] = "-DFEATURE_am_tools_only=ON, -DFEATURE_am_tools_only=OFF"
PACKAGECONFIG[multi-process] = "-DFEATURE_am_multi_process=ON, -DFEATURE_am_multi_process=OFF, qtwayland 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}"
FILES:${PN}-tools = "\
${QT6_INSTALL_BINDIR}/appman-package-server* \
${QT6_INSTALL_BINDIR}/appman-packager* \
${QT6_INSTALL_BINDIR}/appman-dumpqmltypes* \
${QT6_INSTALL_BINDIR}/appman-qmltestrunner* \
"
BBCLASSEXTEND = "nativesdk native"
INSANE_SKIP:${PN}-ptest += "buildpaths"

View File

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

View File

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

View File

@ -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,25 +7,28 @@ 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
include recipes-qt/qt6/conan.inc
SRC_URI += "\
file://0001-Add-linux-oe-g-platform.patch \
file://0002-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch \
file://0003-Add-OE-specific-specs-for-clang-compiler.patch \
file://0004-Fix-qt.toolchain.cmake-for-SDK-use.patch \
file://0005-testlib-don-t-track-the-build-or-source-directories.patch \
"
SRC_URI:append:class-native = "\
file://0002-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch \
"
DEPENDS += "\
patchelf-native \
@ -34,18 +38,17 @@ DEPENDS += "\
DEPENDS:remove:class-native = "qtbase-native"
RDEPENDS_${PN}:remove:class-native = "libssl-native"
RRECOMMENDS:${PN}:append:class-target = " locale-base-c"
RRECOMMENDS:${PN}:append:libc-glibc:class-target = " locale-base-c"
RRECOMMENDS:${PN}-ptest:append = " tzdata"
PACKAGECONFIG:class-native ?= "\
gui widgets jpeg png dbus no-opengl openssl zlib zstd \
${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'qtwaylandscanner', '', d)} \
"
PACKAGECONFIG:class-nativesdk ?= "${PACKAGECONFIG:class-native}"
PACKAGECONFIG ?= "\
${PACKAGECONFIG_DEFAULT} \
${PACKAGECONFIG_GRAPHICS} \
${PACKAGECONFIG_X11} \
${PACKAGECONFIG_KDE} \
${PACKAGECONFIG_FONTS} \
${PACKAGECONFIG_SYSTEM} \
${PACKAGECONFIG_DISTRO} \
@ -53,17 +56,21 @@ PACKAGECONFIG ?= "\
PACKAGECONFIG_GRAPHICS ?= "\
${@bb.utils.filter('DISTRO_FEATURES', 'vulkan', d)} \
${@bb.utils.filter('DISTRO_FEATURES', 'wayland', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', \
bb.utils.contains('DISTRO_FEATURES', 'x11', 'gl', 'kms gbm gles2 eglfs', d), 'no-opengl linuxfb', 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 ?= ""
PACKAGECONFIG_DEFAULT ?= "\
accessibility \
${@bb.utils.contains_any('DISTRO_FEATURES', 'x11 wayland', 'accessibility-atspi-bridge', '', d)} \
dbus \
fontconfig \
glib \
@ -73,6 +80,7 @@ PACKAGECONFIG_DEFAULT ?= "\
jpeg \
libinput \
${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', 'use-gold-linker', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-lld', 'use-lld-linker', '', d)} \
openssl \
png \
udev \
@ -81,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"
@ -91,18 +100,20 @@ 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)}"
# at-spi bridge requires XCB currently
ACCESSIBILITY_DEPENDS = "${@bb.utils.contains("DISTRO_FEATURES", "x11", "at-spi2-core", "", 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"
PACKAGECONFIG[cups] = "-DFEATURE_cups=ON,-DFEATURE_cups=OFF,cups"
PACKAGECONFIG[dbus] = "-DFEATURE_dbus=ON,-DFEATURE_dbus=OFF,dbus"
@ -115,20 +126,22 @@ PACKAGECONFIG[glib] = "-DFEATURE_glib=ON,-DFEATURE_glib=OFF,glib-2.0"
PACKAGECONFIG[icu] = "-DFEATURE_icu=ON,-DFEATURE_icu=OFF,icu"
PACKAGECONFIG[journald] = "-DFEATURE_journald=ON,-DFEATURE_journald=OFF,systemd"
PACKAGECONFIG[lttng] = "-DFEATURE_lttng=ON,-DFEATURE_lttng=OFF,lttng-ust"
PACKAGECONFIG[ctf] = "-DFEATURE_ctf=ON,-DFEATURE_ctf=OFF"
# gui
PACKAGECONFIG[gui] = "-DFEATURE_gui=ON,-DFEATURE_gui=OFF"
PACKAGECONFIG[accessibility] = "-DFEATURE_accessibility=ON,-DFEATURE_accessibility=OFF,${ACCESSIBILITY_DEPENDS}"
PACKAGECONFIG[accessibility] = "-DFEATURE_accessibility=ON,-DFEATURE_accessibility=OFF"
PACKAGECONFIG[accessibility-atspi-bridge] = "-DFEATURE_accessibility_atspi_bridge=ON,-DFEATURE_accessibility_atspi_bridge=OFF,at-spi2-core"
PACKAGECONFIG[directfb] = "-DFEATURE_directfb=ON,-DFEATURE_directfb=OFF,directfb"
PACKAGECONFIG[fontconfig] = "-DFEATURE_fontconfig=ON,-DFEATURE_fontconfig=OFF,fontconfig"
PACKAGECONFIG[gbm] = "-DFEATURE_gbm=ON,-DFEATURE_gbm=OFF,virtual/libgbm"
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"
@ -136,6 +149,8 @@ PACKAGECONFIG[no-opengl] = "-DINPUT_opengl=no"
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"
@ -166,10 +181,13 @@ EXTRA_OECMAKE:append:class-target = "\
-DFEATURE_rpath=OFF \
-DFEATURE_relocatable=OFF \
-DQT_QPA_DEFAULT_PLATFORM=${QT_QPA_DEFAULT_PLATFORM} \
-DQT_NO_GENERATE_QMAKE_WRAPPER_FOR_TARGET=ON \
"
EXTRA_OECMAKE:append:mingw32 = "\
-DQT_GENERATE_WRAPPER_SCRIPTS_FOR_ALL_HOSTS=ON \
-DFEATURE_stack_protector=OFF \
-DFEATURE_dnslookup=OFF \
"
SYSROOT_DIRS += "${QT6_INSTALL_MKSPECSDIR}"
@ -188,6 +206,11 @@ do_install:append() {
rm -f ${D}${QT6_INSTALL_MKSPECSDIR}/features/uikit/device_destinations.sh
rm -f ${D}${QT6_INSTALL_MKSPECSDIR}/features/data/mac/objc_namespace.sh
if [ -e ${D}${QT6_INSTALL_EXAMPLESDIR}/corelib/serialization/cbordump/cbortag.py ]; then
sed -i ${D}${QT6_INSTALL_EXAMPLESDIR}/corelib/serialization/cbordump/cbortag.py \
-e 's|/bin/env|/usr/bin/env|'
fi
# remove unneeded files that contains reference to TMPDIR [buildpaths]
rm -f ${D}${QT6_INSTALL_BINDIR}/host-*
rm -f ${D}${QT6_INSTALL_BINDIR}/target_qt.conf
@ -195,13 +218,16 @@ do_install:append() {
install -d ${D}${datadir}/cmake/OEToolchainConfig.cmake.d
RELPATH=${@os.path.relpath(d.getVar('prefix'), d.getVar('datadir') + '/cmake/OEToolchainConfig.cmake.d')}
cat > ${D}${datadir}/cmake/OEToolchainConfig.cmake.d/OEQt6Toolchain.cmake <<EOF
get_filename_component(QT_HOST_PATH "\${CMAKE_CURRENT_LIST_DIR}/${RELPATH}" ABSOLUTE CACHE)
get_filename_component(QT_HOST_PATH "\${CMAKE_CURRENT_LIST_DIR}/$RELPATH" ABSOLUTE CACHE)
set(QT_BUILD_INTERNALS_NO_FORCE_SET_INSTALL_PREFIX ON CACHE BOOL "")
EOF
RELPATH="${@os.path.relpath(d.getVar('bindir'), d.getVar('QT6_INSTALL_BINDIR'))}"
sed -i ${D}${QT6_INSTALL_BINDIR}/* \
-i ${D}${QT6_INSTALL_LIBEXECDIR}/* \
-e "s|cmake_path=${RECIPE_SYSROOT_NATIVE}.*cmake|cmake_path=%script_dir_path%/$RELPATH/cmake.exe|" \
-e "s|${RECIPE_SYSROOT_NATIVE}.*cmake|\$script_dir_path/$RELPATH/cmake|"
RELPATH="${@os.path.relpath(d.getVar('bindir'), d.getVar('QT6_INSTALL_LIBEXECDIR'))}"
sed -i ${D}${QT6_INSTALL_LIBEXECDIR}/* \
-e "s|cmake_path=${RECIPE_SYSROOT_NATIVE}.*cmake|cmake_path=%script_dir_path%/$RELPATH/cmake.exe|" \
-e "s|${RECIPE_SYSROOT_NATIVE}.*cmake|\$script_dir_path/$RELPATH/cmake|"
@ -232,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

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

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

@ -12,10 +12,9 @@ LIC_FILES_CHKSUM = " \
inherit qt6-cmake
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-lts.inc
include recipes-qt/qt6/qt6.inc
DEPENDS += "qtbase qtdeclarative qtdeclarative-native"
DEPENDS += "qtbase"
PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez', '', d)}"
PACKAGECONFIG[bluez] = "-DFEATURE_bluez=ON,-DFEATURE_bluez=OFF,bluez5"

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,7 +9,6 @@ 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"

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

View File

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

View File

@ -1,11 +1,18 @@
LICENSE = "GPL-3.0-only | The-Qt-Company-Commercial"
LIC_FILES_CHKSUM = "file://LICENSE.GPL3;md5=d32239bcb673463ab874e80d47fae504"
LICENSE = "The-Qt-Company-Commercial | (GPL-3.0-only & Qt-GPL-exception-1.0) & (LGPL-3.0-only | GPL-2.0-only | GPL-3.0-only) & GFDL-1.3-no-invariants-only & BSD-3-Clause"
LIC_FILES_CHKSUM = " \
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
file://LICENSES/GFDL-1.3-no-invariants-only.txt;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
file://LICENSES/GPL-2.0-only.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
file://LICENSES/GPL-3.0-only.txt;md5=d32239bcb673463ab874e80d47fae504 \
file://LICENSES/LGPL-3.0-only.txt;md5=e6a600fd5e1d9cbde2d983680233ad02 \
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
file://LICENSES/Qt-GPL-exception-1.0.txt;md5=9a13522cd91a88fba784baf16ea66af8 \
"
inherit qt6-cmake
include recipes-qt/qt6/qt6.inc
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

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

View File

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

View File

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

View File

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

View File

@ -11,11 +11,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 qtgrpc-native protobuf protobuf-native"
PACKAGECONFIG[examples] = "-DQT_BUILD_EXAMPLES=ON,-DQT_BUILD_EXAMPLES=OFF,qtdeclarative qtdeclarative-native"
PACKAGECONFIG ?= "qml"
PACKAGECONFIG[qml] = "-DFEATURE_grpcquick=ON,-DFEATURE_grpcquick=OFF,qtdeclarative qtdeclarative-native"
BBCLASSEXTEND = "native nativesdk"
INSANE_SKIP:${PN}-ptest += "buildpaths"

View File

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

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

View File

@ -1,22 +1,20 @@
LICENSE = "The-Qt-Company-Commercial | (GPL-3.0-only & Qt-GPL-exception-1.0) & (LGPL-3.0-only | GPL-2.0-only | GPL-3.0-only) & GFDL-1.3-no-invariants-only"
LICENSE = "The-Qt-Company-Commercial | GPL-3.0-only & (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 \
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 ?= "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

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

View File

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

View File

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

View File

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

View File

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

View File

@ -11,61 +11,20 @@ LIC_FILES_CHKSUM = " \
inherit qt6-cmake
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-lts.inc
include recipes-qt/qt6/qt6.inc
# Default build and package these
REFERENCE_API ?= "1"
SIMULATION_SUPPORT ?= "1"
include ${@bb.utils.contains('SIMULATION_SUPPORT', '1', 'qtinterfaceframework.inc', '', d)}
FILES:${PN}-dev += " \
${QT6_INSTALL_DATADIR}/ifcodegen-templates \
"
PACKAGE_BEFORE_PN =+ "${PN}-refapi-media"
FILES:${PN}-refapi-media = "\
${QT6_INSTALL_LIBDIR}/libQt6IfMedia.so.* \
${QT6_INSTALL_LIBDIR}/qml/QtInterfaceFramework/Media \
"
PACKAGE_BEFORE_PN =+ "${PN}-refapi-vehiclefuntions"
FILES:${PN}-refapi-vehiclefuntions = "\
${QT6_INSTALL_LIBDIR}/libQt6IfVehicleFunctions.so.* \
${QT6_INSTALL_LIBDIR}/qml/QtInterfaceFramework/VehicleFunctions \
"
DEPENDS += "qtbase qtdeclarative qtdeclarative-native qtinterfaceframework-native"
PRIVATE_LIBS:${PN}-examples = "libInstrumentCluster.so"
PACKAGECONFIG ?= "ifcodegen remoteobjects"
PACKAGECONFIG:append:class-native = " host-tools-only"
PACKAGECONFIG:append:class-nativesdk = " host-tools-only"
PACKAGECONFIG ?= "ifcodegen remoteobjects interfaceframework \
${PACKAGECONFIG_REFERENCE_API} \
${PACKAGECONFIG_SIMULATION} \
"
PACKAGECONFIG[taglib] = "-DFEATURE_taglib=ON,-DFEATURE_taglib=OFF,taglib"
PACKAGECONFIG[host-tools-only] = "-DFEATURE_host_tools_only=ON,-DFEATURE_host_tools_only=OFF"
PACKAGECONFIG[ifcodegen] = "-DFEATURE_ifcodegen=ON,-DFEATURE_ifcodegen=OFF,python3-qface,python3-qface"
PACKAGECONFIG[remoteobjects] = "-DFEATURE_remoteobjects=ON,-DFEATURE_remoteobjects=OFF,qtremoteobjects qtremoteobjects-native"
#interfaceframework only
PACKAGECONFIG[interfaceframework] = "-DFEATURE_interfaceframework=ON,-DFEATURE_interfaceframework=OFF"
# reference API's
PACKAGECONFIG[ifmedia] = "-DFEATURE_ifmedia=ON,-DFEATURE_ifmedia=OFF,qtmultimedia"
PACKAGECONFIG[ifvehiclefunctions] = "-DFEATURE_ifvehiclefunctions=ON,-DFEATURE_ifvehiclefunctions=OFF"
PACKAGECONFIG_REFERENCE_API ?= "${@bb.utils.contains('REFERENCE_API', '1', 'ifvehiclefunctions ifmedia taglib', '', d)}"
# simulation support
PACKAGECONFIG[no-media-simulation] = "-DFEATURE_media_qtro_backend=OFF -DFEATURE_media_qtro_simulation_server=OFF -DFEATURE_media_simulation_backend=OFF -DFEATURE_tuner_simulation_backend=OFF"
PACKAGECONFIG[no-vehiclefuntions-simulation] = "-DFEATURE_vehiclefunctions_qtro_backend=OFF -DFEATURE_vehiclefunctions_qtro_simulation_server=OFF -DFEATURE_vehiclefunctions_simulation_backend=OFF"
PACKAGECONFIG_SIMULATION ?= "${@bb.utils.contains('SIMULATION_SUPPORT', '1', '', 'no-media-simulation no-vehiclefuntions-simulation', d)}"
PACKAGECONFIG:class-native ??= "interfaceframework ifcodegen host-tools-only remoteobjects"
PACKAGECONFIG:class-nativesdk ??= "${PACKAGECONFIG:class-native}"
BBCLASSEXTEND = "native nativesdk"

View File

@ -1,19 +1,19 @@
LICENSE = "The-Qt-Company-Commercial | (GPL-3.0-only & Qt-GPL-exception-1.0) & (LGPL-3.0-only | GPL-2.0-only | GPL-3.0-only) & GFDL-1.3-no-invariants-only"
LICENSE = "The-Qt-Company-Commercial | GPL-3.0-only & (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"
BBCLASSEXTEND = "native nativesdk"
INSANE_SKIP:${PN}-ptest += "buildpaths"

View File

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

View File

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

View File

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

View File

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

@ -16,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"
@ -26,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"

View File

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

View File

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

View File

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

@ -1,12 +1,16 @@
LICENSE = "(The-Qt-Company-Commercial | (GPL-3.0-only & Qt-GPL-exception-1.0) & (LGPL-3.0-only | GPL-2.0-only | GPL-3.0-only) & GFDL-1.3-no-invariants-only) & BSD-3-Clause & CC-BY-SA-4.0 & CC0-1.0 & MIT & MPL-2.0"
LICENSE = "(The-Qt-Company-Commercial | GPL-3.0-only & (LGPL-3.0-only | GPL-2.0-only | GPL-3.0-only) & GFDL-1.3-no-invariants-only) & BSD-3-Clause & CC-BY-SA-4.0 & CC0-1.0 & MIT & MPL-2.0"
LIC_FILES_CHKSUM = " \
file://LICENSES/Apache-2.0.txt;md5=b4c615f64dff32f71eeed614d13dfd4c \
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
file://LICENSES/CC0-1.0.txt;md5=65d3616852dbf7b1a6d4b53b00626032 \
file://LICENSES/CC-BY-SA-4.0.txt;md5=bb082061306cc1dc0afcd128f972d344 \
file://LICENSES/GFDL-1.3-no-invariants-only.txt;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
file://LICENSES/GPL-2.0-only.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
file://LICENSES/GPL-3.0-only.txt;md5=d32239bcb673463ab874e80d47fae504 \
file://LICENSES/LGPL-3.0-only.txt;md5=e6a600fd5e1d9cbde2d983680233ad02 \
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
file://LICENSES/Qt-GPL-exception-1.0.txt;md5=9a13522cd91a88fba784baf16ea66af8 \
file://LICENSES/MIT.txt;md5=3605d54ecceddcd50962eb89318779ec \
file://LICENSES/MPL-2.0.txt;md5=48a3fe23ed1353e0995dadfda05ffdb6 \
file://src/3rdparty/open62541/BSD-3-CLAUSE;md5=8647c60c0b1892cb8f30c8efd60b318f \
file://src/3rdparty/open62541/CC-BY-SA-4.0;md5=bb082061306cc1dc0afcd128f972d344 \
file://src/3rdparty/open62541/LICENSE-2.0.txt;md5=3b83ef96387f14655fc854ddc3c6bd57 \
@ -18,16 +22,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
PACKAGECONFIG ?= "qml"
PACKAGECONFIG ?= "qml open62541"
PACKAGECONFIG:class-native ?= ""
PACKAGECONFIG:class-nativesdk ?= ""
PACKAGECONFIG[qml] = ",,qtdeclarative qtdeclarative-native"
PACKAGECONFIG[open62541] = "-DFEATURE_open62541=ON,-DFEATURE_open62541=OFF,openssl"
# src/3rdparty/open62541.pri adds -Wno-format, causing following error
# because -Wformat-security cannot be used together with -Wno-format
# cc1: error: -Wformat-security ignored without -Wformat [-Werror=format-security]
SECURITY_STRINGFORMAT = ""
DEPENDS += "qtbase"
DEPENDS += "qtbase qtopcua-native"
BBCLASSEXTEND = "native nativesdk"

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

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