aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* qtwebengine: Remove setting --target option with yoctoKhem Raj2024-02-062-0/+88
| | | | | | | | | | | | | | | 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>
* libwebp: add workaround for native buildSamuli Piippo2024-02-061-0/+1
| | | | | | | | | | 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>
* qtwebengine: Add missing dependency on native libevent.pcKhem Raj2024-02-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* qtwebengine: Pass OE specific pkg-config-native for host pkg-configKhem Raj2024-02-062-1/+9
| | | | | | | | | | | | | | | | | | | | | | 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>
* packagegroup: fix warning caused by inherit_deferSamuli Piippo2024-01-311-0/+3
| | | | | | | | | | | | | | | 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>
* coin: update build targetsSamuli Piippo2024-01-302-22/+27
| | | | | | | | | 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>
* ptest: skip non-existing testsSamuli Piippo2024-01-291-3/+4
| | | | | | | | | | 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>
* Update submodule refs on 'dev' in yocto/meta-qt6Qt Submodule Update Bot2024-01-291-48/+48
| | | | | Change-Id: I9888d204cb4651cec4f65f0d87dd5c3bc263deef Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Add recipe for QtDocSamuli Piippo2024-01-262-0/+38
| | | | | | | | | 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>
* Update submodule refs on 'dev' in yocto/meta-qt6Qt Submodule Update Bot2024-01-171-1/+1
| | | | | Change-Id: I93f866be051314b451d7f63b0e786d69b7a337f9 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update submodule refs on 'dev' in yocto/meta-qt6Qt Submodule Update Bot2024-01-161-48/+48
| | | | | Change-Id: I52e5aa542930acb8f5010d0cbfba3aa4ed93d959 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* webengine: update patchMikko Gronoff2023-12-271-9/+7
| | | | | | Change-Id: I2c9df3bde7b0c6776cfd3a32093047fad1bd7256 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
* Update submodule refs on 'dev' in yocto/meta-qt6Qt Submodule Update Bot2023-12-271-47/+47
| | | | | Change-Id: I3d172f56569b505b9f47c348cec42d3d35e9e6ac Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* ptest: better handling for test listSamuli Piippo2023-12-213-47/+66
| | | | | | | | | | | | | | | | | | 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>
* Add srcrev for QtDocSamuli Piippo2023-12-201-0/+1
| | | | | | | | | QtDoc provides more demos. Pick-to: 6.7 Change-Id: I6e3cfa51d053b3f3b775acb964cf0d47cfcec09f Reviewed-by: Kimmo Ollila <kimmo.ollila@qt.io> Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
* pytest-qt: upgrade to latest versionSamuli Piippo2023-12-191-1/+1
| | | | | | | | 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>
* Bump version to 6.8.0Mikko Gronoff2023-12-171-1/+1
| | | | | Change-Id: I40a79a3f1749a2a8647aa963d881b6dacf307d26 Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
* Update submodule refs on 'dev' in yocto/meta-qt6Qt Submodule Update Bot2023-12-161-45/+45
| | | | | Change-Id: I7d7d7fd31748e2e73cf38c97f5370a7022382861 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update submodule refs on 'dev' in yocto/meta-qt6Qt Submodule Update Bot2023-12-141-46/+46
| | | | | Change-Id: Ida6d64c059f16f6b8d7be484406110ddedfecee1 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* qtwebengine: update to 118-basedSamuli Piippo2023-12-141-1/+1
| | | | | | | | Update QtWebEngine and QtPdf to use 118-based chromium. Change-Id: I9a09b33156240ac8da850cf60984ba1986c5f474 Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io> (cherry picked from commit 4b105e589bdde8b86f1c9c27efd315bea00faac7)
* srcrev_update: support for all recipesSamuli Piippo2023-12-134-3/+6
| | | | | | | | | 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>
* qttools: use clang if it is availableSamuli Piippo2023-12-131-0/+4
| | | | | | | | | | 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>
* qtinterfaceframework: fix packaging errorSamuli Piippo2023-12-131-0/+2
| | | | | | | | | | 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>
* qtinterfaceframework: remove simulation and reference apiSamuli Piippo2023-12-046-115/+3
| | | | | | | | The simulation and reference api implementations were removed from qtinterfaceframework module. Change-Id: Iff7bcd4591d0e8955d2a96aa8fe31f2af103a0cb Reviewed-by: Dominik Holland <dominik.holland@qt.io>
* Update submodule refs on 'dev' in yocto/meta-qt6Qt Submodule Update Bot2023-12-041-45/+45
| | | | | Change-Id: I7ed1ff8df77ef67d698e71588459ff405cf7d244 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update submodule refs on 'dev' in yocto/meta-qt6Qt Submodule Update Bot2023-12-021-45/+45
| | | | | Change-Id: I62853d541f9f335981cdf1433ee0c430bdc1b039 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update submodule refs on 'dev' in yocto/meta-qt6Qt Submodule Update Bot2023-12-011-45/+45
| | | | | Change-Id: I0af22df0e3ee517babe4124eb29e1d419b93b56b Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* qtdeclarative: add dependency to qtsvgSamuli Piippo2023-12-012-3/+2
| | | | | | | | 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>
* qtbase: fix QLibraryInfo prefix with usrmergeSamuli Piippo2023-11-301-0/+1
| | | | | | | | | | | | | | | 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>
* Update submodule refs on 'dev' in yocto/meta-qt6Qt Submodule Update Bot2023-11-251-47/+47
| | | | | Change-Id: I760ee01c356a4f9b2c146f575c34e2a9bbe7441e Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update submodule refs on 'dev' in yocto/meta-qt6Qt Submodule Update Bot2023-11-221-46/+46
| | | | | Change-Id: I59804998a1245d3b1a2356513a01d23d17d8a685 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update submodule refs on 'dev' in yocto/meta-qt6Qt Submodule Update Bot2023-11-201-45/+45
| | | | | Change-Id: I489a359a1765d4ead0badd567a38b1cbe25dbceb Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* qt3d: remove upstreamed patchSamuli Piippo2023-11-172-28/+0
| | | | | | | Assimp is now updated to version that has the patch applied. Change-Id: Ib33974d44ada36f79d73f81689fb91cd6d94a355 Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
* Update submodule refs on 'dev' in yocto/meta-qt6Qt Submodule Update Bot2023-11-171-47/+47
| | | | | Change-Id: Idb63eeed28e3b11389a425e3b0508a9a4334bcb3 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* coin: add test config for build ptest imageSamuli Piippo2023-11-171-0/+50
| | | | | | | | 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>
* qmlcompiler: enable ptestSamuli Piippo2023-11-171-2/+0
| | | | | | | | 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>
* qtwebengine: enable ptestSamuli Piippo2023-11-171-2/+0
| | | | | | | | 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>
* qtconnectivity: enable ptestSamuli Piippo2023-11-171-3/+0
| | | | | | | | 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>
* ptest: better ptest supportSamuli Piippo2023-11-173-1/+15
| | | | | | | | | 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>
* Revert "protobuf: add workaround for qtgrpc"Samuli Piippo2023-11-151-2/+0
| | | | | | | | | | This reverts commit f00bd7134e1e7b82811f4c10d14ec5d05967f8ae. 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>
* coin: add CI build for nanbieldSamuli Piippo2023-11-142-3/+4
| | | | | | | | | | 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 submodule refs on 'dev' in yocto/meta-qt6Qt Submodule Update Bot2023-11-131-45/+45
| | | | | Change-Id: I787fdc259f4e234676079121b8ed988adbcad94d Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update submodule refs on 'dev' in yocto/meta-qt6Qt Submodule Update Bot2023-11-131-47/+47
| | | | | Change-Id: Ibebe15349ae4605a9d9326d0bf33ad28e737c7b1 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* qtgrpc: update to latest revision to fix build failureKai Kang2023-11-091-1/+1
| | | | | | | | | | | | 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>
* protobuf: add workaround for qtgrpcSamuli Piippo2023-11-061-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* Remove old patches from qtwebengineMichal Klocek2023-10-203-120/+0
| | | | | | | | | | | | | | | | | | 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 bdbb28f3624c2df9b9dd0521ac2924378ccb8916) Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
* Update submodule refs on 'dev' in yocto/meta-qt6Qt Submodule Update Bot2023-10-201-46/+46
| | | | | Change-Id: Ie5705beb5bf5691f6fdc19bd048268ab7c3a294c Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Workaround too eager packagegroup sanity checkSamuli Piippo2023-10-191-0/+3
| | | | | | | | | | Amend 95fa269ffa7a1088f3da7e060250a82a5184b58f 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>
* Remove checks for required meta layersSamuli Piippo2023-10-1810-29/+16
| | | | | | | | | | | 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>
* layer.conf: fix LAYERDEPENDS_qt6-layerMartin Jansa2023-10-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | * qtgrpc depends on protobuf from meta-oe: ERROR: Nothing PROVIDES 'protobuf-native' (but /OE/build/oe-core/meta-qt6/recipes-qt/qt6/qtgrpc_git.bb DEPENDS on or otherwise requires it). Close matches: popt-native xcb-proto-native xorgproto-native ERROR: Required build target 'meta-world-pkgdata' has no buildable providers. Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'qtgrpc', 'protobuf-native'] * and qtpdf, qtwebengine depend python3-html5lib-native on from meta-python: ERROR: Nothing PROVIDES 'python3-html5lib-native' (but /OE/build/oe-core/meta-qt6/recipes-qt/qt6/qtpdf_git.bb, /OE/build/oe-core/meta-qt6/recipes-qt/qt6/qtwebengine_git.bb DEPENDS on or otherwise requires it). Close matches: python3-toml-native python3-tomli-native python3-urllib3-native ERROR: Required build target 'meta-world-pkgdata' has no buildable providers. Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'qtpdf', 'python3-html5lib-native'] Pick-to: 6.6 6.5 Change-Id: I616e03e3a259e532e4ccd6ec87a2975c063837fc Reviewed-by: Martin Jansa <Martin.Jansa@gmail.com> Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>