aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Update submodule refs on 'dev' in yocto/meta-qt6HEADdevQt Submodule Update Bot14 hours1-47/+47
| | | | | Change-Id: I40e3bd4823b33841e0b219b0996caef69d4d30ad Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* coin: use more memory for the ptest testimageSamuli Piippo33 hours1-0/+1
| | | | | | | More memory is needed for the testimage that runs Qt ptests. Change-Id: I28f186cfae847261a5ae2b47091900da446c61dd Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
* ptests: Update test environment for non and root userAri Parkkila3 days1-2/+16
| | | | | | | | | | | | | | 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>
* qtwebengine: add PACKAGECONFIG for x11 dependenciesSamuli Piippo7 days1-1/+2
| | | | | | | | | | | | | | | | | | | 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>
* Update submodule refs on 'dev' in yocto/meta-qt6Qt Submodule Update Bot9 days1-45/+45
| | | | | Change-Id: I9bcb096a55b6d98c422ac09898e8f6f095c54ec8 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* qtbase: disable dnslookup for mingw buildsSamuli Piippo9 days1-0/+1
| | | | | | | | | | | 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>
* Update submodule refs on 'dev' in yocto/meta-qt6Qt Submodule Update Bot9 days1-45/+45
| | | | | Change-Id: I0e6780f7eb5c0c79cf570df7b0d090bddfb2fa59 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* nativesdk-packagegroup-qt6-toolchain-host-addons: Add wayland dependent ↵Khem Raj10 days1-2/+1
| | | | | | | | | | | | | packages conditionally 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 to CVE_PRODUCTSamuli Piippo2024-05-071-1/+1
| | | | | | | | | | 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>
* Update submodule refs on 'dev' in yocto/meta-qt6Qt Submodule Update Bot2024-05-031-48/+48
| | | | | Change-Id: Ie4c7962efb4574798aa962346778c1150fb918f5 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-05-021-48/+48
| | | | | Change-Id: Ie28ba8212f7500eafef0d9776011f1422168ac40 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* ptest: include only needed filesSamuli Piippo2024-05-021-6/+5
| | | | | | | | | 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>
* Update submodule refs on 'dev' in yocto/meta-qt6Qt Submodule Update Bot2024-04-261-46/+46
| | | | | Change-Id: Ieda2c835f2fc4aab0beaa5d2822fc9f04d05a606 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-04-231-48/+48
| | | | | Change-Id: Ieea1c70062744654196c1afc22226e4e2c50060b Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* qtwayland: fix patch fuzzMikko Gronoff2024-04-181-4/+4
| | | | | | Pick-to: 6.7 6.5 Change-Id: I37700a20205d9a5596d1270ec98d404f6a655f3e Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
* Update submodule refs on 'dev' in yocto/meta-qt6Qt Submodule Update Bot2024-04-181-47/+47
| | | | | Change-Id: I7e7f0c85994700898dd82a4de30d7075c0615084 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* qtwayland: make wayland DISTRO_FEATURES a requirementSamuli Piippo2024-04-171-0/+3
| | | | | | | | | | | | 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>
* readme: update Yocto support tableSamuli Piippo2024-04-151-1/+2
| | | | | | | | Add Yocto styhead to support table. Pick-to: 6.7 Change-Id: Ice7f9a188ac3bcd26ba7ab11b35d974a282a000d Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
* qtmultimedia: update revisionSamuli Piippo2024-04-151-1/+1
| | | | | | | Pull in fix for non-opengl builds. Change-Id: Ie450a54fc3d0ae5d099868842a4a105b1496ab67 Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
* qtpositioning: add geoclue to packageconfigAri Parkkila2024-04-151-2/+1
| | | | | | Task-number: QTBUG-122697 Change-Id: I572c3068edc9425f1bd61d20810a6d072d9de506 Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
* coin: switch one build to scarthgapSamuli Piippo2024-04-111-2/+2
| | | | | | | | Start testing against Yocto scarthgap release. Pick-to: 6.7 Change-Id: I70de9b7a3fce7c3c062b381533af8d86a70660f7 Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
* coin: don't use nanbield for mingw buildsSamuli Piippo2024-04-111-3/+3
| | | | | | | | | 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: disable stack protector for mingwSamuli Piippo2024-04-101-0/+1
| | | | | | | | 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>
* qtwayland: fix patch fuzzMikko Gronoff2024-04-101-3/+3
| | | | | | Change-Id: I1f475af29ecdb3da5fa56b2549bc384ff040739d Reviewed-by: Ari Parkkila <ari.parkkila@qt.io> (cherry picked from commit f7808792e9df8133dd54160d392aa5f21ca9631b)
* Update submodule refs on 'dev' in yocto/meta-qt6Qt Submodule Update Bot2024-04-101-47/+47
| | | | | Change-Id: Icb0ed8451ea59d1f7f2ae6ddba3fd8fe2bec7525 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* qtdatavis3d: add feature_check for openglAri Parkkila2024-03-211-1/+3
| | | | | | | | | Co-authored-by: Sakib Sajal Pick-to: 6.7 6.6 6.5 Fixes: QTBUG-114912 Change-Id: Idfea16557eb4f068b9cb67412bd1dba0df966a20 Reviewed-by: Jari Helaakoski <jari.helaakoski@qt.io> Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
* ptest: disable examples buildSamuli Piippo2024-03-211-0/+1
| | | | | | | | After qtbase change 62905163bf887c2c2c9ba7edcd64c96d237a6e95, we need to disable examples for the ptest build. Change-Id: Ib6787b6e0f1ab17d3fa93ec7c4f98d92053f1ff2 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* qtbase: fix patch fuzzMikko Gronoff2024-03-151-6/+5
| | | | | | Change-Id: I286a9e70eb7e4a57f9398dc88dd61aaff90a9aea Reviewed-by: Samuli Piippo <samuli.piippo@qt.io> (cherry picked from commit 64d0ebee63eed30b9188d0734b91271d18ab5ef1)
* Update submodule refs on 'dev' in yocto/meta-qt6Qt Submodule Update Bot2024-03-151-49/+49
| | | | | Change-Id: Ieb02458ffc086ffad895bc09b91ca86cb3f498b2 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* qtbase: don't generate qmake wrapperSamuli Piippo2024-03-051-0/+1
| | | | | | | | | | | 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: add PACKAGECONFIG for wayland supportSamuli Piippo2024-02-271-0/+2
| | | | | | | | | | | 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>
* Update submodule refs on 'dev' in yocto/meta-qt6Qt Submodule Update Bot2024-02-261-45/+45
| | | | | Change-Id: I11f4603899302ab0556a18ac10f279050c21a8bd 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-02-201-50/+50
| | | | | Change-Id: I19ee780dea3f8b000f603af0e7996589945e70d1 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* qtquick3d: add workaround for test build failureSamuli Piippo2024-02-131-0/+2
| | | | | | | | | 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>
* Update submodule refs on 'dev' in yocto/meta-qt6Qt Submodule Update Bot2024-02-131-48/+48
| | | | | Change-Id: Ibde04e05dca8ac939b53afc4ade084cd99383530 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* layer.conf: update LAYERSERIES_COMPAT for scarthgapSamuli Piippo2024-02-121-1/+1
| | | | | | | | 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>
* qtbase: prefer system pngSamuli Piippo2024-02-121-1/+1
| | | | | | | | | | 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>
* packagegroup: add Qt modules only on supported archsSamuli Piippo2024-02-121-8/+22
| | | | | | | | | 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>
* qtdoc: only add qtpdf to DEPENDS for machines in COMPATIBLE_MACHINEKai Kang2024-02-061-1/+4
| | | | | | | | | | 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>
* 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>