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>
* fixes:
sip: QOpenGLFramebufferObject is undefined
in default nodistro setup without opengl in DISTRO_FEATURES
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
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.
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.
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>
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>
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>
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>
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>
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>
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>
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>
* 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>
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>
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>
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>
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>
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>