Commit Graph

1196 Commits

Author SHA1 Message Date
Martin Jansa
6a37d8646d qtwebengine: few more fixes for gcc-11
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-05-10 12:48:53 +02:00
Martin Jansa
ad1d10ae58 qtwebengine: lower MODULE_VERSION to 5.15.2
* as we cannot upgrade all modules past 5.15.2 due to license change
  and the branches for 5.15.4 not available publicly, but qtwebengine
  and the chromium bits which are probably most important for security
  fixes are available and hopefully we can use them for non-commercial
  use

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-05-10 12:48:53 +02:00
Martin Jansa
6a0cbc0b06 qtwebengine: upgrade to latest 5.15 and 87-based, fix build with gcc-11
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-05-10 12:48:49 +02:00
Martin Jansa
fab0e0522c qtwebengine: add dependency on nodejs-native
* it's mandatory since this commit:
  commit c9d902ca6ca3b1aa2e2762329d18c226d26520af
  Author: Allan Sandfeld Jensen <allan.jensen@qt.io>
  Date:   Fri Nov 6 09:16:15 2020 +0100

    Adaptations for Chromium 87

* unfortunatelly missing this dependency only shows an warning in do_configure:
  Note: The following modules are not being compiled in this configuration:
      webenginecore
      webengine
      webenginewidgets

  WARNING: Nodejs is required to build QtWebEngine.

  WARNING: QtWebEngine will not be built.

  and then it fails in do_install with:

  make[1]: Leaving directory '/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/qtwebengine/5.15.3+gitAUTOINC+f121523512_9406a89a9d-r0/build/src'
  sed: can't read /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/qtwebengine/5.15.3+gitAUTOINC+f121523512_9406a89a9d-r0/image/usr/lib/pkgconfig/Qt5WebEngineCore.pc: No such file or directory
  WARNING: exit code 2 from a shell command.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-05-08 13:28:06 +02:00
Martin Jansa
1a55d73c26 qtwebengine: remove PACKAGECONFIG for jsoncpp and protobuf
* removed in:
  commit ed0f3c2ef0f17c82f9ba1e8b687f46f468c705c7
  Author: Allan Sandfeld Jensen <allan.jensen@qt.io>
  Date:   Fri Jan 15 15:38:14 2021 +0100

    Remove configure options that doesn't work

    They are just confusing users.

* fixes:
  ERROR: Enabling/Disabling unknown feature 'webengine-system-jsoncpp'.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-05-08 13:28:06 +02:00
Martin Jansa
ce60f85e24 qtwebengine: upgrade to 5.15.4 with chromium-87
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-05-08 13:28:06 +02:00
Andreas Müller
41027a6188 qt5-creator: upgrade 4.14.0 -> 4.14.2
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2021-04-29 10:54:51 +02:00
Andreas Müller
100c1dce31 qt5-creator: Fix build with LLVM 12 / clang PACKAGECONFIG enabled
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2021-04-29 10:54:51 +02:00
Andreas Müller
08550c223c qtquickcontrols2: Fix broken Menu slipping out of screen for 2nd+ open
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2021-04-16 23:11:15 +02:00
Khem Raj
ecdb62b1e5 qtwebengine: Fix build with GCC 11
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-04-10 01:39:16 +02:00
Khem Raj
3e9c7363a1 qtwebengine: Add unconditional dep on libxkbcommon
It seems qtwebengine 5.15.1+ wants this regardless of X11 being
in distro features

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-04-10 01:39:16 +02:00
Khem Raj
d404dc5811 ogl-runtime: Fix build on ppc64
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-04-10 01:39:16 +02:00
Khem Raj
fd463388e1 qtwebkit: Disable bmalloc on mips/ppc/riscv
This is needed along when JIT is disabled see
https://bugs.webkit.org/attachment.cgi?id=342881&action=diff

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-04-10 01:39:16 +02:00
Martin Jansa
a00af3eae0 layer.conf: update LAYERSERIES_COMPAT for hardknott
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-03-17 11:52:56 +01:00
Khem Raj
324843cb1a qtwebkit: Fix build with gcc11/riscv
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-10 13:09:35 +01:00
Khem Raj
a1981938c2 qt3d: Fix build on riscv/gcc11
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-10 13:09:35 +01:00
Khem Raj
9e17c61bee qtwebkit: Disable gold linker for riscv/ppc/mips
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>
2021-03-10 13:09:35 +01:00
Andreas Müller
0d509efd27 qt5-creator: Fix parse with latest meta-clang
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>
2021-03-05 22:30:09 +01:00
Khem Raj
29024f1e40 qtdeclarative: Another fix for gcc11
This was left out since v1 not v2 of the prior patch was merged.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-04 23:48:49 +01:00
Khem Raj
36f4a9ccd1 qtdeclarative: Fix build with gcc11
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-04 10:27:14 +01:00
Khem Raj
5f0892c0e3 qtbase: Fix build with gcc-11
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-04 10:27:14 +01:00
Dan Christensen
647768d9fe qtbase: Define OE_QMAKE_OBJCOPY for linux-oe-g++
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>
2021-03-02 17:25:12 +01:00
Khem Raj
1bc37d0fb2 qtwebkit: Do not use gold with riscv64
gold is not support with riscv

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-02 17:24:16 +01:00
Ulrich Ölmann
7e08416b2f qtdeclarative: fix buildtime configuration
Without this line PACKAGECONFIG did not have any influence on the actual package
configuration.

Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
2021-03-02 17:23:37 +01:00
Kai Kang
23f7a1c8ea qtdeclarative: overwrite do_install_ptest
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>
2021-02-08 17:40:32 +01:00
Martin Jansa
9029ee42db qt5-native.inc, nativesdk-qt5.inc, 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>
2021-01-27 20:18:56 +01:00
Martin Jansa
7520e38d18 qtwebengine: refresh the patches
* 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>
2021-01-27 13:30:03 +01:00
Martin Jansa
b6f9fee5a3 qtbase: revert one commit to fix build in some configurations
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-01-26 08:55:13 +01:00
Jani Suonpera
9d8457ad32 Add nativesdk-qtdeclarative-tools to nativesdk packagegroup
Github issue: https://github.com/meta-qt5/meta-qt5/issues/128

Task-number: QTBUG-89188
Change-Id: I5becaab46b1af0bcb130905ba5177c28d31e2452
2021-01-22 17:50:01 +01:00
Jani Suonpera
39599c2c05 Update qtwebengine-chromium
Newer hash from 83-based branch.

Change-Id: I3e944e8bf9ced2311569f298016a168c1336dc26
2021-01-22 17:49:57 +01:00
Jani Suonpera
280487f20b Update to Qt 5.15.2
Signed-off-by: Jani Suonpera <jani.suonpera@qt.io>
Change-Id: I5992e74cf524f9378dab64503345111b1cc159f2
2021-01-22 12:00:07 +01:00
Chenxi Mao
cad441b376 QTWebkit: Support RISC-V ISA on QTwebkit
There are 3 changes to support RISC-V
1. Add a patch to support RISC-V CPU
2. Disable JIT as mips/ppc did
2021-01-22 12:00:00 +01:00
Chenxi Mao
31c137e51f QtWebkit: Set release build by default
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>
2021-01-22 11:58:01 +01:00
Khem Raj
83ab966e79 qtwebengine: Fix build with clang-11
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-01-22 11:55:49 +01:00
Andreas Müller
217f87c1fe qt5-creator: upgrade 4.13.1 -> 4.14.0
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2021-01-22 11:51:45 +01:00
Andreas Müller
10192efec0 qt5-creator: Fix rpath QA error
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>
2021-01-22 11:51:45 +01:00
Andreas Müller
82b9932fe2 qt5-creator: remove stale desktop file
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2021-01-22 11:51:45 +01:00
Andreas Müller
2c2403e213 qtwebkit: fix build with icu >= 68
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2021-01-22 11:51:45 +01:00
Khem Raj
7a9f639fbd qt5-creator: Skip it when meta-python2 is not in layermix
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>
2020-11-11 19:14:14 +01:00
Khem Raj
df46d9212f qtbase: Disable LTO
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-11-11 19:14:14 +01:00
Samuli Piippo
21ce4c124d qtbase: fix default value for QMAKE_AR
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>
2020-11-03 17:02:08 +01:00
Khem Raj
a72c04ee79 qtwebkit: Fix build with python 3.9
backport a fix to build with python 3.9

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-11-03 17:01:57 +01:00
Khem Raj
1d946dc8f4 qtwebkit: Fix build when Qt is configured without SSL
backport a patch to fix the build error

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-11-03 17:01:57 +01:00
Khem Raj
f60771c37c qtbase: Fix build on 32-bit arches with 64bit time_t only
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-11-03 17:01:57 +01:00
Martin Jansa
8d5672cc6c layer.conf: include gatesgarth in LAYERSERIES_COMPAT as well
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-10-15 15:42:09 +02:00
Andreas Müller
33af7d85d1 qt5-creator: upgrade 4.13.1
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2020-10-11 17:09:10 +02:00
Daniel Gomez
0df7c5d1f2 python3-pyqt5: Update recipe to use pypi class
*  Update recipe to inherit from pypi class.
*  Update homepage.

Signed-off-by: Daniel Gomez <daniel@qtec.com>
2020-10-11 17:07:28 +02:00
Daniel Gomez
26142d60a5 pyqtchart: Update to version 5.15.1 and use pypi
Old version no longer available through riverbankcomputing.com.
Update to 5.15.1 and download the package sources using pypi class.

Signed-off-by: Daniel Gomez <daniel@qtec.com>
2020-10-11 17:07:19 +02:00
Martin Jansa
0aca81dfd4 cinematicexperience: don't use trailing slash in S
* see oe-core base.bbclass changes from:
  https://lists.openembedded.org/g/openembedded-core/message/143159
  https://lists.openembedded.org/g/openembedded-core/message/143161

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-10-09 15:24:14 +02:00
Martin Jansa
2f17a26d2f python3-pyqt5: upgrade to final 5.15.1
* use the released version from:
  https://www.riverbankcomputing.com/news/PyQt_v5.15.1_Released
  because the snapshots are pruned very quickly and were causing many fetch issues
  as the http://sources.openembedded.org/ is no longer updated from meta-qt5 builds
* unfortunately this will sort lower than 5.15.1.dev2008271829 added in:
  1650757f41
  I should have rejected it before, if you care about binary package feeds, then send PE bump

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-09-15 16:10:17 +02:00