summaryrefslogtreecommitdiffstats
path: root/recipes-qt/qt5
Commit message (Collapse)AuthorAgeFilesLines
* qtwebkit: Fix build with gcc11/riscvKhem Raj2021-03-102-0/+26
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qt3d: Fix build on riscv/gcc11Khem Raj2021-03-102-0/+30
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qtwebkit: Disable gold linker for riscv/ppc/mipsKhem Raj2021-03-101-2/+3
| | | | | | | gold linker seems to not link the shared lib properly as it results in textrels on these arches. So fallback to bfd linker. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qt5-creator: Fix parse with latest meta-clangAndreas Müller2021-03-051-1/+1
| | | | | | | | | | | | | | | | Since meta-clang's commit d38888ea80965206c1d2eab9958db1ff980c56c4 Author: Zoltán Böszörményi <zboszor@pr.hu> Date: Thu Feb 18 04:29:49 2021 -0500 clang: Merge llvm-common into clang Signed-off-by: Zoltán Böszörményi <zboszor@pr.hu> parsing fails with: | ERROR: Nothing PROVIDES 'llvm-common' (but /home/superandy/data/oe-core/sources/meta-qt5/recipes-qt/qt5/qt5-creator_git.bb DEPENDS on or otherwise requires it Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
* qtdeclarative: Another fix for gcc11Khem Raj2021-03-042-0/+31
| | | | | | This was left out since v1 not v2 of the prior patch was merged. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qtdeclarative: Fix build with gcc11Khem Raj2021-03-042-0/+33
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qtbase: Fix build with gcc-11Khem Raj2021-03-044-0/+51
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qtbase: Define OE_QMAKE_OBJCOPY for linux-oe-g++Dan Christensen2021-03-023-13/+16
| | | | | | | | This is useful when QMake has CONFIG+=separate_debug_info which is often not during the actual bitbake builds but when using an eSDK produced by the meta-toolchain-qt5 recipe. Signed-off-by: Dan Christensen <opello@opello.org>
* qtwebkit: Do not use gold with riscv64Khem Raj2021-03-021-0/+1
| | | | | | gold is not support with riscv Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qtdeclarative: fix buildtime configurationUlrich Ölmann2021-03-021-0/+2
| | | | | | | Without this line PACKAGECONFIG did not have any influence on the actual package configuration. Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
* qtdeclarative: overwrite do_install_ptestKai Kang2021-02-081-0/+19
| | | | | | | | | | | | | | | | Overwrite and extend do_install_ptest for qtdeclarative. It fixes runtime errors: | FAIL! : TestQmllint::initTestCase() '!m_dataDirectory.isEmpty()' returned FALSE. ('data' directory not found) With this change, more tests have been run and the results are better: passed: 993 -> 2318 failed: 182 -> 113 Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qt5-native.inc, nativesdk-qt5.inc, ↵Martin Jansa2021-01-272-2/+2
| | | | | | | | | | | nativesdk-packagegroup-qt5-toolchain-host: reorder inherits to fix new QA check * fixes: WARNING: meta-qt5/recipes-qt/qt5/qtbase-native_git.bb: QA Issue: qtbase-native: native/nativesdk class is not inherited last, this can result in unexpected behaviour. [native-last] WARNING: meta-qt5/recipes-qt/qt5/nativesdk-qtbase_git.bb: QA Issue: nativesdk-qtbase: native/nativesdk class is not inherited last, this can result in unexpected behaviour. [native-last] WARNING: meta-qt5/recipes-qt/packagegroups/nativesdk-packagegroup-qt5-toolchain-host.bb: QA Issue: nativesdk-packagegroup-qt5-toolchain-host: native/nativesdk class is not inherited last, this can result in unexpected behaviour. [native-last] Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtwebengine: refresh the patchesMartin Jansa2021-01-2732-75/+75
| | | | | | | | | | * update to match https://github.com/meta-qt5/qtwebengine/commits/b5.15-glibc 5.15-glibc.meta-qt5.9 https://github.com/meta-qt5/qtwebengine/commits/b5.15 5.15.meta-qt5.9 https://github.com/meta-qt5/qtwebengine-chromium/commits/83-based-glibc 83-based-glibc.meta-qt5.1 https://github.com/meta-qt5/qtwebengine-chromium/commits/83-based 83-based.meta-qt5.1 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtbase: revert one commit to fix build in some configurationsMartin Jansa2021-01-264-0/+70
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* Update qtwebengine-chromiumJani Suonpera2021-01-222-28/+1
| | | | | | Newer hash from 83-based branch. Change-Id: I3e944e8bf9ced2311569f298016a168c1336dc26
* Update to Qt 5.15.2Jani Suonpera2021-01-2272-450/+199
| | | | | Signed-off-by: Jani Suonpera <jani.suonpera@qt.io> Change-Id: I5992e74cf524f9378dab64503345111b1cc159f2
* QTWebkit: Support RISC-V ISA on QTwebkitChenxi Mao2021-01-222-1/+87
| | | | | | There are 3 changes to support RISC-V 1. Add a patch to support RISC-V CPU 2. Disable JIT as mips/ppc did
* QtWebkit: Set release build by defaultChenxi Mao2021-01-221-0/+1
| | | | | | | | | Current Qtwebkit configuration is debug build by default. Change it to release build to have better performance. Change-Id: Ib5e10bfd62edf79ddc304332ff10fdbe3abf58f0 Reviewed-by: Chenxi Mao <chenxi.mao2013@gmail.com> Reviewed-by: Konstantin Tokarev <annulen@yandex.ru>
* qtwebengine: Fix build with clang-11Khem Raj2021-01-222-0/+27
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qt5-creator: upgrade 4.13.1 -> 4.14.0Andreas Müller2021-01-221-3/+3
| | | | Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
* qt5-creator: Fix rpath QA errorAndreas Müller2021-01-221-1/+4
| | | | | | | | | | Fixes: | ERROR: QA Issue: package qt5-creator contains bad RPATH $ORIGIN:$ORIGIN/../:$ORIGIN/.:/home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-neon-vfpv4-mortsgna-linux-gnueabi/qt5-creator/4.14.0+gitAUTOINC+909f74dc56-r0/recipe-sysroot/usr/lib in file /home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-neon-vfpv4-mortsgna-linux-gnueabi/qt5-creator/4.14.0+gitAUTOINC+909f74dc56-r0/packages-split/qt5-creator/usr/lib/qtcreator/plugins/libProjectExplorer.so | package qt5-creator contains bad RPATH $ORIGIN:$ORIGIN/../:$ORIGIN/.:/home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-neon-vfpv4-mortsgna-linux-gnueabi/qt5-creator/4.14.0+gitAUTOINC+909f74dc56-r0/recipe-sysroot/usr/lib in file /home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-neon-vfpv4-mortsgna-linux-gnueabi/qt5-creator/4.14.0+gitAUTOINC+909f74dc56-r0/packages-split/qt5-creator/usr/lib/qtcreator/plugins/libProjectExplorer.so | package qt5-creator contains bad RPATH $ORIGIN:$ORIGIN/../:$ORIGIN/.:/home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-neon-vfpv4-mortsgna-linux-gnueabi/qt5-creator/4.14.0+gitAUTOINC+909f74dc56-r0/recipe-sysroot/usr/lib in file /home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-neon-vfpv4-mortsgna-linux-gnueabi/qt5-creator/4.14.0+gitAUTOINC+909f74dc56-r0/packages-split/qt5-creator/usr/lib/qtcreator/plugins/libProjectExplorer.so | package qt5-creator contains bad RPATH $ORIGIN:$ORIGIN/../:$ORIGIN/.:/home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-neon-vfpv4-mortsgna-linux-gnueabi/qt5-creator/4.14.0+gitAUTOINC+909f74dc56-r0/recipe-sysroot/usr/lib in file /home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-neon-vfpv4-mortsgna-linux-gnueabi/qt5-creator/4.14.0+gitAUTOINC+909f74dc56-r0/packages-split/qt5-creator/usr/lib/qtcreator/plugins/libProjectExplorer.so [rpaths] Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
* qt5-creator: remove stale desktop fileAndreas Müller2021-01-221-10/+0
| | | | Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
* qtwebkit: fix build with icu >= 68Andreas Müller2021-01-229-7/+133
| | | | Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
* qt5-creator: Skip it when meta-python2 is not in layermixKhem Raj2020-11-111-0/+5
| | | | | | | | it depends on qtwebengine which inturn depends on chromium which inturn depends on python2 during build. So lets disable it when meta-python2 is not used until such time when chromium does not need python2 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qtbase: Disable LTOKhem Raj2020-11-111-0/+4
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qtbase: fix default value for QMAKE_ARSamuli Piippo2020-11-031-1/+1
| | | | | | | | The QMAKE_AR value is never empty as it always has at least the cqs argument. Use the default value if the variable has exactly one argument. Fixes issue #165. Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
* qtwebkit: Fix build with python 3.9Khem Raj2020-11-032-0/+33
| | | | | | backport a fix to build with python 3.9 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qtwebkit: Fix build when Qt is configured without SSLKhem Raj2020-11-032-0/+35
| | | | | | backport a patch to fix the build error Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qtbase: Fix build on 32-bit arches with 64bit time_t onlyKhem Raj2020-11-034-0/+39
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qt5-creator: upgrade 4.13.1Andreas Müller2020-10-111-2/+2
| | | | Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
* qtwebengine: refresh the patchesMartin Jansa2020-09-0817-77/+77
| | | | | | | | | | | | | | | | * update to match https://github.com/meta-qt5/qtwebengine/commits/b5.15-glibc 5.15-glibc.meta-qt5.8 https://github.com/meta-qt5/qtwebengine/commits/b5.15 5.15-glibc.meta-qt5.8 https://github.com/meta-qt5/qtwebengine-chromium/commits/80-based-glibc 80-based-glibc.meta-qt5.4 https://github.com/meta-qt5/qtwebengine-chromium/commits/80-based 80-based.meta-qt5.4 * 0002-icu-use-system-library-only-targets.patch is only for chromium, so it was updated and moved to right place in SRC_URI * 0014-Fix-sandbox-Aw-snap-for-syscalls-403-and-407.patch prefix was moved to src/3rdparty not src/3rdparty/chromium so that it can apply with "git am" together with other chromium patches Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtwebengine: Fix sandbox freeze for glibc >= 2.31 on 32 bit systemsAndreas Müller2020-09-082-0/+142
| | | | | | | | * patch was taken from meta-browser. The only modification done was adding the error seen Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtwebengine: Fix patch fuzzAndreas Müller2020-09-081-1/+1
| | | | | | | | | | | | | | Fixes: | ERROR: qtwebengine-5.15.0+gitAUTOINC+f526855509_7b2f027ea8-r0 do_patch: Fuzz detected: | | Applying patch 0005-icu-use-system-library-only-targets.patch | patching file src/3rdparty/chromium/third_party/icu/BUILD.gn | Hunk #3 succeeded at 1217 with fuzz 1 (offset 70 lines). | Hunk #4 succeeded at 1430 (offset 74 lines). | Hunk #5 succeeded at 1438 (offset 74 lines). | Hunk #6 succeeded at 1450 (offset 74 lines). Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
* qtwebengine: Fix build by setting correct import pathAndreas Müller2020-09-081-1/+1
| | | | | | | | | | | | | | | | | | * Fixes: | ERROR at //third_party/icu/BUILD.gn:10:1: Unable to load "<...>/qtwebengine/5.15.0+gitAUTOINC+f526855509_7b2f027ea8-r0/git/src/3rdparty/chromium/v8/snapshot_toolchain.gni". | import("//v8/snapshot_toolchain.gni") | ^----------------------------------- | See //url/BUILD.gn:97:15: which caused the file to be included. | deps += [ "//third_party/icu" ] | ^------------------ | Project ERROR: GN run error! * Discussion found at [1] * Build tested with/without icu in PACKAGECONFIG [1] https://github.com/meta-qt5/meta-qt5/pull/351 Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
* qtwebkit: Add patch to fix build with bison 3.7Andreas Müller2020-09-082-0/+53
| | | | | | | | | | | | | Fixes: |... /build/DerivedSources/WebCore/XPathGrammar.cpp:120:10: fatal error: XPathGrammar.hpp: No such file or directory | 120 | #include "XPathGrammar.hpp" | | ^~~~~~~~~~~~~~~~~~ | ... | .../build/DerivedSources/WebCore/CSSGrammar.cpp:160:10: fatal error: CSSGrammar.hpp: No such file or directory | 160 | #include "CSSGrammar.hpp" | | ^~~~~~~~~~~~~~~~ Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
* qtwebengine: fix build with bison-3.7Martin Jansa2020-09-022-0/+53
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qt5: Link with -pthread for riscv64Alistair Francis2020-09-022-0/+4
| | | | | | | | | | Linking with -pthread fixes the missing atomic linker failures on riscv64. Thsi fixes the following linker errors: qtestcase.h:359: more undefined references to `__atomic_fetch_xor_1' follow collect2: error: ld returned 1 exit status Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
* qt5-creator: rrecommend qtwebengine dev related packagesAndreas Müller2020-09-021-0/+4
| | | | | | | | | | | Actually these belong to packagegroup-qt5-toolchain-target but: * qtwebengine is a resource consuming build monster and not mandatory for everybody's qt-toolchain * as far as I tested qtwebengine does not build for clang - so reduce impact for people using clang-toolchain Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
* qt5-creator: Add cmake to RRECOMMENDSAndreas Müller2020-09-021-0/+1
| | | | | | | Without cmake qt-creator is not of much use - most projects use cmake these days and as far as I can remember qt will move to build with cmake. Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
* qt5-creator: Make clang a PACKAGECONFIG - enabled for clang toolchainAndreas Müller2020-09-021-6/+12
| | | | | | | | | | | | | | | | Test case: * meta-clang in layers * gcc toolchain * build qttools with PACKAGECONFIG[clang] enabled to get (native) help tools. After setting clang PACKAGECONFIG at qttools, qt5-creator builds failed due to linker errors: Linker tried to link against native clang tools. Avoid that in the same way as clang-toolchain did but use PACKAGECONFIG. * clang-toolchain builds remain unchanged * a hint was dropped in the recipe to support users failing for same issue Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
* qttools: Force build of native help-tools when clang is set in PACKAGECONFIGAndreas Müller2020-09-022-1/+34
| | | | | | | | | | | | | | | | | | | | Am working on recipes for kdevelop and musescore. These require native help tools - at least because cmake configs reference them. * Have tried other - patch-less - ways to achieve this without success * Tested multiple combinations with and without clang in PACKAGECONFIG * gcc/clang toolchain with expected result: For clang set, native tools are build for clang misssing tools are not build. * Target build remained unchanged because it was buildung help tools with clang in PACKAGECONFIG * Tried also to add the patch to nativesdk but help tools were not build. Stopped further investigation - that is not a use case for me - sorry Note for clang-toolchain users (confused me a bit - now it's obvious): For qttools-native clang has to be set explicitly in PACKAGECONFIG, otherwise native help tools are not build (same as behaviour as before). Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
* qttools: Remove unused variables/configurationsAndreas Müller2020-09-021-11/+0
| | | | | | | | | | | Grepped around in sources of qttools and qtbase: there is not a single hint that these settings cause any effect. For the clang_config.. variables [1] was found: Seems the variables set were removed a while back. [1] https://code.qt.io/cgit/qt/qttools.git/commit/?id=e181ec2c20ede6b878187f3123d190e8b952deb1 Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
* qt5-creator: Update to 4.13.0 beta2Khem Raj2020-08-262-8/+40
| | | | | | Fixed build with clang11 and musl Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qt5-creator: Refresh musl patchKhem Raj2020-08-261-3/+3
| | | | | | | | | | | Fixes Applying patch 0001-Link-with-libexecinfo-on-musl.patch patching file src/plugins/debugger/debugger.pro Hunk #1 succeeded at 140 (offset 1 line). patching file src/plugins/qmldesigner/qmldesignerplugin.pro Hunk #1 succeeded at 4 with fuzz 2 (offset 1 line). Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qtbase: remove path of the build host from qmake.confMingde (Matthew) Zeng2020-07-081-2/+3
| | | | | | | | | | | | | | | | | OE_QMAKE_CFLAGS and OE_QMAKE_CXXFLAGS contain path of the build host, which is not useful for the target, and can be a potential security risk. It looks like the following in the target qmake.conf (actual build host path replaced with $PATH_OF_BUILD_HOST): isEmpty(QMAKE_CFLAGS): QMAKE_CFLAGS = -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=$PATH_OF_BUILD_HOST/qtbase/5.15.0+gitAUTOINC+f6fe4bbab7-r0=/usr/src/debug/qtbase/5.15.0+gitAUTOINC+f6fe4bbab7-r0 -fdebug-prefix-map=$PATH_OF_BUILD_HOST/qtbase/5.15.0+gitAUTOINC+f6fe4bbab7-r0=/usr/src/debug/qtbase/5.15.0+gitAUTOINC+f6fe4bbab7-r0 -fdebug-prefix-map=$PATH_OF_BUILD_HOST/qtbase/5.15.0+gitAUTOINC+f6fe4bbab7-r0/recipe-sysroot= -fdebug-prefix-map=$PATH_OF_BUILD_HOST/qtbase/5.15.0+gitAUTOINC+f6fe4bbab7-r0/recipe-sysroot-native= -fmacro-prefix-map and -fdebug-prefix-map are therefore removed from qmake.conf on the target, as these are default options only that can be overridden any time. Signed-off-by: Mingde (Matthew) Zeng <matthew.zeng@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* icu: use system library only targetsAndrej Valek2020-07-082-1/+92
| | | | | | | | | | | | - use bundled one for native/v8 internal builds Complete system ICU library using requires ICU dev package be installed on host. Enabling dependency on native package is not enough due to V8 hosttools toolchain. V8 toolchain is not using native sysroot, only a host packages. On the other hand webenegine does not produce external native artifacts. So external system ICU linking is not needed. Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
* ogl-runtime: update to v2.7.0Mikko Gronoff2020-07-071-3/+3
| | | | Signed-off-by: Mikko Gronoff <mikko.gronoff@qt.io>
* qt5-creator_git: add x11 and opengl to REQUIRED_DISTRO_FEATURESMingde (Matthew) Zeng2020-07-071-0/+3
| | | | Signed-off-by: Mingde (Matthew) Zeng <matthew.zeng@windriver.com>
* qtwayland: conditional to support PACKAGECONFIG wayland-eglHongxu Jia2020-07-071-1/+1
| | | | | | If opengl not in DISTRO_FEATURES, there will be no virtual/egl provider Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
* qtbase: Add vulkan to PACKAGECONFIGsTom Hochstein2020-05-281-0/+1
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>