Commit Graph

1052 Commits

Author SHA1 Message Date
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
Khem Raj
b7f4bd209c recipes: Use features_check instead of distro_features_check
distro_features_check is now deprecated

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-27 10:45:51 +01:00
Khem Raj
1a4ee018f4 qtwebengine: Fix musl build
Currently, musl build fails to generate .pc ( packageconfig ) files
because qmake has logic to detect glibc, which obviously will be failing
for musl, and as a result it does not generate all needed files which
then fails during do_install like below

| sed: can't read /mnt/b/yoe/build/tmp/work/core2-32-yoe-linux-musl/qtwebengine/5.13.2+gitAUTOINC+556576b55f_843d70ac87-r0/image/usr/lib/pkgconfig/Qt5WebEngineCore.pc: No such file or directory

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-20 13:51:18 +01:00
Khem Raj
02715fff5e pyqt5: Upgrade to 5.13.2
Blacklist py2 version, it does not build and py2 is on its way out in
Jan 2020 anyway

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-20 13:51:18 +01:00
Martin Jansa
432ad2aa6c qttools: don't install tst_qtattributionsscanner
* no longer enabled in cross builds since upstream commit:
  commit de220c1a8459b0d5a4080e0d637e1a5e5a920394
  Author: Kai Koehne <kai.koehne@qt.io>
  Date:   Thu Jun 20 12:18:35 2019 +0200

    Disable tests not working for Android and WinRT

    Fixes: QTBUG-73626
    Fixes: QTBUG-73627
    Fixes: QTBUG-73628
    Fixes: QTBUG-73629
    Fixes: QTBUG-73630

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2019-11-01 10:58:21 +00:00
Martin Jansa
81156172a8 qt5: Upgrade to Qt 5.13.2
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2019-10-31 15:26:55 +00:00
Francesco Mocci
267e646125 python(3)-pyqt5: add qml support
* drop unnecessary PYQT_MODULES override with the same value

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2019-10-31 15:26:31 +00:00
Christophe Chapuis
653e12fdb5 libqofono: bump SRCREV and add a fix for voicecall
This fix is currently in discussion upstream for merge:
https://git.merproject.org/mer-core/libqofono/merge_requests/16

Signed-off-by: Christophe Chapuis <chris.chapuis@gmail.com>
2019-10-30 14:33:18 +00:00
Andreas Holzammer
cefb48e917 qtbase: Add PACKAGECONFIG for lttng
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2019-10-15 08:33:14 +00:00
Khem Raj
911b346b0d layer: Mark zeus as compatible release
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-10-09 00:45:35 +00:00
Khem Raj
c3732724ca ogl-runtime: Fix build on x86_64
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-10-08 20:02:46 +00:00
Khem Raj
9172ba1c74 README.md: Document need for 32bit host compiler
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-10-08 20:02:46 +00:00
Khem Raj
db2fd6c263 qtwayland: Fix build with clang/libc++
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-10-08 20:02:46 +00:00
Khem Raj
6b5122ef14 qtbase: Fix build when fp16 is used
Conversions between float and half are only available when the
taraget has the half-precision extension. Guard these intrinsics
accordingly

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-10-08 20:02:46 +00:00
Mikko Gronoff
6442c54d10 qt3d-runtime: update to ogl-runtime v2.4
Qt 3D Studio Runtime 2.x switches/upgrades to OpenGL Runtime with
version update 2.3 -> 2.4.
* Contains new 3rdparty submodule EASTL (Electronic Arts Standard
  Template Library), recipe adjusted accordingly.
* format-security, examples & musl libc build issues fixed

Signed-off-by: Mikko Gronoff <mikko.gronoff@qt.io>
2019-09-23 13:29:46 +00:00
Samuli Piippo
7bb213be19 qtvirtualkeyboard: update supported layouts
Update PACKAGECONFIGs with all the supported keyboard layouts.

Change-Id: I943629b33f6132a68f49f83bcf02e6d822ddb34f
Reviewed-by: Kwangsub Kim <kwangsub.kim@qt.io>
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Signed-off-by: Mikko Gronoff <mikko.gronoff@qt.io>
2019-09-23 13:29:46 +00:00
Khem Raj
eb63611866 qt5-creator: Fix clangformat with clang 9.x
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-06 18:16:56 +00:00
Khem Raj
12ea469918 qttools: Add CONFIG+=config_clang_done when not building with clang
This ensures that dev packages from clang are not looked into during
configure

Define YOCTO_ALTERNATE_EXE_PATH pointing into target sysroot so that
llvm-config can find the target libclang instead of native one

Fixes
linking ../../bin/qdoc
TMPDIR/work/cortexa7t2hf-neon-vfpv4-yoe-linux-gnueabi/qttools/5.13.0+gitAUTOINC+cc9250477e-r0/recipe-sysroot-native/usr/lib/libclang.so: file not recognized: file format not recognized
clang-9: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [Makefile:212: ../../bin/qdoc] Error 1

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-03 09:41:28 +00:00
Khem Raj
dc502d5758 qtwebengine: Fix compile failure with 5.2+ kernel headers
Fixes
error: 'SIOCGSTAMP' was not declared in this scope

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-03 09:41:28 +00:00
Khem Raj
8799d3b71c qtserialbus: Fix build with 5.2+ kernel headers
Backport relevant patch from upstream

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-03 09:41:28 +00:00
Michael Davis
e8aa2dddec qtwebengine: Add pulseaudio support
Add pulseaudio support if it is a distro feature

Signed-off-by: Michael Davis <michael.davis@essvote.com>
2019-08-22 16:15:52 +00:00
Michael Davis
4d8f350915 qtwebengine: Rename jasoncpp to jsoncpp
jasoncpp is not the name of the package included in meta-oe.  The correct
naming is jsoncpp.

Signed-off-by: Michael Davis <michael.davis@essvote.com>
2019-08-22 16:15:40 +00:00
Andreas Müller
725c87da81 qtwayland: do not reference private modules in cmake Qt5WaylandClient
The files referenced are not installed causing trouble in projects using
Qt5WaylandClientConfig.cmake:

| CMake Error at /home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-neon-vfpv4-mortsgna-linux-gnueabi/liri-shell/0.9.0+gitAUTOINC+42bd7f4610-r0/recipe-sysroot/usr/lib/cmake/Qt5WaylandClient/Qt5WaylandClientConfig.cmake:110 (find_package):
|   Could not find a package configuration file provided by
|   "Qt5LinuxAccessibilitySupport" (requested version 5.13.0) with any of the
|   following names:
|
|     Qt5LinuxAccessibilitySupportConfig.cmake
|     qt5linuxaccessibilitysupport-config.cmake

Fixes: QTBUG-76042 [1]

Upstream-Status: Applied [2]

[1] https://bugreports.qt.io/browse/QTBUG-76042
[2] https://code.qt.io/cgit/qt/qtwayland.git/commit/?id=f4636b934f90b2a07b09f1925a86440cf1944d08

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2019-08-22 16:15:15 +00:00
Andreas Müller
a41cd9eded qtwayland: remove workaround for missing private headers (QTBUG-71340)
* reading [1] again caused hope bug is fixed
* tested with buildhistory: no change at installed files detected
* recipies affected (lirios/meta-qt5-extra) are building fine (with the patch
  following)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2019-08-22 16:15:07 +00:00
Piotr Tworek
53500ade77 qtdeclarative: Use qmlcachegen provided by OE instead of system one.
Right now cmake config file installed by qtdeclarative-native tries
to use system installed qmlcachegen tool. Due to this packages using qml
compiler will produce correct results only if the host system has
qmlcachegen installed and its version matches Qt version provided by OE.
If the tool is missing the package requring it will fail to build. If
its present but the version does not match OE version of Qt the package
will build fine, but in turn will fail to run on the target. Fix this by
patching Qt5QuickCompilerConfig.cmake to look for qmlcachegen in
OE_QMAKE_PATH_EXTERNAL_HOST_BINS. Similar approach is already used for
other Qt tools from qtbase-native recipe.

Signed-off-by: Piotr Tworek <tworaz@tworaz.net>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2019-07-29 12:19:00 +00:00