Commit Graph

1057 Commits

Author SHA1 Message Date
Samuli Piippo
1861b68525 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-07-22 14:06:27 +02:00
Tom Hochstein
45706c620e qtbase: Add vulkan to PACKAGECONFIGs
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
(cherry picked from commit 62bb2ca66b)
2020-07-07 12:08:53 +02:00
Marek Vasut
9d4490a0f4 qtwayland: really use OpenGL ES 2 API for decoration blitter
Really use (as the comment states) the OpenGL ES 2 API for
the decoration blitter.

Fixes: QTBUG-80356
Signed-off-by: Marek Vasut <marex@denx.de>
2020-05-11 17:36:37 +02:00
Marek Vasut
852e279a45 qtwayland: Backport fix for newer mesa
The qtwayland fails to build without this patch with newer Mesa 20.0.y,
add the backport to permit the build to pass.

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-04-14 17:57:34 +02:00
Artem Panfilov
b6767f3b20 python-pyqt5: remove PyQt_qreal_double from DISABLED_FEATURES
Since Qt 5.2.0 the qreal is double (see change d8bf317546bc in qtbase.git).

Signed-off-by: Artem Panfilov <panfilov.artyom@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-04-13 13:36:17 +02:00
Artem Panfilov
6a9c0acbad python-pyqtchart: remove PyQt_qreal_double from DISABLED_FEATURES
Since Qt 5.2.0 the qreal is double (see change d8bf317546bc in qtbase.git).

Signed-off-by: Artem Panfilov <panfilov.artyom@gmail.com>
2020-03-18 17:54:51 +01:00
Martin Jansa
0bdbb344bc python-pyqt5: disable whole PyQt_OpenGL and QtWidgets, QtQuickWidgets, QtQuick modules without opengl in DISTRO_FEATURES
* fixes:
  sip: QOpenGLFramebufferObject is undefined
  in default nodistro setup without opengl in DISTRO_FEATURES

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-02-19 19:58:05 +01:00
Adrian Fiergolski
e9a09ca3f2 Add PyQtChart.
Signed-off-by: Adrian Fiergolski <adrian.fiergolski@fastree3d.com>
2020-02-19 19:09:46 +01:00
Martin Jansa
25d0fa6057 Revert "pyqt5: Upgrade to 5.13.2"
This reverts commit 02715fff5e.

This version is too new for sip version in meta-oe/zeus:
Error: This version of PyQt5 requires sip 4.19.19 or later.

It was accidentally merged with other build fixes when re-syncing
master and zeus before 5.14 upgrade in master.

This is needed also for the newly added python-pyqtchart recipe.
2020-02-19 18:19:36 +01:00
Marc Reilly
a582fd4c81 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-14 11:04:47 +01:00
Martin Jansa
bb05449c26 Revert "recipes: Use features_check instead of distro_features_check"
This reverts commit b7f4bd209c.

I've accidentally merged this to zeus which doesn't have the feautres_check.bbclass
yet.

Even for master branch it's problematic, because some people tend to use different
branch of meta-qt5 with different OE releases, so if you need to use meta-qt5/master
with zeus or older, you'll need to introduce features_check.bbclass (with just
"inherit distro_features_check" in your own layer for the compatibility.

In the oposite case when using meta-qt5/zeus (or older) with master/dunfell, you'll
just get bunch of warnings about deprecated distro_features_check inherit which is
safe to ignore.
2020-01-13 16:04:42 +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