Commit Graph

1076 Commits

Author SHA1 Message Date
Adrian Fiergolski
caf09cd53c Add PyQtChart.
Signed-off-by: Adrian Fiergolski <adrian.fiergolski@fastree3d.com>
2020-02-06 14:01:49 +01:00
Nicola Lunghi
f18d5948bb qtbase: fix build with platform where FE macro are not defined
see added patch

Signed-off-by: Nicola Lunghi <nick83ola@gmail.com>
2020-02-06 14:00:41 +01:00
Andreas Müller
c8cd55b030 qtwebkit: build with python3
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2020-02-06 13:59:16 +01:00
Khem Raj
0bbd0ebe27 qtwebengine: Link libatomic on x86/32bit
Fixes CAS link errors

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-02-03 13:40:15 +01:00
Martin Jansa
239147405e Revert "qtwebkit: remove"
This reverts commit a35403dcf6.

But keep the dependency from packagegroup-qt5-toolchain-target, qt5-creator
removed as most people won't really need this. Andreas and meta-qt5-extra
still need qtwebkit as reported here:
https://github.com/meta-qt5/meta-qt5/pull/273#issuecomment-578536852

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-02-03 13:38:06 +01:00
Martin Jansa
8cadcbcb52 qt5: upgrade to 5.14.1
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-01-27 14:36:20 +01:00
Martin Jansa
f13a3cec17 packagegroup-qt5-toolchain-target: Use TUNE_PKGARCH instead of MACHINE_ARCH
* it was changed to MACHINE_ARCH in:
  commit 0d88f4488f (marc-cpdesign/master-next, marc-cpdesign/jansa/master)
  Author: Khem Raj <raj.khem@gmail.com>
  Date:   Thu Dec 5 11:31:27 2019 -0800

    packagegroup-qt5-toolchain-target: Make machine specific

    We want to deploy arch specific overrides

    Signed-off-by: Khem Raj <raj.khem@gmail.com>

* but TUNE_PKGARCH qt5-creator has packagegroup-qt5-toolchain-target in
  RRECOMMENDS_${PN} causing:

   === Comparing signatures for task do_package_write_ipk.sigdata between tissot and mido ===
  ERROR: qt5-creator different signature for task do_package_write_ipk.sigdata between tissot and mido
  NOTE: Starting bitbake server...
  Hash for dependent task packagegroups/packagegroup-qt5-toolchain-target.bb:do_packagedata changed from f8a21ed2c484abfbadae768ec9a2e04883e80fe7ac32f7eaf442f12b4cd1b65b to bd700f438812693132a93e88c2518c81818d89856d8793b8eae479dc7a180b68
  Unable to find matching sigdata for /home/jenkins/workspace/luneos-testing/webos-ports/meta-qt5/recipes-qt/packagegroups/packagegroup-qt5-toolchain-target.bb:do_packagedata with hashes f8a21ed2c484abfbadae768ec9a2e04883e80fe7ac32f7eaf442f12b4cd1b65b or bd700f438812693132a93e88c2518c81818d89856d8793b8eae479dc7a180b68

  ERROR: 1 errors found in /home/jenkins/workspace/luneos-testing/webos-ports/tmp-glibc/sstate-diff/1579172712/signatures.mido.do_package_write_ipk.sigdata.log

* use TUNE_PKGARCH to match qt5-creator while still allowing arch
  specific overrides

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-01-24 12:27:15 +01:00
Martin Jansa
a35403dcf6 qtwebkit: remove
* it wasn't updated for very long time and I assume that all users already migrated to qtwebengine
  if not let me know that you'll start maintaining this recipe

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-01-24 11:57:45 +01:00
Martin Jansa
a797f85c6f python-pyqt5, qtwebengine, qtwebkit, qt-kiosk-browser: skip without meta-python2
Neither of these actually builds with python3, skip them when
meta-python2 isn't included until real fix is available.

qtwebkit might not get the support for python3 at all

qtwebengine I have some changes for the initial build, but there
are many more needed as shown in upstream chromium:
https://bugs.chromium.org/p/chromium/issues/detail?id=942720
https://bugs.chromium.org/p/chromium/issues/list?q=label%3AProj-Python3Migration&can=2

python-pyqt5 is already blacklisted because of sip

qtwebengine with python3 shows in log.do_configure that it won't actually
build qtwebengine, but it doesn't fail. do_compile fails but with a bit
misleading error:

ERROR: qtwebengine-5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0 do_compile: oe_runmake failed
ERROR: qtwebengine-5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0 do_compile: Execution of '/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/temp/run.do_compile.16479' failed with exit code 1:
cd src/ && ( test -e Makefile || /home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/recipe-sysroot-native/usr/bin/qmake -o Makefile /home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/git/src/src.pro CONFIG+=force_debug_info QT_BUILD_PARTS-=examples QT_BUILD_PARTS-=tests 'QMAKE_CXX=x86_64-webos-linux-g++  -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse --sysroot=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/recipe-sysroot' 'QMAKE_CC=x86_64-webos-linux-gcc  -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse --sysroot=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/recipe-sysroot' 'QMAKE_LINK=x86_64-webos-linux-g++  -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse --sysroot=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/recipe-sysroot' 'QMAKE_CFLAGS= -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0=/usr/src/debug/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0                      -fdebug-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0=/usr/src/debug/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0                      -fdebug-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/recipe-sysroot=                      -fdebug-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/recipe-sysroot-native= ' 'QMAKE_CXXFLAGS= -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0=/usr/src/debug/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0                      -fdebug-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0=/usr/src/debug/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0                      -fdebug-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/recipe-sysroot=                      -fdebug-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/recipe-sysroot-native=  -fvisibility-inlines-hidden' -after ) && make -f Makefile
make[1]: Entering directory '/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/build/src'
/bin/sh: 1: Syntax error: "(" unexpected
Makefile:295: recipe for target 'errorbuild' failed
make[1]: *** [errorbuild] Error 2
make[1]: Leaving directory '/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/build/src'
Makefile:48: recipe for target 'sub-src-make_first' failed
make: *** [sub-src-make_first] Error 2
WARNING: exit code 1 from a shell command.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-01-24 11:57:37 +01:00
Martin Jansa
b1f4f1fdd0 Revert "recipes: Use python3 during build"
This reverts commit 47fb26dedd.

Neither of these actually builds with python3, it's good fix to
start parsing the layer again, but better to just skip them when
meta-python2 isn't available until real fix is available.

qtwebkit might not get the support for python3 at all

qtwebengine I have some changes for the initial build, but there
are many more needed as shown in upstream chromium:
https://bugs.chromium.org/p/chromium/issues/detail?id=942720
https://bugs.chromium.org/p/chromium/issues/list?q=label%3AProj-Python3Migration&can=2

python-pyqt5 is already blacklisted because of sip

qtwebengine with python3 shows in log.do_configure that it won't actually
build qtwebengine, but it doesn't fail. do_compile fails but with a bit
misleading error:

ERROR: qtwebengine-5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0 do_compile: oe_runmake failed
ERROR: qtwebengine-5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0 do_compile: Execution of '/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/temp/run.do_compile.16479' failed with exit code 1:
cd src/ && ( test -e Makefile || /home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/recipe-sysroot-native/usr/bin/qmake -o Makefile /home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/git/src/src.pro CONFIG+=force_debug_info QT_BUILD_PARTS-=examples QT_BUILD_PARTS-=tests 'QMAKE_CXX=x86_64-webos-linux-g++  -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse --sysroot=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/recipe-sysroot' 'QMAKE_CC=x86_64-webos-linux-gcc  -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse --sysroot=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/recipe-sysroot' 'QMAKE_LINK=x86_64-webos-linux-g++  -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse --sysroot=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/recipe-sysroot' 'QMAKE_CFLAGS= -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0=/usr/src/debug/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0                      -fdebug-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0=/usr/src/debug/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0                      -fdebug-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/recipe-sysroot=                      -fdebug-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/recipe-sysroot-native= ' 'QMAKE_CXXFLAGS= -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0=/usr/src/debug/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0                      -fdebug-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0=/usr/src/debug/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0                      -fdebug-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/recipe-sysroot=                      -fdebug-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/recipe-sysroot-native=  -fvisibility-inlines-hidden' -after ) && make -f Makefile
make[1]: Entering directory '/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/build/src'
/bin/sh: 1: Syntax error: "(" unexpected
Makefile:295: recipe for target 'errorbuild' failed
make[1]: *** [errorbuild] Error 2
make[1]: Leaving directory '/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/build/src'
Makefile:48: recipe for target 'sub-src-make_first' failed
make: *** [sub-src-make_first] Error 2
WARNING: exit code 1 from a shell command.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-01-24 11:56:35 +01:00
Khem Raj
47fb26dedd recipes: Use python3 during build
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-01-20 10:42:50 +01:00
Khem Raj
4060f68d52 qt-kiosk-browser: Only support arm/x86
Since it depends on qtwebengine and qtwebengine only supports these
arches

Fixes
executing config test webengine-arch-support
Architecture not supported.
test config.qtwebengine_buildtools.tests.webengine-arch-support FAILED

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-01-17 01:30:32 +01:00
Khem Raj
fd376e159d qtwebengine: Fix missing headers found in build with clang
Fixes
chromium/third_party/perfetto/include/perfetto/base/task_runner.h:48:55: error: unknown type name 'uint32_t'
|   virtual void PostDelayedTask(std::function<void()>, uint32_t delay_ms) = 0;

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-01-17 00:20:58 +01:00
Khem Raj
7f324f11bb gstreamer1.0-plugins-good: Adjust bbappend for meson migration in core
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-01-17 00:20:58 +01:00
Samuli Piippo
1365691f40 qttools: remove ptest installation
Remove last bit of ptest functionality from qttools as no
tests are build anymore.

Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
2020-01-17 00:20:54 +01:00
Otavio Salvador
254576f9b4 qt-kiosk-browser: Add recipe
The Qt Kiosk Browser provides a simple browser which offers a nice set
of features for use on a Kiosk device. It supports:

- Out of box screen saver
- Virtual Keyboard
- Highly configurable

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-01-13 23:27:14 +01:00
Marc Reilly
47399df989 nativesdk-packagegroup: fix cmake builds using sdk
The cmake toolchain init files are packaged into nativesdk-qtbase-dev.

Signed-off-by: Marc Reilly <marc@cpdesign.com.au>
2020-01-13 13:58:53 +01:00
Alexandru Croitor
1b8e557011 qtbase: Use pcre packages by default
This forces using the yocto provided package instead
of the one in qtbase/src/3rdparty.

Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-01-11 14:59:12 +01:00
Samuli Piippo
fd7ac08991 qt5: use PACKAGECONFIG to disable tests and examples
Currently if qtbase has tests or examples enabled, they will
be enabled for every Qt module as well. Change the PACKAGECONFIG
options so that they need to be explicitly enabled for each Qt module.

Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
2020-01-11 14:59:12 +01:00
Samuli Piippo
1a7c8fa42c qtlocation: use geoclue 2
QtLocation now has plugin for geoclue 2, remove old comment
and change geoclue to be runtime dependency.

Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
2020-01-11 14:59:12 +01:00
Samuli Piippo
ddbf8dd005 qtbase: use offscreen platform plugin for tools
Use offscreen platform plugin when running tools in native and
nativesdk. It provides font support without additional settings.

Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
2020-01-11 14:59:12 +01:00
Samuli Piippo
4f701ea135 qtbase: add openssl PACKAGECONFIG for native nativesdk
Add PACKAGECONFIG option to enable openssl for qtbase-native
and nativesdk-qtbase recipes, since some build tools require
openssl to be enabled.

Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
2020-01-11 14:59:12 +01:00
Samuli Piippo
56b2c13d17 qtbase-native: disable vulkan support
Vulkan may get enabled if the host has vulkan headers available,
which will cause a build break.

Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
2020-01-11 14:59:12 +01:00
Samuli Piippo
6b34fd17c2 maliit-framework-qt5: fix test installations
The install rules have been broken, but so far qmake has been
ignoring the errors.

Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
2020-01-11 14:59:12 +01:00
Samuli Piippo
aa50163cbe qtenginio: remove obsolete module
QtEnginio hasn't been supported in a long while.

Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
2020-01-11 14:59:12 +01:00
Samuli Piippo
32edd746fd ogl-runtime: update to v2.5.0 release
Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
2020-01-11 14:59:12 +01:00
Mikko Gronoff
f7dcc706cb qtquick3d: add recipe
Additionally include *.mesh to fix
  QA Issue: qtquick3d: Files/directories were installed but not shipped in any package:
  /usr/lib/qml/QtQuick3D/Helpers/meshes
  /usr/lib/qml/QtQuick3D/Helpers/meshes/axisGrid.mesh

Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
2020-01-11 14:59:12 +01:00
Martin Jansa
b814111ed2 qtwebengine: refresh the patches and upload them to meta-qt5 forks on github for maintenance
* fixes 0004-mkspecs-Allow-builds-with-libc-glibc.patch which didn't apply at all,
  because the modified mkspecs/features/configure.prf was dropped completely in:
  commit 047d61f188aae3fe3ebc689900b8a5c9fb6e901d
  Author: Michal Klocek michal.klocek@qt.io
  Date: Fri Aug 9 17:40:29 2019 +0200

  Add webengine-core feature

  The same chunk can be found in src/buildtools/config/support.pri, so I've updated
  the .patch accordingly, but haven't tried the build with musl yet.

* fixes 0023-chromium-Move-CharAllocator-definition-to-a-header-f.patch to apply
  ERROR: qtwebengine-5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0 do_patch: Command Error: 'quilt --quiltrc /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/recipe-sysroot-native/etc/quiltrc push' exited with 0  Output:
  Applying patch 0023-chromium-Move-CharAllocator-definition-to-a-header-f.patch
  patching file chromium/cc/base/list_container_helper.cc
  Hunk #1 FAILED at 13.
  1 out of 1 hunk FAILED -- rejects in file chromium/cc/base/list_container_helper.cc
  patching file chromium/cc/base/list_container_helper.h
  Hunk #1 FAILED at 8.
  Hunk #2 succeeded at 174 with fuzz 1.
  1 out of 2 hunks FAILED -- rejects in file chromium/cc/base/list_container_helper.h
  Patch 0023-chromium-Move-CharAllocator-definition-to-a-header-f.patch does not apply (enforce with -f)
  ERROR: Logfile of failure stored in: /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/temp/log.do_patch.21067
  NOTE: recipe qtwebengine-5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0: task do_patch: Failed
  ERROR: Task (/OE/build/oe-core/meta-qt5/recipes-qt/qt5/qtwebengine_git.bb:do_patch) failed with exit code '1'

* build is still going (it will be a while on my slow builder)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-01-11 14:59:12 +01:00
Martin Jansa
1fde17e1a5 qtbase: refresh the patches and upload them to meta-qt5 forks on github for maintenance
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-01-11 14:59:12 +01:00
Samuli Piippo
ca649e3f6f qt5: Update to Qt 5.14.0
Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
2020-01-11 14:03:48 +01:00
Martin Jansa
ede15adc71 qtbase: Fix patch fuzz detected with devtool
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-01-11 14:02:15 +01:00
Khem Raj
e8221c2c9a qtbase: Backport the patch from upstream gerrit
This should address
f6ad80f95a (commitcomment-36707349)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-01-10 12:28:51 +01:00
Khem Raj
ca2f53f91a qt5-creator: Update musl patch to link qmldesigner with -lexecinfo
Fixes link failures like below

src/plugins/qmldesigner/designercore/exceptions/exception.cpp:116: undefined reference to `backtrace'

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-01-10 12:28:51 +01:00
Khem Raj
6e7cc682c2 qtwebengine: Move CharAllocator definition to header
This helps in getting full class definition, in other sources which are
operating on sizeof operator, clang10 finds it insufficient information
and errors out reporting that sizeof can not be applied on a forward
declared class. This patch fixes that

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-01-07 11:19:28 +01:00
Khem Raj
33a86256ec qt5-creator: Add missing dep on libz.so
clang finds it since it has libz.so/native and accidentally decides to
use that, but since its a cross build it fails to link.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-01-07 11:19:28 +01:00
Khem Raj
3d47a5698b qt5-creator: Make clang-format patch work with multiple clang versions
FormatStyle APIs keeps changing with clang versions. So there is no
better way than checking for clang version to decide types, this ensures
that it can build with various clang revs

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-01-07 11:19:25 +01:00
Khem Raj
d8f0db7f8d qtwebengine: Include cstddef for size_t definition
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-25 16:12:05 -08:00
Khem Raj
b6bd407eea qmllive: Fix build with multilib settings
Fixes
ERROR: qmllive-5.12+gitAUTOINC+0c7bf141b0-r0 do_package: QA Issue: qmllive: Files/directories were installed but not shipped in any p
ackage:
  /usr/lib/libqmllive.so.1.0
  /usr/lib/libqmllive.so
  /usr/lib/libqmllive.so.1.0.0
  /usr/lib/libqmllive.so.1
  /usr/lib/pkgconfig
  /usr/lib/pkgconfig/qmllive.pc

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-19 13:49:05 -08:00
Khem Raj
69e1fd33c1 quazip: Fix multilib builds
Fixes following errors when baselin != lib

ERROR: quazip-0.7.3-r0 do_package: QA Issue: quazip: Files/directories were installed but not shipped in any package:
  /usr/lib/libquazip.so
  /usr/lib/libquazip.so.1
  /usr/lib/libquazip.so.1.0
  /usr/lib/libquazip.so.1.0.0

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-19 13:25:54 -08:00
Khem Raj
a4db065bed qtwebkit: Fix linking errors on clang/mips/ppc
Disable JIT on mips32/ppc as well

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-18 16:52:52 -08:00
Khem Raj
f756a06533 ogl-runtime: Only compile for supported architectures
EASTL does not yet support all architectures that oe does
so this is better to limit it to supported ones

https://code.qt.io/cgit/qt3dstudio/qt3dstudio-eastl.git/tree/UnknownVersion/include/EABase/config/eaplatform.h

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-18 16:52:45 -08:00
Khem Raj
710d995b54 qttools: Add option to disable qdoc
qdoc needs clang on build host, therefore add an option so it can
disabled when clang is not part of build system, it can also peek into
build host and if there is a version of clang installed it will
configure for it but then conflict with gcc during compilation

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-14 19:35:57 -08:00
Khem Raj
a02e01ca68 qttools: Use CONFIG+=disable_external_rpath
Avoids using tools to remove rpaths later on

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-14 17:03:32 -08:00
Khem Raj
0d88f4488f packagegroup-qt5-toolchain-target: Make machine specific
We want to deploy arch specific overrides

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-09 12:11:33 +01:00
Khem Raj
2a2055fab9 recipes: Disable clang dependent recipes for riscv64/32
Since clang is not buildable for RISC-V, as yet, these should be
disabled as well.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-09 12:11:33 +01:00
Khem Raj
25039161c1 qtwebengine: Fix build with 64bit time_t on 32bit architectures
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-02 15:14:31 +01:00
Christopher Larson
4f3ed3ed49 qtwebkit: add missing flex-native dep
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2019-11-28 04:55:13 +01:00
Khem Raj
456ec4ac95 qt5-creator, qtbase: Replace python with python3
Ensure py3 is used during build

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-28 04:55:09 +01:00
Khem Raj
f264e5dd1b qtdeclarative: Ask for python3 explicitly
Python2 is going out in Jan 2020

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-27 10:45:51 +01:00
Khem Raj
f6ad80f95a qtbase: Fix build on 32bit arches with 64bit time_t
time element is deprecated on new input_event structure in kernel's
input.h

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-27 10:45:51 +01:00