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>
* 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>
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>
Right now qtbase-native will try to look for double-coversion library on
the host system. If not avaiable it'll use its own copy. This means
qtbase-native binaries built on one host may fail to run on another.
Fix this by always using qt provided double-conversion library for
native qtbase builds.
Signed-off-by: Piotr Tworek <tworaz@tworaz.net>
Fix compiler errors when using clang compiler along the way
Fixes
aarch64-yoe-linux-musl-ld: cannot find -lclang
Use chpath to delete rpath which is detected as path to native clang in
sysroot
Signed-off-by: Khem Raj <raj.khem@gmail.com>