Commit Graph

1203 Commits

Author SHA1 Message Date
Martin Jansa
a6bee8ea4c Convert to new override syntax
This is the result of automated script (0.9.0) conversion:

oe-core/scripts/contrib/convert-overrides.py .

converting the metadata to use ":" as the override character instead of "_".

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-03 13:38:16 +02:00
Andreas Müller
10f3673fd4 qt5-creator: upgrade 4.15.0 -> 4.15.2 and fix build with clang/llvm 13+
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2021-07-23 14:36:13 +02:00
Khem Raj
45c45a1524 qtwayland: Check for wayland feature for enabling wayland-egl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-06-23 18:34:16 +02:00
Philipp Zabel
aa96d3b978 qtwebengine: Add missing dbus dependency
QtWebEngine has a hard dependency on D-Bus, which is currently
fulfilled indirectly via the pulseaudio dependency. As soon as
pulseaudio is disabled via DISTRO_FEATURES_BACKFILL_CONSIDERED,
building QtWebEngine fails.
Add a direct dbus dependency to qtwebengine_git.bb to fix this.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-06-01 09:49:34 +02:00
Andreas Müller
51a61c2514 cmake_qt5: Add correct qtbase DEPENDS
Discussion started at [1]

To start a proper fix, set qtbase dependencies depending on target.

[1] https://github.com/Freescale/meta-freescale/issues/798

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-05-31 23:20:52 +02:00
Andreas Müller
e006b9b77b qwt-qt5: upgrade 6.1.4 -> 6.1.5
Backported patch can go

=========
Qwt 6.1.5
=========

1) Maintenance

	- Avoid using some of the deprecated Qt APIs
	- Missing includes of QPainterPath ( Qt 5.15 ) added
	- QwtPlotSpectroCurve: missing public inheritance
	- QwtPlotTradingCurve: missing public inheritance

2) Bug fixes

	- QwtLinearColorMap: handling of alpha values in color stops fixed

	- QwtPlotRasterItem: missing color table initialization for
                         QImage::Format_Indexed8

	- QwtScaleWidget: missing QEvent::LayoutRequest added
	- QwtSetSample: bound rectangle fixed for empty sets

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2021-05-19 11:56:29 +02:00
Martin Jansa
a2882fecc9 qtwebengine: few more fixes for gcc-11
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-05-10 12:49:06 +02:00
Martin Jansa
72772ba86f 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:49:06 +02:00
Martin Jansa
c92031e372 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:49:02 +02:00
Martin Jansa
9d403addb3 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:27:07 +02:00
Martin Jansa
21a96e585c 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:27:07 +02:00
Martin Jansa
047eab9e26 qtwebengine: upgrade to 5.15.4 with chromium-87
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-05-08 13:27:07 +02:00
Andreas Müller
5dfe73a6ef qt5-creator: upgrade 4.14.2 -> 4.15.0
* 4.15.0 build fine with gcc11
* backported patch can go - it is upstream

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2021-05-08 13:26:45 +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