Commit Graph

872 Commits

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