Commit Graph

934 Commits

Author SHA1 Message Date
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