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>
Add PACKAGECONFIG options for gold and bfd linkers so that they can
be easily changed independently of the ld-is-gold DISTRO_FEATURE.
For CI builds, drop ld-is-gold feature and instead enable gold only
for Qt modules.
Pick-to: 6.5
Change-Id: I63e3835f15c732f57740b6718245e4f45ddb6c8c
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Qt expects to have UTF-8 locale available. If the current locale
is not UTF-8, Qt will try to use C.UTF-8 locale. Make that available
by adding RRECOMMENDS to locale-base-c package.
Task-number: QTBUG-113371
Pick-to: 6.5 6.2
Change-Id: I48f18488413168afbeffddb9eac58985d1b8a988
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
* fixes:
http://errors.yoctoproject.org/Errors/Details/704200/
qt3d/6.5.0-r0/git/src/3rdparty/assimp/src/code/AssetLib/FBX/FBXBinaryTokenizer.cpp:475:61: error: 'uint32_t' is not a member of 'std'; did you mean 'wint_t'?
475 | if (!is64bits && (length > std::numeric_limits<std::uint32_t>::max())) {
| ^~~~~~~~
| wint_t
Pick-to: 6.5
Change-Id: I503f18ae93a24fe08b66827b4ab2dc5b7562819a
Reviewed-by: Martin Jansa <Martin.Jansa@gmail.com>
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
Set up the BBFILES_DYNAMIC variable to include meta-python and move all
python recipes to the corresponding dynamic-layers directory. This
prevents failures to parse recipes if meta-python is not available.
Pick-to: 6.5
Fixes: QTBUG-113712
Change-Id: If26668e8d901c89be8527ff3951a00d739a89372
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
If LibTomCrypt is available, Qt VNC Server will be built with support
for password protection using DEC Authentication.
Pick-to: 6.5
Change-Id: Id866d1facbbff0a50c39fe2e440e64e3cca8a579
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
This reverts commit 0300ccc33f.
Reason for revert: available upstream
Change-Id: I1e9f1257cfc50d412d2e4c2f2b018b1ea596e890
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
Add (upstream pending) patch to fix build issue in the module:
"error: format not a string literal and no format arguments [-Werror=format-security]
| 194 | QTest::addRow(rus.id().constData())"
Change-Id: I4cedc32cca000fc217e88a8a832c258e60a0cb4f
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
Refresh patches to fix build after latest submodule update.
Change-Id: I7f4e5d05287af89332b104b5a74f7ea93d049baa
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
(cherry picked from commit c97feb4696)
Enable workaround for the sanity check of allarch packagegroups
which caused
ERROR: nativesdk-packagegroup-qt6-toolchain-host-essentials-1.0-r0
do_package_write_rpm: An allarch packagegroup shouldn't depend on
packages which are dynamically renamed (nativesdk-qttools-dev
to nativesdk-libqt6uitools-dev)
Nativesdk changes the PACKAGE_ARCH correctly, but it cannot be
inherited first because that would throw another sanity warning.
Pick-to: 6.5 6.2
Fixes: QTBUG-113178
Change-Id: Ifd77ef76f37b9fe39ef38adcc28c87130bf6d6d4
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
QtGraphs has hard dependency to opengl, don't include it in packagegroup
unless DISTRO_FEATURE is enabled.
Change-Id: I86ea98c7dd70d25ba20b348681e3c17e782c9576
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Remove separate dmabuf PACKAGECONFIGs and let qtwayland
enable all client buffer integration plugins it can.
Task-number: QTBUG-112725
Pick-to: 6.5
Change-Id: Ic841f3349fee36e5207d9b60e5733ac8ee79ee56
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Qt Graphs for data visualization will be replacement for Qt Datavis 3D.
Fixes: QTBUG-112806
Change-Id: I63e5c746a1e79c14a7e203800d60401497e5bb0d
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
oe-core renamed its internal variable, set both old and new variable
to work with old and new versions of oe-core.
Pick-to: 6.5
Change-Id: I90293c6d37c3ca5d5d82d67e1269afa2b12f1d89
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
* all rdepends are skipped without Commercial Qt, make sure the
packagegroup is skipped as well
* fixes:
ERROR: Nothing RPROVIDES 'qmlcompilerplus' (but meta-qt6/recipes-qt/packagegroups/packagegroup-qt6-commercial-modules.bb RDEPENDS on or otherwise requires it)
qmlcompilerplus was skipped: Available only with Commercial Qt
NOTE: Runtime target 'qmlcompilerplus' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['qmlcompilerplus']
ERROR: Nothing RPROVIDES 'qtvncserver' (but meta-qt6/recipes-qt/packagegroups/packagegroup-qt6-commercial-modules.bb RDEPENDS on or otherwise requires it)
qtvncserver was skipped: Available only with Commercial Qt
NOTE: Runtime target 'qtvncserver' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['qtvncserver']
Pick-to: 6.5 6.4
Change-Id: I373c034989a643b5e95f84deb5130580201eddea
Reviewed-by: Martin Jansa <Martin.Jansa@gmail.com>
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
Add python-html5lib to the SDK only if openembedded layer is available.
Pick-to: 6.5
Change-Id: I381382c355e2834c2aadd5976e59007be0549ac9
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Some components use also base name in NVD CVE database product:
| sqlite> select * from products where product like 'qtbase';
| CVE-2019-18281|qt|qtbase|5.11.0|>=|5.11.3|<=
| CVE-2019-18281|qt|qtbase|5.12.0|>=|5.12.5|<
| sqlite> select * from products where product like 'qtsvg';
| CVE-2021-45930|qt|qtsvg|5.0.0|>=|5.15.2|<=
| CVE-2021-45930|qt|qtsvg|6.0.0|>=|6.2.1|<=
Pick-to: 6.5 6.4 6.2
Change-Id: Ic8cbc59522731f49907e10bf08c6a00a213ae006
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
Dunfell is only branch that still uses the old whitelist variable.
Rename the include file and be specific what commercial recipes the
build needs. Remove the separate post-inclusive include file and move
the accepted commercial license variable to common include file.
Pick-to: 6.5
Change-Id: Ic80b42d71037637298c805a60f20c8737f00b026
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
This reverts commit 8673fed36e.
Fix has been merged in qtbase.
Change-Id: I76080c148d29090254d5be613469ac48532031c7
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
QtSpeech now has hard dependency to QtMultimedia.
Change-Id: I61e2d73c004b225678c040c0096c38c2ea8597a7
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
This reverts commit 36006c9897.
CMake configuration was fixes in qtbase.
Change-Id: I036e1045a4ea79a864a02afe81e7e477d23a7a86
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
This is required by qtwebenigne to be compiled with sdk.
Pick-to: 6.5
Change-Id: I0053ca241c1b60b60edbc99f0830434a1d95f92d
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
Git clones from google fail frequently with:
>> fatal: early EOF
>> error: index-pack died
Switch to using github mirror for the git-repo repository.
Pick-to: 6.5 6.5.0 6.4 6.4.3 6.2
Change-Id: Id0cbf3c59e50869d62880e56251b003490c4c1ee
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
QtMultimedia provides gstreamer and ffmpeg backends where ffmepg is the
default backend. Add configuration that allows changing the default
backend and make gstreamer the default one.
Pick-to: 6.5
Change-Id: I1d9f8916508ddf11c1ef2908543d77e12acdf0bc
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Change the CI dependencies so that we always get the VM configurations
from the qt5.git dev branch. This makes sure that all Yocto builds,
regardless of the Qt version, are using the same host VM version.
Pick-to: 6.5 6.4 6.2
Change-Id: Iceb5ca006b8d83ed636d59566a115d64d3919e38
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Posix shared memory feature depends on librt which is used from
uninative package in native build. CMake doesn't find it there,
which breaks the build. Workaround this by disabling the feature.
Task-number: QTBUG-111049
Change-Id: I68ab6fd2f4d0520f125dd8e3c13266477dfc26c1
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
The protobuf fix is now available in meta-openembedded.
Pick-to: 6.5
Change-Id: I83e911b64cf35767af22b76c19ea27ce818e300a
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Most targets can already use the kms/gbm platform plugins, so enabled
them by default. Targets that don't provide them can override the
PACKAGECONFIG_GRAPHICS to define which graphic backend they support.
Pick-to: 6.5
Change-Id: I85b310608772884134a63138781aad9fa1220110
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Add a global variable that can be used whenever meta-qt6 layer is
included in the build to identify the Qt version.
Pick-to: 6.5 6.4 6.2
Change-Id: I3d40d151e0be9f9123d2bf7cbe34a44861e7b093
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
Add fix for protobuf so that we can build and include nativesdk-qtgrpc
in the toolchain. The protobuf fix has been merged in meta-openembedded
master, but not in langdale.
Pick-to: 6.5
Change-Id: I37a90e1a79d64a8154ab6fb510a9d8d5cf6d26c5
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
A new catalogs.json file is created for deployment purposes.
Include it a dev package.
Change-Id: I2e28c9ee886d8f09a79c5f13cf38e47cb2dc81f0
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
(cherry picked from commit b6928361f7)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Both xkbcommon (for keyboard handling) and glib (for eventloop)
are useful also without X11. Move them to default PACKAGECONFIGs.
Pick-to: 6.5
Change-Id: Ib298a0916d781fd11c0e4ad53dc642734d60ca3b
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
Qt might be using different path to libs.
Pick-to: 6.5 6.4 6.2
Change-Id: Iaf0721af1c5e74cd293437cb35c287bd820fa3a5
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
Some of the scripts were moved to libexec dir, which must also
be patched.
Pick-to: 6.5
Change-Id: I2099f61f8dbdf8d4eed010de146f18146585a40e
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
The ffmpeg backend is now the default backend for qtmultimedia.
Environment variable QT_MEDIA_BACKEND can used at runtime to
selected between the ffmpeg and gstreamer backends.
Pick-to: 6.5
Change-Id: I751737fd7adaeeceb58e889765435750f3c3f274
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Keep the SECURITY_CFLAGS set by Yocto builds also in the SKD's
CMake toolchain file. Instead remove only the fortify flags,
since they add unnecessary warnings when doing debug builds
with Qt Creator.
Pick-to: 6.5 6.4 6.2
Change-Id: Ia01f92f21c4f68b1be0d57f9a586a34acbe2333c
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Add support for using qmake directly from Yocto build sysroots
with following workflow:
bitbake meta-ide-support
bitbake build-sysroots
. ./tmp/deploy/images/qemuarm64/environment-setup-cortexa57-poky-linux
qmake & make
Use configurable sysroot paths in populate_qt6_sdk_base so that it can
be reused also for yocto build sysroots.
Fixes: QTBUG-108778
Pick-to: 6.5 6.4 6.2
Change-Id: Iee48f75edbc62e5adcca318a9f4cf17b7477f4a0
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
The qmake mkspec additions are used with the sdk when the toolchain
environment-setup script hasn't been run. Instead of adding those in
the sdk creation phase, do it already in the qtbase recipe.
Change the mkspec also so that CC/CXX has only the compiler executable,
but none of the compile flags that usually are there in Yocto builds.
This keeps Qt Creator happier as well.
Pick-to: 6.5 6.4 6.2
Task-number: QTCREATORBUG-27372
Change-Id: If27d595965df59ff9846f4c773469889a8480040
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
Latest harfbuzz 6.0.0 has bad cmake config that uses absolute paths,
which breaks static builds for Qt. Add workaroud that causes Qt
to use pkg-config to find correct paths for libs and includes.
From qtshadertools build:
ninja: error: '/usr/lib/libharfbuzz.so.0.60000.0', needed by
'lib/libQt6ShaderTools.a', missing and no known rule to make it
Pick-to: 6.5 6.4
Change-Id: I9f8bca0d4b9648e58c008e4064ff4f7b88f5f4f0
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Update/replace previous version update commit
35cf4c22b1, dev branch
is the future 6.6.
Change-Id: I7a57abbf64a5219271dc7fbf5a9fe84de1d038a3
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
Qt modules recently lost all their release branches in their git
repositories. This broke previous releases since bitbake validates
that SRCREV can be found from the current branch. Add additional
parameter to repo URI to stop bitbake from validating the SRCREV.
Pick-to: 6.4 6.4.2 6.2
Task-number: QTBUG-109319
Change-Id: Ib61164839fdbc5938a23b92ab03f3c07e945812f
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
The XComposite buffer sharing extensions have been removed from QtWayland.
Pick-to: 6.4
Change-Id: I681ad58338567f8666f812c5acea4a7bbf9a87f4
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
This reverts commit 676e6da41b.
Reason for revert: Patch included now in upstream chromium with latest submodule update.
Change-Id: Iec46fcf9bc0e89c53f5c61d19cceed88d639b412
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
QtgRPC module is Providing protobuf and gRPC support for Qt.
Cannot include nativesdk-qtgrpc in the sdk yet, since it requires
fix to protobuf recipe in meta-openembedded.
Task-number: QTBUG-107921
Change-Id: Ie5ef1b493b1b5550c7b7f308a638c9855342dfa5
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
QtLocation is back in Qt 6.5.
Task-number: QTBUG-108731
Change-Id: Id86ade02040d626ecadb6c35f173b3be25f02e97
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
Some of the modules have executables that are necessary for the
module to work properly. Don't put them into the *-tools package
which is not installed by default.
Task-number: QTBUG-99702
Change-Id: I7a9e8532862644574bd2bfb729e6efe466dac070
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Compile time tools are not generally needed on the target.
Don't force them by default, but make it possible to enable
them with QT_FORCE_BUILD_TOOLS = "ON".
Task-number: QTBUG-99702
Change-Id: If2d3ce9252213b28cc06efe0e9c5cfd57db81371
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Add new class that can be used to create toolchain containing
all available Qt modules.
Pick-to: 6.4 6.2
Change-Id: I84982749ea9093bbbd20f99391b063c4bcaee39f
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Update CI builds to use langdale instead of honister releases.
Pick-to: 6.4
Change-Id: Ib18be53b6d3308d5e4c5a2269b40ce67a4c352ee
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Printing support needs cups in cases when it's not already enabled
in qtbase.
Pick-to: 6.4 6.4.1 6.2
Change-Id: I5435bdd61b418f91524726571c9acd2cea92c729
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Enable jpeg support for qtbase-native, needed at least by shadergen.
To use system png, zlib needs to be enabled as well.
Pick-to: 6.4 6.2
Change-Id: I0bea658d689fb99596374701b11aa9ce028e882d
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
QtQuick3D's shadergen uses cache from user's home directory.
Disable the caching as it can lead to problems with pseudo.
Change-Id: I6b889fe94eb218d803ece49c9e0ca4ec18c3524a
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Add license mapping for GFDL-1.3-no-invariants-only to use the GFDL-1.3
license file in older Yocto releases. This recudes warnings for missing
generic licenses.
Pick-to: 6.4
Change-Id: I51d439515166214fb89f3af60680a77879709ec9
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
Build now require either patchelf or CMake to 3.21 or newer. To support
older Yocto version, add dependency to patchelf.
Change-Id: Id0ef1787e3da0f302d31a0ab3048155b661b64af
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Latest chromium no longer supports x86 builds.
Enabled spellchecker as build fails without it.
Change-Id: I6f40d48c20a47edbbc958e2f9c25907d05feb5b1
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit c1441fcabc)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
The XCB support now uses libxcb-cursor instead of Xlib/libXcursor.
The recipe is available in meta-openembedded, which now makes
it a mandatory layer for XCB support.
Task-number: QTBUG-67373
Change-Id: I40a1d100fd06aaeb31b3d4876de0ce6e7d836632
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
QtQuick3DPhysics has a new runtime tool that should be included
in the images.
Pick-to: 6.4
Change-Id: Ib6dd643217b1dea76ff42a48183f78427cc2eadf
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
This reverts commit 810f41bd6a.
The commit was been reverted in qtdeclarative, patch is no longer needed.
Change-Id: I26e13bb2c8c1b0e464cc69673df56833ea7a9985
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
(cherry picked from commit c6e8ab8bc6)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
After 812bf25183, we need to extend the
workaround for badly configured CMake also to qtbase-native. This fixes
error: CMake was not built with zstd support. Rebuild CMake or
set QT_AVOID_CMAKE_ARCHIVING_API=ON.
Fixes: WEBOSCI-54
Pick-to: 6.4 6.2
Change-Id: I33c97b1a051fe90d706461c83f75912aa1c1c820
Reviewed-by: Janne Juntunen <janne.juntunen@qt.io>
If simulation support is enabled, make sure the package gets installed
to the image and toolchain. CMake files have references to the plugins
which causes builds to fail if interfaceframework is used with the SDK.
Pick-to: 6.4 6.4.0 6.2
Change-Id: I7cf0fc334644ce38e783f6b7e21a7f5b082dacd0
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
Qml tools are now using --bare option, which limits where the tools
tries to find the qml modules. For the test builds, we again need to
use QT_ADDITIONAL_PACKAGES_PREFIX_PATH to tell the tools where to
find qml files for the Qt module we are currently building.
Task-number: QTBUG-106365
Change-Id: I6dfcd32f405475de0f58448cbaa7a19e26cbcfe8
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 63eeb3b83e)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Tests are build against the destination directory where qt module was
just installed. This causes extra files to be taken into source package
and adds references to the TMPDIR, which produces QA warnings from
buildpaths QA test. Use DEBUG_PREFIX_MAP to get rid of those paths.
Pick-to: 6.4 6.3 6.2
Task-number: QTBUG-105913
Change-Id: I01ed9261004410db307f2cd809a181377b734c9e
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
Testlib adds references to the build and source directories to tests,
which causes warnings on buildpaths QA test. Remove those references.
Pick-to: 6.4 6.3 6.2
Task-number: QTBUG-105913
Change-Id: Ic63e72a0b11bef55876ef5ca40d0c1d753243004
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
Reduce warnings from buildpaths QA test (contains reference to TMPDIR)
and remove few build utils that are not usable in bitbake build.
Run same do_install steps for all qtbase builds instead of keeping
separate ones for nativesdk.
Pick-to: 6.4 6.3 6.2
Change-Id: Id8a6c4c3b03a850bdb1f99e3a3a08973e134eafc
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Reduce warnings from buildpaths QA test (contains reference to TMPDIR)
by removing QMAKE_PRL_BUILD_DIR from prl files.
Pick-to: 6.4 6.3 6.2
Change-Id: I1a5fbac82c4a026b6ba41db3b0cca6a9fbf1e31a
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
If we stop forcing build of target tools, we then need to have
dependency to the native package.
Pick-to: 6.4 6.3 6.2
Change-Id: Ie5d9634ba4c85af877920e66fd88d36880af8afc
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Amend 0b55d8ec94 and remove the initial
host paths from CMake files. They point to the temporary build paths
and cause build breaks in declarative builds.
Pick-to: 6.4
Change-Id: I17d46b989f024e71ec617ff130c8ea7d7fc85641
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
After qtbase change 0f8017efb6d037c4f33f947eb3c56aeafa28313c, QT_HOST_PATH
is no longer set in qt.toolchain.cmake, but it was moved to Qt6 package
cmake files. Since the package is in target sysroot, we can no longer use
its location to determine the absolute path of the host sysroot. Instead,
resolve QT_HOST_PATH now in the CMake subscripts and use them also without
the environment-setup script from Qt6Toolchain.cmake.
Change-Id: I81d908321c0d05ab589b9340a62a45800e936252
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 0b55d8ec94)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Zlib is mandatory dependency, meaning if there is no system
one qt will do bundled one. This is important to
know which one is used as webengine will try to build also
bundled one.
Task-number: QTBUG-103149
Pick-to: 6.4 6.3 6.2
Change-Id: Ie7cc83dea558a5605295133fb0bf6fe0a3217492
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
Some lines from qt.toolchain.cmake.in were moved elsewhere, causing
the need to update meta-qt6's SDK patch to match these changes.
Pick-to: 6.4
Change-Id: I2b7ff9b6fa009e5a654f97ddd05541d5fa0e84ad
Reviewed-by: Janne Juntunen <janne.juntunen@qt.io>
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
rcc is using zstd to compress resources, so that needs be
enabled also in native and nativesdk builds.
Pick-to: 6.4 6.3 6.2
Change-Id: Ic10758eb41a67712e55b44bfec4d4385d0512f7e
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
WebEngine needs minizip which is part of zlib.Till now it always built
bundled zip as minizip recipe does not exist in poky and moreover this
was never a configurable feature as it was not in PACKAGECONFIG.
A change in https://codereview.qt-project.org/c/qt/qtwebengine/+/384262
enables compilation of bundled minizip against system zlib (by using
shim headers) however it is not advisable as those two version of zip
might be different and minizip is project wise a part of zlib.
Therefore introduce cheap rip off of zlib recipe, however
building minizip from same source tree.
Task-number: QTBUG-103149
Pick-to: 6.4 6.3 6.2
Change-Id: I1e36d2fba339fb5383018f05a6347c27dde0c8c1
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
Needs explicit dependency to qtquick3d-native if tools are not
built for the target.
Pick-to: 6.4
Change-Id: I999a946536a4f15620f10d60e5c3195a0d1f4b9b
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Remove patch that was used to disable tests failing to build with gold
linker. After qtbase commit 40c8bc42026a8cf118ab60920314d84856c397a6,
the long stanging issue with gold linker and qt_version_tag symbol [1]
seems to be resolved.
[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=842304
Pick-to: 6.4
Change-Id: I522b101929c99ebe35fcb6948be46c85b07eefd2
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
The fix was merged and patch is no longer needed.
Change-Id: I013e2077638fe692bf6f494b1e12115e3edaaa2a
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
The fix was merged and patch is no longer needed.
Change-Id: I27f8bf0497fbbf86a4e81b5ca5a1591b4a663cbc
Reviewed-by: Tarja Sundqvist <tarja.sundqvist@qt.io>
Update licenses after SPDX changes were applied to the module.
Change-Id: Ic6bf4edc58096483315835868ad096af526e8652
Reviewed-by: Tarja Sundqvist <tarja.sundqvist@qt.io>
Update licenses after SPDX changes were applied to the module.
Change-Id: Idb7f50c2c031a79ecf98a09e3da2883877498970
Reviewed-by: Tarja Sundqvist <tarja.sundqvist@qt.io>
(cherry picked from commit ad37ff1b6f)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Update licenses after SPDX changes were applied to the module.
Pick-to: 6.4
Change-Id: I275fa9e39923d69149f03844022cb86819cc61b6
Reviewed-by: Tarja Sundqvist <tarja.sundqvist@qt.io>
Dependency to the vulkan-loader need to be runtime to correctly
pull it into the image.
Pick-to: 6.4 6.3 6.2
Change-Id: I76be6de10d3515826e16b71444828a043c06970b
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
Update licenses after SPDX changes were applied to the module.
Pick-to: 6.4
Change-Id: Ic6ba168b88633f1cd065ecbba2172fbb7ecaafe6
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
Update licenses after SPDX changes were applied to the module.
Pick-to: 6.4
Change-Id: I5fba720fd55b7a5912e81617e3b25f40eed47da1
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
Update licenses after SPDX changes were applied to the module.
Pick-to: 6.4
Change-Id: I13fce8829bc236f698091980a65a1f67c9fa744c
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
Update licenses after SPDX changes were applied to the module.
Pick-to: 6.4
Change-Id: I5bc964f9a79e9110c0637420aefe705457667e7d
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
Update licenses after SPDX changes were applied to the module.
Pick-to: 6.4
Change-Id: I0425fded67a62c1737de6654c464397ba0baea39
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
Update licenses after SPDX changes were applied to the module.
Pick-to: 6.4
Change-Id: I1aa94166eb55e7ee520b487e0afdac8bfe7f1dcd
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
Update licenses after SPDX changes were applied to the module.
Pick-to: 6.4
Change-Id: Ib2321b761d2beea1af00a938ba3e6ae13ca15cb8
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
Update licenses after SPDX changes were applied to the module.
Pick-to: 6.4
Change-Id: Icb6a07db6930a979c42d75d8f78d559e4b74dd0a
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
Update licenses after SPDX changes were applied to the module.
Pick-to: 6.4
Change-Id: I6c3fc84c571251c0d7486cbd931238da121bb033
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
Update licenses after SPDX changes were applied to the module.
Pick-to: 6.4
Change-Id: I5f43b9640348d0ecc0b776a9daa84cf676f555e1
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
Update licenses after SPDX changes were applied to the module.
Pick-to: 6.4
Change-Id: I748c4fcede3a1f81de615f0e9ec8abb9d4b54c89
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
Update licenses after SPDX changes were applied to the module.
Pick-to: 6.4
Change-Id: I49a4bb02554fb04a7adcbe341e8979def7abb55d
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
Update licenses after SPDX changes were applied to the module.
Pick-to: 6.4
Change-Id: I6e89cd37b9e625e9265df489aee4a4823ad07153
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
Update licenses after SPDX changes were applied to the module.
Pick-to: 6.4
Change-Id: I79822babf5a84c1441cf18eae4a0ff3ff3f48600
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
Update licenses after SPDX changes were applied to the module.
Change-Id: Ia3bd214d4663d92cb34805bfd52ed3da5b2dc5c8
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit f822c52e4d)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Update licenses after SPDX changes were applied to the module.
Pick-to: 6.4
Change-Id: Id963fd430b495df58a45d470629a5e084463e9bb
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
Update licenses after SPDX changes were applied to the module.
Pick-to: 6.4
Change-Id: I34fd6e2735c8e261ee4197197ed9394d2c6d27cd
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
Update licenses after SPDX changes were applied to the module.
Pick-to: 6.4
Change-Id: Id044fe39314bb4dc8de4c5e1f865ac5d2d4ef91d
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
Update licenses after SPDX changes were applied to the module.
Pick-to: 6.4
Change-Id: Ie8d246b97b91e797a55d9f911ccf65d1feb70dac
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
Update licenses after SPDX changes were applied to the module.
Pick-to: 6.4
Change-Id: I40375be2197457f289ea5e2e739fab9f4836024c
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
Update licenses after SPDX changes were applied to the module.
Pick-to: 6.4
Change-Id: Iccae552890298c3737787ad099d7b667c1a2d1ad
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
Update licenses after SPDX changes were applied to the module.
Pick-to: 6.4
Change-Id: Icaca20c6999985f683952e9f61d1d864aed5ff5a
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
Update licenses after SPDX changes were applied to the module.
Pick-to: 6.4
Change-Id: I534587dd780686a568409cba61d8adb89fead3bb
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
Update licenses after SPDX changes were applied to the module.
Pick-to: 6.4
Change-Id: Iac7bf990ef97f3b42b404cf920d31310b205de9e
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
Update licenses after SPDX changes were applied to the module.
Pick-to: 6.4
Change-Id: I7a3df48d8c6b90ef77d60adae5204027b504d76f
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
Update licenses after SPDX changes were applied to the module.
Pick-to: 6.4
Change-Id: I45af0f2270b5fbb87dea87429da7893ebec7cf67
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
Update licenses after SPDX changes were applied to the module.
Pick-to: 6.4
Change-Id: Ieaa6420f62e9c6574b1cee762a6cecbb3bd023e1
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
Update licenses after SPDX changes were applied to the module.
Pick-to: 6.4
Change-Id: Ie787eed8c908ad98dae117f1edaf63cc643fc360
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
The default flags in TARGET_CFLAGS contain '-g' which matches
better to RELWITHDEBINFO build type than RELEASE. Don't define
any build type flags in the toolchain as CMake provides good
default values for each build type.
Pick-to: 6.4 6.3 6.2
Change-Id: I6493597f6becf774893386df952c72ab4f66ead2
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Define QT_COMMERCIAL_GIT variable in layer.conf and use it in both
LTS and commercial modules.
Pick-to: 6.2
Change-Id: If9137331236faa8fb78c02f76629cdf17114d230
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
Remove patch that was used to disable tests failing to build with gold
linker. After qtbase commit 40c8bc42026a8cf118ab60920314d84856c397a6,
the long stanging issue with gold linker and qt_version_tag symbol [1]
seems to be resolved.
[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=842304
Pick-to: 6.4
Change-Id: I2550554261a7ea82fc2a3f2d5c3679e68590df98
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Use latest revision for module that have SPDX license changes.
Change-Id: Ib460fe4838e8749f6ca299aba92829783ba12464
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
The SDPX change has not yet been merged into dev branch, temporarily
revert the change.
Change-Id: Ib84281130dbfba412743bf73524c8b9dc918b42f
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
The SDPX license change is applied to more Qt modules.
Change-Id: I6dca50fa708872ad54fe5c2918fcc3ee4d3ba0fe
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
(cherry picked from commit 5646d22948)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
The SDPX license change is applied to more Qt modules.
Pick-to: 6.4
Change-Id: Ib2f789cfba1bea5f50a5bccf48d9ea13b11a9332
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
ptest build had a subtle problem with qtbase where it was using
Qt6BuildInternals package from native sysroot instead of the target
install path. This could add compiler flags that were not supported
for the target architecture:
cc1plus: error: '-fcf-protection=full' is not supported for this target
QT_ADDITIONAL_PACKAGES_PREFIX_PATH is not used in qtbase/CMakeLists.txt:
find_package(Qt6 REQUIRED COMPONENTS BuildInternals CMAKE_FIND_ROOT_PATH_BOTH)
so the current approach for using Qt from the install path was not working.
Change the ptest build from using QT_ADDITIONAL_PACKAGES_PREFIX_PATHs
to using separate cmake toolchain file that prepends the install path
to CMAKE_FIND_ROOT_PATH, which makes CMake find the target Qt packages
correctly.
Pick-to: 6.4 6.3 6.2
Change-Id: Idc99a26577886208b85bafe811f61538bb38d5bc
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Correctly remove debug file also when directory names have spaces.
Pick-to: 6.4 6.3 6.2
Change-Id: Ia1d9efdd72d8f37417f2fd3f3f6d4a2736283ac9
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Amend 10a22f83f3 and use the new
license in webengine recipes.
Change-Id: Idd99bbf66b3853c7c0ede216f732eb84f1e6e829
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
__qt_toolchain_initial_qt_host_path is assigned to QT_HOST_PATH and then
to CMAKE_FIND_ROOT_PATH. Problems occurs if that path is relative.
CMake doesn't do relative path resolving by default in find_package,
when doing sub-prefix checking between find root path and prefix path.
Patch the qt.toochain.cmake so that it always uses absolute path for
__qt_toolchain_initial_qt_host_path, but make it still based on its
own location.
Pick-to: 6.3 6.2
Fixes: QTBUG-103818
Change-Id: I1cce126c243c017b1cecd14a0fd616cb0328fe6d
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
QtQuick3D is using 3rdparty embree component which doesn't not compile
for mingw when using older version of it. Skip the build since it's
not needed for the toolchain.
Change-Id: Id732a5f2b101cf14f754c89330bbbba1fdd6169b
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Qt sources were changed to use SPDX license identifiers, update
LICENSE strings to match the used identifiers. At this time,
qtbase and qttools were converted, rest of the modules will follow.
Change-Id: Ic0a43438f2bdcc82941aed34a3e034bb3c6db67a
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
QtQuick3D physics engine using NVIDIA PhysX SDK.
PhysX is only supported on x86 and arm architectures.
Task-number: QTBUG-103253
Change-Id: I933f584d7a327da28d9c443ef809b0745af88a47
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Not all modules are compatible with all architectures.
Change-Id: If44be478ff6cde47e4ad70ee31eb5059058307e5
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
QtVNCServer is a commercial-only module and the source code
is only available for commercial Qt license holders and
requires SSH access to Qt Gerrit.
Task-number: QTBUG-103254
Change-Id: I8b1decb08651e54f59a6b05d3d8f480354cb04df
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
QtSpeech is again supported in Qt 6.4.
Task-number: QTBUG-102978
Change-Id: I71234246fc10086be9fa0fdb2f20f00a14674951
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Add new packagegroup for all commercial-only Qt addon modules and add
new variable QT_COMMERCIAL_MODULES which can be used to control if the
modules are included in the build. The same variable also turns on the
use of Qt QML Compiler. Use common include file for the commercial modules.
Pick-to: 6.3 6.2
Change-Id: I673a06685b44a5f0f5518ae51bc45956432739a4
Reviewed-by: Nicholas Bennett <nicholas.bennett@qt.io>
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Building Qt modules uses extra CMake instructions that try to be clever
about which CMAKE_PREFIX_PATH to use. With SDK, these instructions end
up using the SDK host paths in the device instead of the actual device
paths. Add CMake option to prevent Qt from changing the default prefix.
Fixes: QTBUG-103577
Pick-to: 6.3 6.2
Change-Id: Ia933c843d811e6adb2ed4ede4708f55a6f0e8f0c
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
QT_BUILD_TOOLS_WHEN_CROSSCOMPILING has been deprecated in 6.4,
and cross-compiling compile time tools from sdk doesn't make
sense, all runtime tools are still being compiled.
Pick-to: 6.3 6.2
Change-Id: Ia35255e3b84c38342be58b11461a4ee908fba1f9
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
QtMultimedia crashes without audio backend and pulseaudio
backend now works together with gstreamer plugin.
Change-Id: Iad97ebb3170c6ebec9aa8eea1faf4972a88cd49f
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Developer_build will include all tests, including private tests,
enabling verification of Qt functionality on target platform.
Pick-to: 6.3 6.2
Change-Id: Icd477958fc7e8144194c5cae3f5b94eebfee6045
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
QT_BUILD_TOOLS_WHEN_CROSSCOMPILING is deprecated in favor of
QT_FORCE_BUILD_TOOLS.
Change-Id: Ibd644adabe9cdd8bd39179c38974d953ce34e5a4
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Add example build for the missing modules.
Skip qtapplicationmanager due to QTBUG-101508.
Pick-to: 6.3 6.2
Change-Id: Ib01935ac4314f3b97583f032e09fda2966f17549
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Use DISTRO variable in the sstate-cache directory. This lets use
reused the ci configuration in other distro builds as well.
Pick-to: 6.3 6.2
Change-Id: I51ef6cca7fd938046e5b6510087fc4d62f2a4eb3
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Multiple examples provide the same library which causes packaging failure:
ERROR: qtinterfaceframework-6.4.0-r0 do_package: qtinterfaceframework-examples: Multiple shlib providers for libInstrumentCluster.so
Add the library to PRIVATE_LIBS, since it's only used by the examples.
Pick-to: 6.3 6.2
Change-Id: If09bc7d235171b2b844ec579f6affa6fbe3f8a6d
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
The commercial-only LTS releases are available from separate repositories
in codereview using ssh protocol. Qt modules can be switched to using the
LTS version by including the qt6-lts.inc after qt6-git.inc.
Pick-to: 6.2
Change-Id: I1795e3cad5e758e5de050803bd07c35ab168389a
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Add CI build using Yocto kirkstone branches and retire hardknott build
in favor of it. Hardknott is EOL on April 2022. Only dev branch will
continue to be tested against Yocto master.
Change-Id: I9aad0e14c1a5054b2e9eab85ec8a2f2d603f6427
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
QtWebEngine normally does a host build before the actual
cross-compilation build. We can skip that since during the
cross-compilation, the target binaries are run using QEMU
instead of ones from the host build.
Fixes: QTBUG-102378
Pick-to: 6.3 6.2
Change-Id: I586a68641b48678933ed91a742235c6b22f1d109
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
QtSerialBus has canbusutil runtime tool that is useful to have
in the device.
Change-Id: Ib751cbb153d122ef6e2a58e3f7a455a58d668265
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
The compile time and runtime tools are referenced by CMake files
and if missing from sysroot, it can cause errors suchs as:
| The imported target "Qt6::canbusutil" references the file
|
| "/home/mak/yocto-raspberrypi-latest/build/tmp/work/cortexa53-poky-linux/smartcore/2.2+gitAUTOINC+3970c5b703-r0/recipe-sysroot/usr/bin/canbusutil"
|
| but this file does not exist.
Stage all files in bin and libexec dirs to make sure cmake builds work,
even though the binaries are not actually used during the build.
Pick-to: 6.3 6.2
Fixes: QTBUG-102370
Fixes: QTBUG-97707
Change-Id: I3326e7b8f970952f6d18591204cb78e5a0defcf5
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
Use shared Hash Equivalence server together with sstate cache.
The Hash Equivalence server can further improve sstate re-use.
Pick-to: 6.3 6.2
Change-Id: I037b565344942cf99c4992e4ff9769fd47d9c77d
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Add libgbm dependency to webrtc-pipewire PACKAGECONFIG and
remove it from the defaults, since not all graphics stacks
have it.
Change-Id: Ibb8033514d8ed14674d6b475b26f84f14aefca18
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
This reverts commit bab800db57.
Fix has been merged to qtquickdesigner-components.
Pick-to: 6.3 6.2
Change-Id: I1ef7d09e3d1c9517aa5c7abbf376cb9bb9422009
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
This reverts commit 1f8fa2d766.
Fix has been merged into qtquick3d.
Change-Id: I6cc9dda5bf1c53cf969bd859e0bb03ef1c40ae84
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Qt configure has lowered its verbose when not using developer-build.
Increase the verbose level to have the configure summary of the
Qt module back into the logs.
Pick-to: 6.3 6.2
Change-Id: If742b68353fe6f0614bf4be8f355cfc24f9a42f3
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Dunfell still has CMake 3.16, which is the default minimum version
for Qt. Use it for qtquickdesigner-componets as well.
Pick-to: 6.3 6.2
Change-Id: I07c0c35dfc589bae4fc9d47e4ec31ef27042454d
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Use PACKAGECONFIGs for modbus and socketcan supports. This adds
needed runtime dependency to libsocketcan.
Pick-to: 6.3 6.2
Fixes: QTBUG-102197
Change-Id: I0b0aebfa3f9fd896e0307415c54efb9fc7f1b93a
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
The tool provided by qtserialbus is a runtime tool and there no needed
to support either native or nativesdk builds.
Pick-to: 6.3 6.2
Change-Id: If1292680ec8f9afd1085b9a12b1976087cafe71f
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
Newest version is 4.4.1 so update it in the git as well
Task-number: QTBUG-101714
Change-Id: Ifd65867cc25abacd37bf1e90c0638bc50ac476b5
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
(cherry picked from commit 8d84283339)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Kirkstone has been updated with working nativesdk-python3
builds and qtinterfacewramework can now be included in the SDK.
Pick-to: 6.3 6.3.0 6.2
Change-Id: Ibcaf520688a56f9607db89993aa9ec9e2d667844
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
qtdeclarative-tools has runtime tools, such as qmlscene,
that can be useful in the image.
Pick-to: 6.3 6.3.0 6.2
Change-Id: I359611f8a3e575d8b18b63c4f8a034ad5ab705a1
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
Skip qtinterfaceframework also with kirkstone now that master
branch is using kirkstone as DISTRO_CODENAME.
Pick-to: 6.3 6.2
Change-Id: I8ff7c9c3289d4f2c8864c14a6abcf61fe34250a6
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Prepend PATH env with the path to the bin directory in the cmake
toolchain file. This let's CMake to find CMAKE_MAKE_PROGRAM (make or
ninja) without need to specify it explicitly when using the qt-cmake*
helper scripts.
Pick-to: 6.3 6.2
Change-Id: Ic7ce057421395d98158b3ad6e529f30b629bdded
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
CMake and Ninja combination does not support changing RPATH on Windows hosts,
even when cross-compiling. Add CMake configuration to workaround this.
Pick-to: 6.3 6.2
Change-Id: I5d82c0a7f91cf81a0b3ed7c0f14aeccc36464f91
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Make sure the qt-cmake* helper scripts get correctly created
for mingw toolchains.
Pick-to: 6.3 6.2
Change-Id: I0ec6c4e12abf375677226ea32a6c36066a990f3b
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Build Qt staticially with examples enabled but tests disabled.
We don't want to remove ptest from DISTRO_FEATURE, because that
would cause rebuild of most system components as well.
Pick-to: 6.3 6.2
Change-Id: Ic1181d09951ee5d50b08182600f0664b8859afcc
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
The latest dev branch submodule update causes
build break in qmlcompilerplus module. Add pending
reviewed upstream patch to fix issue:
"error: invalid initialization of reference of type ‘QQmlJSScope::ConstPtr&’
{aka ‘QDeferredSharedPointer<const QQmlJSScope>&’} from expression of type ‘QQmlJSRegisterContent’"
Change-Id: Id750838347ccd17a2cc6e336375ea6df1e7d14fb
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
Generate Conan profiles that can then be used with the SDK.
Task in qtbase generates profile that has all the architecture bits
and configure arguments in place. The profile added in the SDK phase
lets Conan recipes know how to use the SDK with the QT_CONFIGURE_MODULE
environment variable.
Pick-to: 6.3 6.2
Change-Id: I33a9b0f3915417d98ad12559ce7661c92b1cc739
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
The common license files have been renamed to use SPDX names, but we
still support some older yocto branches that use the old names.
Add mapping to allow building with older yocto version after the
recipes are updated to the new license names. This avoid warnings:
No generic license file exists for: GPL-3.0-only in any provider
Pick-to: 6.3 6.2
Change-Id: Ib93baf9027442e69ab5bce294449bd203d9be2aa
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
* openembedded-core/scripts/contrib/convert-spdx-licenses.py .
...
All files processed with version 0.01
Pick-to: 6.3 6.2
Change-Id: Ife671a597eea9e1567d2b37d0aea25cc0b8e9012
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Add pytest support for PyQt and PySide applications. This was merged to
meta-qt5 in https://github.com/meta-qt5/meta-qt5/pull/448.
Change-Id: I9e21ad89f0be1b8d2f488ed6ad80c13719fa6fbd
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
Use correct path for the test sources and data.
Pick-to: 6.3
Change-Id: I90f14130dce7f3b5ef3ae45dbdd60540c795ba9e
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Additional check was added into the bb.fetcher that needs to be
workaround in srcrev_update task. Otherwise task will fail with
error:
Exception: bb.fetch2.FetchError: Fetcher failure: Recipe uses a
floating tag/branch without a fixed SRCREV yet doesn't call
bb.fetch2.get_srcrev() (use SRCPV in PV for OE).
Pick-to: 6.3 6.2
Change-Id: Ib3c2665257c344c312074519a03d96437866cd8d
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
MinGW toolchain doesn't perform relocation during installation,
so all the absolute path point to the temporary sdk paths.
Use the location of the toolchain file to get the absolute
paths at runtime instead instead of using external SDKPATH
env for it.
Change-Id: I699b2178baf5cc855a57186056341b6c6eefbbf5
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
The default OEToolchainConfig.cmake uses environment variables
to set all the cmake variables in place. The Qt6Toolchain.cmake
chainloaded the same toolchain file after setting everything to env.
Rewrite the Qt6Toolchain.cmake now to set all the cmake variables
directly without using environment variables or chainloading
the origin OEToolchainConfig.cmake.
This allow better integration to QtCreator that might be used
to modify the compiler flags for projects.
Change-Id: I7c7c42ec17c86f53b62ed557d9b61d5d19abc1e0
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
QtMultimedia is again using plugins for different backends
and they can be enabled at the same time. Add PACKAGECONFIGs
for ffmpeg and vaapi backends. Remove vivante workaround,
it's no longer needed.
Default still to gstreamer only. The ffmpeg integration is done
to v4.4 and does not work with later versions.
Change-Id: Ica8f46ceca0ef61caa300b3e23269de062575efc
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Some of the python3 recipes we carry are already in meta-python
layer, but not in all the branches that we support. In order to use
the most recent recipe, we need to have same or lower BBFILE_PRIORITY
than meta-python. Depending on the branch, meta-python's priority is
either same or higher than the core layer's priority.
Pick-to: 6.3 6.2 6.2.4
Change-Id: I98c74858c5be69e45a76a45ed10aa1168c614618
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
In kirkstone, some of the variable have been renamed to
use inclusive language.
Pick-to: 6.3 6.2
Change-Id: Ic03fc3a748ea6a4e3e510040b9cd6b5e038d4662
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Restructure the Coin build configs so that all configurations
are already in .inc files that can be easily included.
Pick-to: 6.3 6.2
Change-Id: I93d74254804b7d17106a3f08af2973464e669928
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
meta-openembedded/master has issues building certain python3
modules for nativesdk. For python3-qface, failure is from dependency
chain: nativesdk-python3-qface
-> nativesdk-python3-watchdog
-> nativesdk-python3-requests
-> nativesdk-python3-pyopenssl
-> nativesdk-python3-cryptography
Don't include qtinterfaceframework to sdk when using master branch
with poky until all modules can be built correctly.
Pick-to: 6.3 6.2
Change-Id: Id2837f1363a22cb28e45c1165631cfa3f37756a7
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
native-qtdeclarative is needed to take advantage of qmlcachegen
and qml script compiler.
Pick-to: 6.3 6.2
Change-Id: Ie78b3401a1f4dfe252970f8c0b1dea70c0c0c954
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
This reverts commit fff02af10d.
Auto test build issue has been fixed.
Change-Id: I55ef6f7aec1a5695089b1fb62e5b6aafb4299d70
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 48caadfe1b)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This reverts commit 68bd9cee63.
Proper fix has been merged to qtbase.
Change-Id: I394bc594d2b4d9b90b98f530d65703b4352afa29
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
(cherry picked from commit 85e55e5629)
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Catch2 was updated in qtbase, patch is no longer needed.
Change-Id: I762e27a49ddcc325c5911e36bb65aab24b0b78cb
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 9080dc9fe0)
All references here to BSD actually mean BSD-3-Clause.
Pick-to: 6.3 6.2
Change-Id: Iec43070c5245d053259c215311f238989741c85d
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Paths in mingw toolchain are not relocated when installed, so we
need to use relative path for the Qt6Toolchain.cmake file.
Fixes: QTBUG-100642
Pick-to: 6.3 6.2
Change-Id: I48542f20f4443c8130f89c2436f5b0ecea914bb0
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
For static Qt builds, it's useful to allow disabling ptest for all
Qt modules without removing ptest from DISTRO_FEATURES, since that
would cause rebuild of most of the system components.
Pick-to: 6.3 6.2
Change-Id: I32aa202ce8e4a1260e287b0625495ef828536511
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Use manifests to fetch meta layer repositories. This enables
us to easily pin the upstream layers to specific revision if
and when the latest revision gets broken.
Build again against master branch, the manifest is pinned to
working meta-openembedded revision.
Pick-to: 6.3 6.2
Change-Id: I5d217f6932aaf5eaacae8ccbc790ea31aaa27f37
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Newest version is 4.4 so update it in the git as well
Task-number: QTBUG-98971
Pick-to: 6.3 6.2
Change-Id: I3b2086857e7c9b9cf7d44a40c080ae6bd03ca927
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
QtPDF does not support static builds, but the build still passes
ok in bitbake builds. Use force when removing the files, since they
don't exists in static builds.
Pick-to: 6.3
Change-Id: I50cce6e277c25c32aa98804d5f3de6d25df12b25
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
In static builds, we can't have the extra simulation and refapi packages
first on the list, since the static libs would end up there as well.
Use PACKAGE_BEFORE_PN to add the packages in proper order.
Pick-to: 6.3 6.2
Change-Id: I35976b90b12137caa7b7044f4aef40c229c75783
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
Static build needs pkgconfig for every Qt module. Include it already
in qt6-cmake class instead of in each individual module.
Pick-to: 6.3 6.2
Change-Id: I065382ee49d6b40b76ede9e632d17221451de8d1
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
ptest compilation fails when using older CMake. Disable until
fixed properly.
Task-number: QTBUG-100314
Change-Id: Ie00e9fe62a1b4f2e94d47eb3d672d27fee7965f5
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Translations for qtquickcontrols2 were merged to qtdeclarative.
Change-Id: I287253d23fbd6c22eb68145f0ed94de0338a48e8
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 0d2f6465e0)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
MinGW runtime libs are missing symbols used in RHI Direct3D.
Include patch until it's merged in qtbase to fix the nativesdk-qtbase
build.
Pick-to: 6.3
Task-number: QTBUG-100294
Change-Id: I314eb74d52cf28e48ef65fea263d85f2a7978a55
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
QtDeclarative is building doc snippets as part of the tests and
the sources for those are not in expected location. Test the
source directory before copying them.
Pick-to: 6.3
Change-Id: Ia3fd214dfc648d221a7b8bb6ec24e3cd3f698049
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
meta-openebedded is currently broken due to nativesdk-python3-cryptography.
Pick-to: 6.3 6.2 6.2.3
Change-Id: I99fa9313c1c8d1196bc09a8755269ecffe75ce56
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Some examples have dependency to Qt SVG.
Pick-to: 6.3 6.2
Change-Id: I9084c4a4e321710aa60a6e5df351b37c3c1518cb
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
The nativesdk builds have different set of DISTRO_FEATURES, which
by default don't include wayland, even if it's used for target builds.
Instead of filtering wayland packages based on the DISTRO_FEATUREs,
always include them. The nativesdk packages builds correctly, even if
wayland is not supported for the target.
Pick-to: 6.3 6.2 6.2.3
Fixes: QTBUG-99787
Change-Id: I9e00b5e4eacc340a985d0617911c02144ec3e6ed
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Implementation of the Language Server Protocol which is used by
QtDeclarative to provide QML language server.
Fixes: QTBUG-99780
Pick-to: 6.3
Change-Id: I600ca8c6738d7b9aba8d275edb85f642aee7eb47
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Previous submodule update brought in license file
updates for several modules, removing obsolete ones
and adding missing ones. Update license clauses for
the modules to match current licensing.
Pick-to: 6.3
Change-Id: I1481dacf7e8da594866ebba13a5fa44f167562d8
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
The qmltypes describe the plugin-supplied types contained in the library.
They are used for QML tooling purposes only. Move them to the dev package.
Pick-to: 6.3 6.2
Change-Id: I8aad69d0cda9564651ddadc2a3d2d0434250b742
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
qt-cmake* helper build scripts by default use Qt's generated
qt.toolchain.cmake as the CMAKE_TOOLCHAIN_FILE. Keep this behavior and
patch qt.toolchain.cmake so that will chain-load our Qt6Toolchain.cmake.
qt.toolchain.cmake includes bits that are needed for the conan
integration to work correctly with the sdk.
Pick-to: 6.3 6.2
Change-Id: I89a5e152324178151ba8a5ab4734d542fa4c995c
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
QtWebEngine based on 94 chromium can be build with python3.
Remove all references to python2 and its meta layer.
Latest oe-core has version of ICU, freetype, harfbuzz and ffmpeg
that are not compatible with Chromium. Disable those PACKAGECONFIGs
by default.
Change-Id: Ie2e38db14df0f51aaa87ecde7e0487b31be0bddd
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Add support for QtPDF, which is build from same sources as QtWebEngine.
The qemu wrapper needs adjustment to work in both webengine and pdf
builds.
Pick-to: 6.3
Task-number: QTBUG-99205
Change-Id: I985c7dac5e61b2c87b3a7ddeba3efcfd71f35e3f
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
With latest submodule update, several modules
got licenses removed and/or added & updated.
Update LIC_FILES_CHKSUM field in recipes to
match the updates.
Change-Id: Ic0c7c65c92bf515dbf510f5c988f92446bf76dc2
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
The bindir and libexecdir can be set to a different directory. Since
qmake and tools were searched for in the normal native staging bindir
and libexec dir, they would not be found. So use the OE_QMAKE version
of them instead.
Change-Id: I834bded248a79a6f0d18c6a32b4230f44ddf6a64
Pick-to: 6.2 6.3
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
This reverts commit a77f474aba.
Zstd is now available in the provisioning.
Pick-to: 6.3 6.2
Change-Id: Id66a3a8797e0c893318974a6fe2dd4e032d563b4
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
QtBase has several helper scripts available that can be used
to build other modules and tests. Patch those so they work
properly from the sdk.
Fixes: QTBUG-93342
Pick-to: 6.3 6.2
Change-Id: If393d1a0abdebe21a70439190e49715bcd3e35a1
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
Even if eglfs or linuxfb could be enabled via QT_QPA_DEFAULT_PLATFORM
variable, options have been missing. So add those missing options.
Add eglfs/linuxfb option based on opengl feature into
PACKAGECONFIG_GRAPHICS packageoption.
Pick-to: 6.3 6.2
Change-Id: Ida85363ebcf4ef47a4914dcaf5d2649bb70c41fc
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
QtSerialBus has canbusutil that is expected to be available in the sdk:
CMake Error at usr/lib/cmake/Qt6SerialBusTools/Qt6SerialBusToolsTargets.cmake:85 (message):
The imported target "Qt6::canbusutil" references the file
"usr/bin/canbusutil"
but this file does not exist.
Pick-to: 6.3 6.2
Change-Id: I59dedc2767c47b6dcbfbed318ff8e698accba30c
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
Update to latest revision in dev branch (module not
being part of automatic update bot).
Pick-to: 6.3 6.2
Change-Id: I23a560fa0d73593e2d0cf62012df53db65d42c31
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
Since commit 212ae9b ("Use bindir for tools on Windows SDK) qt.conf is
now created in the WORKDIR and is still present when rebuilding the SDK.
Since all lines are appended to the file it will continuesly increase.
So write the first line to the file instead of appending it.
Pick-to: 6.2
Change-Id: I52d4cb91630884a1ecdc1e6b225fda4cf39d852b
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
If QT6_INSTALL_BINDIR is set to a different value than bindir, the compiler
cannot be found, since it is typically installed in bindir. So point to
bindir by default instead.
Pick-to: 6.2
Change-Id: I3bb94c2daf97f1b2500560fdcc4304cba9699ab5
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
Need to include -dev and -tools packages for Qml Compiler.
Change-Id: I573f835f7166cf3adde7ffc4ef477769b4b4f566
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 503ff87af5)
Properly disable the use of QML Compiler Plus by default.
Pick-to: 6.2 6.2.2
Change-Id: I4adebf56b2621963585db87e1084a4da819de9b9
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
After oe-core/5bf3e447d2f5064495d83a8fad30229bcf1ecc9b change allarch
packagegroups are sanity checked. Nativesdk packagegroups should be
excluded for that check, add workaround to avoid errors: "An allarch
packagegroup shouldn't depend on packages which are dynamically renamed"
Pick-to: 6.2 6.2.2
Change-Id: Iaa59380c98e798841d619775c1c266ca99655be4
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Need to disable Qml Compiler for Qt5Compat, but can enable it
for QtWebEngine.
Change-Id: I250e4da9a7233bf212dabe64a6f0ef617a7c4d26
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
QtSpeech is not officially supported on Qt6. It has been compiling
until now, so it has been kept here, but since it now fails with
Qt 6.3, remove the recipe.
Change-Id: I2b0cce68b8bec82e0a5a434d0b3634ffb84eb6d8
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
QT_BUILD_TOOLS_WHEN_CROSSCOMPILING triggered qtbase-native
to try to find tools from QT_HOST_PATH, which obviously
doesn't exists yet. Use it only for target and nativesdk
builds.
Fixes compilation failure:
| -- Searching for tool 'Qt6::moc' in package Qt6CoreTools.
| CMake Error at cmake/QtToolHelpers.cmake:122 (message):
| Neither QT_HOST_PATH_CMAKE_DIR nor Qt6HostInfo_DIR} available.
Pick-to: 6.2
Change-Id: I260526c08f48f179049eb4b0ab3e6561958d0a53
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
The QML Script Compiler is a commercial drop-in replacement
for the cachegen tool to compile your QML script expressions
and functions to C++ ahead of time.
It is available only for commercial customers and source code
fetch needs proper ssh keys available for accessing the repository
at codereview.qt-project.org.
Usage of QML Script Compiler is not enabled by default, but if
enabled globally using ENABLE_QMLCOMPILER variable, all Qt modules
that have dependency to qtdeclarative are compiled using Qt QML Compiler.
Its usage can also be enabled or disabled by each individual recipe.
Task-number: QTBUG-95475
Change-Id: Iee8539ee8ddc17c70e9ed81ab3b4f242f9386586
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
* github decided that nobody should use git://
https://github.blog/2021-09-01-improving-git-protocol-security-github/#no-more-unauthenticated-git
and starting today all the builds were failing to fetch the metadata
layers from github like:
2021-11-01T18:53:26 INFO _main_ Updating [meta-ros]
fatal: remote error:
The unauthenticated git protocol on port 9418 is no longer supported.
Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information.
this was just a "test" as they said:
"November 2, 2021: We'll also run several short brownouts on this date."
and it will be completely disabled on January 11 2022.
Pick-to: 6.2
Change-Id: I26de93c094cd1e8002d589e8d760a22a12e76d03
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
Github won't be supporting git protocol anymore, switch to using
layer from openembedded.org.
Pick-to: 6.2
Change-Id: Id711fe7818d37650b0643c17bd3386ca1a344f9a
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Honister is now released, add it to the CI test builds.
Pick-to: 6.2
Change-Id: Ice5813836d8a4edb435db71017d231468993edcf
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Current CI build using the toolchain recipe is a bit limited as the
package_qa tasks were never ran for the Qt recipes. Also the rm_work
was not done which lead to disk space running out in CI builds. Add
both native and target packagegroup recipes to the target builds that
will ensure that both of the above mentioned tasks are now run.
Pick-to: 6.2
Change-Id: Ifb73b807f4f9f551836bfa20003aaf88bc758d78
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
QtPositioning has been split from the qtlocation into its own
git repository.
Pick-to: 6.2
Change-Id: Idbe9cbe52828e55689d75c0ac255226e3dd99103
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
QtQuickTimeline is optional dependency for QtQuick3d, but enabled
it by default.
Pick-to: 6.2
Change-Id: Ibce7da7fa8de31c983f3f4c3feae916bb9b10322
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Includes compilation fix for harfbuzz-3.0.0:
error: 'hb_subset' was not declared in this scope; did you mean 'hb_set_set'?
Change-Id: Ieb01f3787eed72c34e178b62eff012fafedb8d9a
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
In Qt5, dependency to qtdeclarative-native was added dynamically for
every recipe that had dependency to qtdeclarative. This was done because
building static Qt required the native package even when dynamic build
did not. Remove this automatic dependency and explicitly add the dependency
to those recipe that require it.
Pick-to: 6.2
Change-Id: Ida44d6a05d95db500b7fbfcb803c703c0433e93b
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
Add dunfell and hardknott to the CI build. Skip building QtWebEngine
in dunfell, since it required newer cmake than dunfell can offer.
As Gatesgarth is already EOL, do not add it to testing although
it is still listed as compatible version.
Task-number: QTBUG-97065
Change-Id: I3538d756294043fae119c78d018c61be766f2538
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
This a workaround for Dunfell, where native packages are still
cleared which means that qtbase-native cannot have runtime dependency
to libssl as the package does not exist.
Fixes:
ERROR: Required build target 'qtbase-native' has no buildable providers.
Missing or unbuildable dependency chain was: ['qtbase-native', 'libssl-native']
Pick-to: 6.2
Change-Id: Idad2a85b3a84275e5824545e22d425b578d1d647
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
* fails in do_install_ptest_base when ptest is in DISTRO_FEATURES
Pick-to: 6.2
Change-Id: I89778b3b53594a2ca46a088775689251e82dc8aa
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
This reverts commit fc83f6dfbd.
No need to disable all tests, next commit adds a work around
fix for Catch2.
Change-Id: Ic0e1a7cb085ca54edecc690c40d9adb82f952678
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
Newer oe-core doesn't pull many default dependencies anymore:
https://lists.openembedded.org/g/openembedded-core/message/156185
add explicit dependency on pkgconfig through pkgconfig.bbclass as
we're using it here.
Fixes:
| ERROR: The taglib submodule was not initialized
| Please initialize the submodule
| E.g. by running the following command:
| git submodule init && git submodule update
|
| or disable taglib by passing --taglib=no
Change-Id: I1038a755d12e8f918a8b44646b241b0b807da86c
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
Newer oe-core doesn't pull many default dependencies anymore:
https://lists.openembedded.org/g/openembedded-core/message/156185
add explicit dependency on pkgconfig through pkgconfig.bbclass as
we're using it here.
Fixes:
CMake Error at TOPDIR/BUILD/work/raspberrypi4-webos-linux-gnueabi/qtserialport/6.2.0-r0/recipe-sysroot/usr/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:2063 (add_library):
Target "SerialPort" links to target "PkgConfig::Libudev" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
Pick-to: 6.2
Change-Id: I2c1549f22bebf3c091485644574cbc46402c4996
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
Newer oe-core doesn't pull many default dependencies anymore:
https://lists.openembedded.org/g/openembedded-core/message/156185
add explicit dependency on pkgconfig through pkgconfig.bbclass as
we're using it here.
Fixes:
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
Sensorfw pkg not found. Looking for library
CMake Error at cmake/FindSensorfw.cmake:9 (find_library):
find_library called with incorrect number of arguments
Pick-to: 6.2
Change-Id: Ia16c038afa7af54295b1cb6c7c9bcccfa311bf0c
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
Newer oe-core doesn't pull many default dependencies anymore:
https://lists.openembedded.org/g/openembedded-core/message/156185
add explicit dependency on pkgconfig through pkgconfig.bbclass as
we're using it here.
Fixes:
ERROR: Feature 'pulseaudio' was enabled, but the pre-condition 'libs.pulseaudio' failed.
Similar change was already applied in meta-qt5:
f200be9d67
but the same is needed for qt6.
Pick-to: 6.2
Change-Id: Ic3f674bcfd7dbbc6f149a1ae94cd66613a948050
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
Newer oe-core doesn't pull many default dependencies anymore:
https://lists.openembedded.org/g/openembedded-core/message/156185
add explicit dependency on pkgconfig through webos_pkgconfig.bbclass as
we're using it here.
Fixes:
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
...
ERROR: Feature "zstd": Forcing to "ON" breaks its condition:
ERROR: Feature "libudev": Forcing to "ON" breaks its condition:
Pick-to: 6.2
Change-Id: I0705e15d57f30b5aeb908631d269db3dfd3413f3
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
get_glibc_loader is provided by linuxloader bbclass, make sure
we inherit that. Also change the function to get_linuxloader
that provides correct loader based on the used libc.
Amends e225c808b3
Change-Id: Ic8cd3dc8c4d908a4f0c3256d49209bf2d2ddf4d3
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit fe4f272d1e)
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
QtWebEngineProcess is not deployed on images, reason for that is
that current package order is:
PACKAGE_BEFORE_PN = "${PN}-qmlplugins ${PN}-tools ${PN}-plugins ${PN}-examples"
where ${PN}-tools will grap the QtWebEngineProcess before ${PN}
package, since it includes all ${QT6_INSTALL_LIBEXECDIR}.
Simply add qtwebengine-tools, and remove superfluous path
from qtwebengine recipe.
Fixes: QTBUG-96857
Change-Id: Ibe1d35e916caf38b75a8452c041bbff888103018
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
(cherry picked from commit 680d8b2e24)
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Some of the tests fail with gold linker.
error: unexpected reloc 3 against global symbol qt_version_tag without base register in object file when generating a position-independent output file
collect2: error: ld returned 1 exit status
Cherry-pick updated with more tests for dev.
Change-Id: I223e34fb9ecba01a8f3df5123eed6705d93ceed8
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit f45f237084)
Some x86-64 target, such as intel-skylake-64, use AVX instructions that are
not supported by QEMU (https://gitlab.com/qemu-project/qemu/-/issues/164).
This causes the build tools to crash with QEMU when they are ran during
to build. Instead of using QEMU, change the wrapper to try to run the
tools directly, using the target dynloader.
Change-Id: I790e013f91ce5f0e42fb1e11ff61e4428d14d9ad
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
(cherry picked from commit e225c808b3)
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Build QtWebEngine using CMake. Include helper files (chromium-gn.inc and
gn-utils.inc) from meta-browser. QtWebEngine build no longer requires
additional support in the host system, instead the build time tools
are run using QEMU.
WebEngine requires python2, available from meta-python2 layer, and
at least CMake 3.19. Only oe-core/hardknott provides recent enough CMake.
CI builds of webengine are limited to hardknott for this reason.
To use system ICU, QtWebEngine requires ICU 68 or up. This is also
available starting from oe-core/hardnott.
spellchecker feature doesn't work properly, since it requires
a native util to be built.
Task-number: QTBUG-93825
Change-Id: Id150275f5adfedd8f1acdc5f92c46a437da84f2e
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
(cherry picked from commit 403ab76764)
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
With newer yocto old qface recipe using our internal repo
suddenly preferred pypi own repository for qface. So
use external version of qface instead and try to get that
added to meta-python also.
Fixes: QTBUG-96727
Change-Id: Ia6fae613f6d8ced531dad2bda4f1abc18cbf7eba
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
Debug files from tests were packaged along with everything else causing
toolchain to have over 3Gb of debug files of little use. Since the
packaging of the debug files is done dynamically, we'll need to remove them
using an additional function that run during the packaging.
Pick-to: 6.2
Task-number: QTBUG-96583
Change-Id: I3695cdd21ba9b9443770c671e50bbf230a58cfd6
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
QtTools is using a git submodule within a submodule. Rename it so
that the parent chain is recorded correctly for scripts to handle
the update.
Pick-to: 6.2
Change-Id: I7b8028da254be4e6bb1f523fe10947996563186e
Reviewed-by: Daniel Smith <Daniel.Smith@qt.io>
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Adds Qt Interface Language (QFace) library
* Add also python dependencies that are not available from
meta-python
Task-number: QTBUG-94105
Change-Id: I08e5198834c36b0019bbc99a3a3f0b0fbc8b422a
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
For Coin builds, ask for 16 core build machine, but limit the maximum
number of bitbake tasks to 8. Try to speed up the builds, but to avoid
OOM which can occur when several Qt modules start to build in parallel
after dependency to qtdeclarative is satisfied.
Pick-to: 6.2
Change-Id: I3a0d646f4204fb0269bba2356543589a5620ed3e
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Move all the module SRCREV into qt6-git.inc file using the same format,
where repository name is used for the postfix. Changes to the module SRCREVs
are mostly done by updating all the modules at once, usually either with
a separate update script, srcrev_update bbclass or by external update bot.
This change should make the update process more easily automated.
Update the srcrev_update bbclass to handle updates in qt6-git.inc in addition
to recipe files, with and without the repository name postfix.
Pick-to: 6.2
Change-Id: I711e7867dba3b066d363ca40f78e7b4aa740a69c
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Latest revisions from dev.
Change-Id: Ia9b1bed92a4d6d5ffad5293bece76278e9d14a8c
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Raise max build to 12 hours, but lower time without output to 2 hours.
Pick-to: 6.2
Change-Id: I866bf07324793fce4ce88189053216abd8b4302f
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Required by QtApplicationManager to build appman-packager binary
for host.
Change-Id: Ia31e2df611fe4876110ba9999dd4f60374b783b1
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
Add easy way to have different configuration for the CI builds
based on the current Yocto version.
Change-Id: Idfda5d2e9079864e210382fa0e928b969fae311d
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 70dff380b2)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Build the toolchain recipe for CI test, which allows us the limit
what recipes are included.
Change-Id: I9c532dcc97979bf40a0ca094850d7a0602f2f9d0
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit d4232d5a71)
QtQuickControls2 was merged into QtDeclarative, no need for separate
recipe anymore.
Change-Id: I0bc860c7140c98f920b9811498491644245c7e0b
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Latest change in upstream assimp breaks the qt3d build. Disable
the system assimp for now.
Change-Id: Ib1bf4533a1670b0401748e56dcafb9d1b71fe66a
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
The selftest fails with GCC 11
Task-number: QTBUG-95842
Change-Id: I021297f3e0a95c08c03c1e19460de2969d88532e
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
Upstream has more recent versions already.
Pick-to: 6.2 6.1
Change-Id: Idc64576ddbdb2549e2b4af802cc8b8b5b62f704e
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Bitbake now requires zstd, which is not yet available in the provisioning
of the CI machines.
Change-Id: I9f75219a686580ae228384c4fb4a6222a0e6fd09
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Cannot test with older yocto releases anymore.
Task-number: QTBUG-95705¶
Change-Id: Ibc2d07c2a40461971085ff80ee3f946824f0c4f8
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
After the override syntax change, only honister is supported.
Task-number: QTBUG-95705
Change-Id: I2747686f359ef0e39471bb2c20e7980ea2d30647
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
This is the result of automated script (0.9.1) conversion:
oe-core/scripts/contrib/convert-overrides.py .
converting the metadata to use ":" as the override character instead of "_".
Task-number: QTBUG-95705
Change-Id: Ieb57084e2cea47eb3407960ebfce404cee1ddc36
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Latest from dev branch.
Disable rpaths from ptest to fix QA Issue: package contains bad RPATH.
Change-Id: I3f29de8a9200657d9ac2eb87d4288fde09b49469
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Change the absolute host paths in qt.conf to relative. This allows
SDK to work in Windows without need to patch the paths.
Pick-to: 6.2 6.1
Change-Id: I0a3f6e793b033d727f7633c022b27392acc91823
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
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:
# By default, passing is_official_build=true to GN causes its symbol_level
# variable to be set to "2". This means the compiler will be passed "-g2" and
# we will end up with a very large chrome binary (around 5Gb as of M58)
# regardless of whether DEBUG_BUILD has been set or not. In addition, binutils,
# file and other utilities are unable to read a 32-bit binary this size, which
# causes it not to be stripped.
# The solution is two-fold:
# 1. Make sure -g is not passed on 32-bit architectures via DEBUG_FLAGS. -g is
# the same as -g2. -g1 generates an 800MB binary, which is a lot more
# manageable.
# 2. Explicitly pass symbol_level=0 to GN. This causes -g0 to be passed
# instead, so that if DEBUG_BUILD is not set GN will not create a huge debug
# binary anyway. Since our compiler flags are passed after GN's, -g0 does
# not cause any issues if DEBUG_BUILD is set, as -g1 will be passed later.
DEBUG_FLAGS:remove:arm="-g"
DEBUG_FLAGS:append:arm="-g1"
DEBUG_FLAGS:remove:x86="-g"
DEBUG_FLAGS:append:x86="-g1"
# As of Chromium 62.0.3202.94 and Yocto Rocko (GCC 7, binutils 2.29), passing
# -g to the compiler results in many linker errors on aarch64, such as:
# obj/third_party/WebKit/Source/modules/payments/libpayments.a(PaymentEventDataConversion.o)(.debug_loc+0x4e25): error: relocation overflow in R_AARCH64_ABS32
DEBUG_FLAGS:remove:aarch64="-g"
DEBUG_FLAGS:append:aarch64="-g1"
# As of Chromium 60.0.3112.101 and Yocto Pyro (GCC 6, binutils 2.28), passing
# -g to the compiler results in many linker errors on x86_64, such as:
# obj/third_party/WebKit/Source/core/loader/libloader.a(ModuleTreeLinker.o)(.debug_loc+0x1e9a5): error: relocation overflow: reference to local symbol 82 in obj/third_party/WebKit/Source/core/loader/libloader.a(ModuleTreeLinker.o)
# obj/third_party/WebKit/Source/core/libcore_generated.a(ScriptModule.o)(.debug_loc+0x253c): error: relocation overflow: reference to local symbol 31 in obj/third_party/WebKit/Source/core/libcore_generated.a(ScriptModule.o)
# so we have to use the same hack described above.
DEBUG_FLAGS:remove:x86-64="-g"
DEBUG_FLAGS:append:x86-64="-g1"
# The default debug level flag has moved from DEBUG_FLAGS to a new
# variable starting with Yocto 'styhead' (5.1) release
DEBUG_LEVELFLAG="-g1"
# V8's JIT infrastructure requires binaries such as mksnapshot and
# mkpeephole to be run in the host during the build. However, these
# binaries must have the same bit-width as the target (e.g. a x86_64
# host targeting ARMv6 needs to produce a 32-bit binary). Instead of
# depending on a third Yocto toolchain, we just build those binaries
# for the target and run them on the host with QEMU.
pythondo_create_v8_qemu_wrapper(){
"""Creates a small wrapper that invokes QEMU to run some target V8 binaries
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.