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>
Add CI build target use clang compiler and lld linker.
Change-Id: Ie84a6155987e2ba742d81d52bde4f14e9ff1f8d0
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
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>
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>
Add recipe to build the qtcanvaspainter examples.
Task-number: QTBUG-141976
Change-Id: Ic49c3189e4eb5b929dc806b644253cd1d3ca0bae
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
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>
No longer needed for target builds.
Pick-to: 6.10 6.8
Change-Id: Idd5a0ebaabb37e353fd9861c6e57a3a85506b28d
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Add recipe to build the qttasktree examples.
Task-number: QTBUG-141685
Change-Id: I56c5fc87f248089bb2baf7da3ef20948a29c3d11
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
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>
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>
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>
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>
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>
This reverts commit a36b5a05b4.
Reason for revert: Available in all supported yocto branches
Change-Id: Ib7142ea73bed97e7385066ce20eb734633c17370
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
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>
This reverts commit 53005efcfc.
Build has been fixed.
Change-Id: I3109ea649d5d4580ab95374a42aaf9148c112e8e
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
qtapplicationmanager's bubblewrap feature cannot be enabled with static build.
Change-Id: I42c8d5c18c753a9801d8edbd3ea53354c302134c
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
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>
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>
Add temporary fix for building examples.
Pick-to: 6.10
Change-Id: Ib205f2793894322e957f806531086b6730a63569
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
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>
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>
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>
libtomcrypt enables password protection using DEC Authentication.
Change-Id: If1b37b1855950ab5cd6f49a8a6375578f0232304
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Use flite as the default speech engine for Qt Speech.
Change-Id: I7f130bd29012b1645ae941013ec020b9d9cabb09
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
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>
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>
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>
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>
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>
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>
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>
Update LIC_FILES_CHKSUM after SBOM related license changes in the modules.
Change-Id: I31bb429cc795326255e470ae5fd2c3eb081f523e
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Update the support table with Qt 6.9 details.
Pick-to: 6.9
Change-Id: Icd4884b04ca003008998cf7704fa3feedff6fa25
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
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>
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>
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>
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>
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>
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>
All examples are now in correct paths.
Pick-to: 6.8
Change-Id: I37a57e0674877c321ddacaf69af0b615f383ec07
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Update to a revision including fix for QTBUG-131300.
Change-Id: I78d44dbebe31bfa16f0ebc6aa961a76245c740da
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
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>
- 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>
Continue license changes from 92833a85e7,
more modules are affected.
Pick-to: 6.8
Change-Id: Ide2ea6f5c9d040c193a146964029241ce3531379
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
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>
The patch is now merged upstream.
Change-Id: Iece64a6f482d478521558c79e9ec06919107d4d0
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
(cherry picked from commit 3cef727dc8)
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>
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>
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>
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>
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>
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>
Update patch to cover another example that track buildpaths.
Pick-to: 6.8
Change-Id: I1632475346dfa0ff4e9e531a5001af81153b19df
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Latest yocto turns missing Upstream-Status to be a build error
Change-Id: Ia63f38d3148d223c3c2367d209dfcbfbd2173634
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
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>
Add pending patch & flag to address appman tools
issue following 5fc4b8a36c02c601a6fabf2b393a93ed1f387de9.
Change-Id: Ic74d8929570a02fbcfc6e15931fb8f81bcea646e
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
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>
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>
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>
SPDX license changes were applied on the module.
Pick-to: 6.8
Change-Id: I53f2d2d756330e24c9073dcaefae53c6ef8e3271
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
SPDX license changes were applied on the module.
Pick-to: 6.8
Change-Id: Id41c227a182c158801398e28b571c8f96196e2e2
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
HPND_LICENSE.txt location got moved a bit.
Pick-to: 6.8
Change-Id: I2e51e6b381ddb67dd16489fa743c1c4e84d06bad
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
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>
Change-Id: If9f1a03d8e41253b218af9f1945039d05331e152
Reviewed-by: Alex Bu <alex.bu@qt.io>
(cherry picked from commit e7c1f03660)
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
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>
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>
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>
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>
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>
This reverts commit 82fac6f29a.
Original issue has been resolved.
Change-Id: Icf547207762fc78a4df28d175772c0f8936f1cac
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
More memory is needed for the testimage that runs Qt ptests.
Change-Id: I28f186cfae847261a5ae2b47091900da446c61dd
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
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>
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>
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>
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>
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>
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>
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>
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>
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>
After qtbase change 62905163bf887c2c2c9ba7edcd64c96d237a6e95, we need
to disable examples for the ptest build.
Change-Id: Ib6787b6e0f1ab17d3fa93ec7c4f98d92053f1ff2
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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)
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>
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>
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>
The simulation and reference api implementations were removed from
qtinterfaceframework module.
Change-Id: Iff7bcd4591d0e8955d2a96aa8fe31f2af103a0cb
Reviewed-by: Dominik Holland <dominik.holland@qt.io>
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>
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>
Assimp is now updated to version that has the patch applied.
Change-Id: Ib33974d44ada36f79d73f81689fb91cd6d94a355
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
QtGraphs no longer requires opengl to work.
Pick-to: 6.6
Change-Id: I03e166dc2d4265b74156f17d56ba4e20bc180bfd
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
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>
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>
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>
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>
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>
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>
This reverts commit fd946afc0a.
Fix was merged in qtbase.
Change-Id: I16c05ad1f681a8a92b83c2bad6aa69de8ab2e35f
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
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>
oe-core as switched to nanbield.
Pick-to: 6.6 6.5
Change-Id: Iebc445cea81d1449f0564f036787c44ba6aa8a87
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
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>
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>
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>
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>
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>
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>
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>
Dunfell is no longer supported, remove unneeded bbappend.
Change-Id: I1249fd9cd6e2344216f225c2aa9e68b65834a9e6
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
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>
sqlite3 is too old for the current code in qtbase.
Change-Id: I53d31b8d247590a45bf20971758be31f3404629e
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
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>
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>
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>
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>
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>
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>
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>
meta-qt6 plans to use conan have not materialized
Change-Id: I038dcf17729e4706f5319ddd3e0f33d4a5facc2d
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
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>
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>
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
154 changed files with 1928 additions and 1231 deletions
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:
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.