Commit Graph

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