Commit Graph

1027 Commits

Author SHA1 Message Date
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
Piotr Tworek
f4adfa2ccf qtbase-native: Always use qt provided doubleconversion library.
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>
2019-07-29 12:18:32 +00:00
Khem Raj
14a779e89b qttools: Enable clang support when using clang
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>
2019-07-29 12:16:09 +00:00
Samuli Piippo
cd9256718b qt5-creator: update to v4.9.2
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2019-07-29 12:15:34 +00:00
Khem Raj
708be171f6 maliit-framework-qt5: Fix build when ptest is enabled
This is primarily seen when using ptest and QT 5.13

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-07-17 10:32:59 +00:00
Khem Raj
8f0e741022 qtwebengine: Fix build on aarch64
adapt a patch from meta-browser to get aarch64 going

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2019-07-17 10:32:59 +00:00
Martin Jansa
c8b3085aa4 qtwebengine: refresh the patches to apply
* 4 musl patches didn't apply at all
* 0015-chromium-musl-include-asm-generic-ioctl.h-for-TCGETS.patch is
  dropped, because whole chromium/device/serial/serial_io_handler_posix.cc
  was removed in upgrade to 73:
  commit 38a9a29f4f9436cace7f0e7abf9c586057df8a4e
  Author: Allan Sandfeld Jensen <allan.jensen@qt.io>
  Date:   Wed Feb 13 16:23:34 2019 +0100
  Subject: BASELINE: Update Chromium to 73.0.3683.37

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2019-07-16 10:23:34 +00:00
ibinderwolf
c7f8827122 qtremoteobjects: Use OE_PATH_EXTERNAL_HOST_BINS to enable cmake to find repc
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2019-07-15 13:58:50 +00:00
Samuli Piippo
8d2e1b4019 qt5: Upgrade to Qt 5.13.0
Update recipes for Qt 5.13.0, add new recipes for Qt modules qtcoap
and qtlottie, and remove qtcanvas3d.

Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
2019-07-15 13:58:40 +00:00
Samuli Piippo
8da88b098f Allow enabling gui for native and nativesdk
Some Qt build tools may depend on QtGui, which need platform plugins
for running them. Use minimal platform plugin since no interaction
with the tool is expected.

Add PACKAGECONFIGs that can be used to enable gui and image format
plugins for the native and nativesdk builds.

Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
2019-07-15 13:58:40 +00:00
Callum O'Brien
6463beab78 qt5everywheredemo: update HOMEPAGE
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2019-07-15 13:58:33 +00:00
Khem Raj
c978dd1cf1 qtconnectivity,qtsystems: Account for bluez4 from oe-core
bluez4 has been deprecated for few years now it has been removed
completely from oe-core

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-07-15 13:58:33 +00:00
Persian Prince
5d6ea2efcb gdb_%.bbappend: Avoid PAK archive (application/x-pak)
Just test in ubuntu, you'll see.
2019-07-12 21:57:47 +02:00
Martin Jansa
2a5f9415e4 qtbase: fix build with gcc-9
* some components which use Werror started to fail with gcc-9, because of new warning:
  https://gcc.gnu.org/gcc-9/changes.html
  New warnings:
    -Wdeprecated-copy, implied by -Wextra, warns about the C++11
       deprecation of implicitly declared copy constructor and
       assignment operator if one of them is user-provided.
       -Wdeprecated-copy-dtor also warns if the destructor is
       user-provided, as specified in C++11.
* e.g. maliit-framework-qt5 was now failing with:
  maliit-framework-qt5/0.99.0+gitAUTOINC+62bd54bcde-r0/recipe-sysroot/usr/include/QtCore/qvariant.h:273:25:
  error: implicitly-declared 'constexpr QVariant::Private& QVariant::Private::operator=(const QVariant::Private&)' is deprecated [-Werror=deprecated-copy]
  273 |     { other.d = Private(); }
      |                         ^

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2019-05-30 12:01:43 +00:00
Gaurav Kalra
8bc72a78b1 qtlocation: add PACKAGECONFIGs for geoservices
Signed-off-by: Gaurav Kalra <gvkalra@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2019-05-30 10:38:31 +00:00
Florent Revest
46c87e060d qmake5_base.bbclass: Don't expand find -name search patterns
A wildcard not put between quotes is expanded by bash. If files matching
the pattern are found in the source directory then the find command is
non-sense and fails.

This commit put those search patterns in quotes and fixes the
installation of some recipes.

Signed-off-by: Florent Revest <revestflo@gmail.com>
2019-05-30 00:37:21 +00:00
Mikko Gronoff
60e61ea26a qt3d-runtime: update to v2.3
Signed-off-by: Mikko Gronoff <mikko.gronoff@qt.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2019-05-19 15:05:12 +00:00
Martin Jansa
cad5f8c8de qtbase: add no-opengl to PACKAGECONFIG_GL when opengl isn't in DISTRO_FEATURES
* otherwise building qtbase with default config will fail with:
  ERROR: The OpenGL functionality tests failed!
  You might need to modify the include and library search paths by editing
  QMAKE_INCDIR_OPENGL[_ES2], QMAKE_LIBDIR_OPENGL[_ES2] and QMAKE_LIBS_OPENGL[_ES2]
  in the mkspec for your platform.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2019-05-14 10:53:07 +00:00
Martin Jansa
44aab3a041 qtbase: add accessibility from PACKAGECONFIG_KDE to PACKAGECONFIG_DEFAULT
* the original goal was to keep the default PACKAGECONFIG as minimal
  as possible, but I think it's time to enable this
* most builds probably have this enabled anyway because of other dependencies
* new qtbase also shows a warning when it's disabled:
  WARNING: Accessibility disabled. This configuration of Qt is unsupported.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2019-05-14 10:48:59 +00:00
Martin Jansa
000e298b58 qtbase: add libxext dependency for xcb PACKAGECONFIG
* with new Qt, qtbase fails to build with x11 DISTRO_FEATURES
  ERROR: Feature 'xcb-xlib' was enabled, but the pre-condition 'features.xlib && libs.xcb_xlib' failed.

  Trying source 0 (type makeSpec) of library xlib ...
  None of [libXext.so libXext.a] found in [] and global paths.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2019-05-14 10:38:56 +00:00
Philip Balister
ba08444f42 python-pyqt5: Update to version 5.12.1.
Signed-off-by: Philip Balister <philip@opensdr.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2019-05-12 10:03:00 +00:00
Philip Balister
6a1a387a50 python-pyqt: Fix annoying problems.
* Python ABI only applies to include files.

Signed-off-by: Philip Balister <philip@opensdr.com>
2019-05-12 10:01:39 +00:00
Johannes Pointner
c7e0ba566f qtwebengine: arm: use OE specified -mcpu option
OE-Core sets -mcpu option, which is equivalent to -march and -mtune
combination. Therefore don't set -march and -mtune in chromium.

Signed-off-by: Johannes Pointner <johannes.pointner@br-automation.com>
2019-05-06 18:52:02 +00:00
Kurt Kiefer
9c62c01bc2 qtbase-tools: Fix error during pkg_postinst
When staging the sdk, the following error is seen:
sed: can't read <path-to-work>/sdk/image/usr/local/oecore-x86_64/sysroots/aarch64-oe-linux/usr/bin/qt.conf: No such file or directory
because the qt.conf file moved from /usr/bin/qt.conf to
/usr/bin/qt5/qt.conf

This change locates the qt.conf file during pkg_postinst using the
OE_QMAKE_PATH_BINS variable, just as when the file is created.
2019-05-02 21:28:17 +00:00
Martin Jansa
f4531ec860 qtwebengine: restore the fix for build with clang/libc++ on aarch64/arm
* it was fixed in:
  5be2654885
* but then when upgrading to 5.12.3 from meta-qt5/qtwebengine I've accidentally overwritten
  this one with the older version in:
  e2707a016c

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2019-05-02 18:36:25 +00:00
Martin Jansa
8586caf2f2 qt5: update SRCREVs after v5.12.3 tags were downmerged to 5.12 branch
* v5.12.3 tags in qt3d, qtknx, qtmqtt, qtopcua, qttools, qtremoteobjects are fine now

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2019-04-26 06:31:50 +00:00