Commit Graph

842 Commits

Author SHA1 Message Date
Samuli Piippo
c3cc11bc28 qtbase: add PACKAGECONFIG for Link Time Optimization
qtbase configure option -ltcg enables Link Time Code Generation
using GCC's LTO feature. Enable it by default if the selected
optimization is for size.

Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
2018-07-03 15:47:03 -03:00
Samuli Piippo
7faa5d8f39 qt5: remove all references to qtquick1 import path
Since qtquick1 recipes have been removed, there is no need to have
OE_QMAKE_PATH_IMPORTS anymore.

Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
2018-07-03 15:00:57 -03:00
Alistair Francis
65c85d3640 qt5/qtscript: Fix qtscript cross compile error
Fix errors like this:
error: cast from 'QTJSC::JSCell*' to 'int32_t' {aka 'int'} loses precision
when cross compiling for RISC-V.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2018-06-29 13:42:13 -03:00
Otavio Salvador
1452ed3db4 README: Add Yocto Project Compatible badge and fix formatting
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-06-26 18:11:28 -03:00
Alistair Francis
40054db1de qt5: qtbase: Upgrade Double-Conversion
Backport the Double-Conversion upgrade from the dev branch
(https://codereview.qt-project.org/#/c/227718/) to the current release.
This fixes the RISC-V compile of QTBase.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-06-25 14:30:57 +00:00
Otavio Salvador
dd1ce3c95c README: Rework to start using GitHub for development
This changes the content so we start sending people to GitHub and
deprecate the OpenEmbedded-Devel mailing list as the place for patch
submission.

The content has been reworked so it renders better inside GitHub and
provide a more structured content.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-06-24 07:36:34 +02:00
Martin Jansa
ef5f5d912d qt5: upgrade to 5.11.1
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-06-22 14:35:29 +00:00
Samuli Piippo
820f3ef827 qt5: add common PACKAGECONFIG for QtQuickCompiler
The previously commercial-only QtQuickCompiler is now merged into
qtdeclarative. Add common PACKECONFIG which can be used to enable
it, and by default enable it for Qt Charts and Qt VirtualKeyboard.

https://doc-snapshots.qt.io/qt5-5.11/qtquick-deployment.html#compiling-qml-ahead-of-time

Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-06-21 18:37:25 +00:00
Diego Rondini
e199d801f8 python-pyqt5: update recipe to 5.10.1
Update recipe to version 5.10.1, removing upstreamed patches in the process.

Signed-off-by: Diego Rondini <diego.rondini@kynetics.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-06-21 18:37:08 +00:00
Samuli Piippo
65db89eb7b qtbase: don't pass empty filename to function
The environment variable is empty when running qmake from SDK or
in device, which gives 'Empty filename passed to function' warning.

Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-06-21 18:36:51 +00:00
Samuli Piippo
3b27896969 nativesdk-qtbase: add quotes to CC and CXX in environment file
CC and CXX include sysroot as argument to compiler and therefore includes
spaces, which need to be quoted to work e.g., with dash.

Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-06-21 18:36:32 +00:00
Matt Porter
a36cc5f0e9 libvcard: add recipe
* Build tested for qemux86-64.

Signed-off-by: Matt Porter <mporter@konsulko.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-06-21 18:32:35 +00:00
Khem Raj
1ac92b6d8a qtbase: Add packageconfigs for renameat2 and getentropy use
These features depend on underlying syscall support in kernel
and if older kernels are in use, then we can have a knob to
turn them off.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-06-13 06:58:34 +00:00
Andreas Müller
557aabd46b qttranslations: remove qtquick1 translation package
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-06-10 11:01:04 +00:00
Andreas Müller
00aafa0120 qt5-creator: Remove qtquick1 dependency
qtquick1 was removed

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-06-10 11:00:58 +00:00
Martin Jansa
731334ac1d qtwebengine: fix build with plugins as well as ozone enabled
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-06-10 10:57:11 +00:00
Martin Jansa
70ce9802e4 qtwebengine: add -fpermissive
* http://errors.yoctoproject.org/Errors/Details/179245/
  just use -fpermissive in this case like fedora did:
  https://bugzilla.redhat.com/show_bug.cgi?id=1582954

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-06-06 19:37:45 +00:00
Martin Jansa
33f58ffa65 qtwebengine: fix build with gcc8, part II
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-06-06 11:32:55 +00:00
Martin Jansa
267a38fdde qtwebengine: fix build with gcc8
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-06-05 14:03:20 +00:00
Andreas Müller
7193a7f1f4 qtquick1: remove recipe and all references
* webkit part is broken (at least)
* It is dead since 5.7 / 11/2016

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-06-05 13:51:04 +00:00
Andreas Müller
29445f6e37 qtwebkit: do not skip build - use cmake as build system
log.do_configure says:

| The WebKit build was disabled for the following reasons:
|     * cross-compilation of QtWebKit with qmake is not supported yet
|    * Missing cmake from PATH
|    * Using cmake version , but at least cmake 2.8.12 is required to build QtWebKit.

and build was finished without errors (but surprisingly fast). Looking into
qtwebkit, it seems they have changed to cmake build system and Webkit.pro is
just a wrapper for preparing and running cmake.

For the transition the packageconfigs were translated as close as possible.
'libxcomposite' and 'libxrender' were merged to 'x11' - there is only one
option 'ENABLE_X11_TARGET' available for both.

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-06-05 13:50:55 +00:00
Martin Jansa
dde9b55a24 qt5: refresh the patches and update them on meta-qt5 repositories
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-06-05 13:48:51 +00:00
Samuli Piippo
e0a4e23c1d qt5: Update to Qt 5.11.0
Add recipes for Qt OPC UA and Qt WebGL platform plugin.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-05-30 20:02:46 +00:00
Martin Jansa
73f99f2370 gstreamer1.0-plugins-{good,bad}: move the qt5 PACKAGECONFIG from bad to good bbappend
* the plugin was moved in gstreamer 1.14 and now this bbappend was causing:
  http://errors.yoctoproject.org/Errors/Details/178525/
  ERROR: QA Issue: gstreamer1.0-plugins-bad: configure was passed unrecognised options: --disable-qt [unknown-configure-option]

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-05-12 14:54:00 +00:00
Martin Jansa
bc20e3dcd0 qt5-creator: upgrade to 4.5.1
* old 3.5.1 isn't compatible with Qt 5.11
  qt-creator-opensource-src-3.5.1/src/libs/qmleditorwidgets/contextpanewidgetimage.cpp:891:23:
  error: invalid use of incomplete type 'class QStyle'
  |      QIcon icon(style()->standardIcon(QStyle::SP_DockWidgetCloseButton));
  |                        ^~

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-04-20 10:06:37 +00:00
Martin Jansa
4a3318e5b3 tufao: fix build with Qt 5.11, don't use qt5_use_modules
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-04-20 10:06:37 +00:00
Martin Jansa
35f8981b11 qt5: upgrade to 5.11 beta3+
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-04-20 10:06:37 +00:00
Martin Jansa
5bbfbca705 packagegroup-qt5-toolchain-target: drop both qtwebkit packages
* qtwebkit builds needs to be fixed first

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-04-20 10:06:37 +00:00
Martin Jansa
f33be06035 qt5: upgrade to 5.11 Alpha
* use qtwebkit and qtwebkit-examples from dev branch, because there is
  no 5.11 branch (there isn't 5.10 as well, but because nobranch=1 in
  qt5-git.inc nobody noticed).
* qtbase: drop qml-debug options
  removed from qtbase in:
  commit 525f8516c2580018f910cfb99ab5e0e36bd55ab1
  Author: Ulf Hermann <ulf.hermann@qt.io>
  Date:   Fri Oct 6 16:27:09 2017 +0200
  Subject: Remove qml-debug configure flag and feature
* qtgraphicaleffects, qtquickcontrols2, qtquickcontrols,
  qtvirtualkeyboard: add qtdeclarative-native dependency
  needed for qmlcachegen binary
* qtwebkit: update LIC_FILES_CHKSUM and remove PACKAGECONFIGs
  referenced files disappered in:
  commit 6882a04fb36642862b11efe514251d32070c3d65
  Author: Konstantin Tokarev <annulen@yandex.ru>
  Date:   Thu Aug 25 19:20:41 2016 +0300
  Subject: Imported QtWebKit TP3 (git b57bc6801f1876c3220d5a4bfea33d620d477443)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-04-20 10:06:37 +00:00
Samuli Piippo
c7549747b6 qtbase: use mysql_config from correct path
mysql_config from host sysroot is found first which gives wrong paths
for cross-compilation. Use it from crosscompile path instead.

Change-Id: Ia1e7d8e0c582016130f595b1be279255e9d0b055
Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-04-20 10:05:59 +00:00
Khem Raj
41666ddba7 qtmultimedia: Pass -DMESA_EGL_NO_X11_HEADERS=1 when x is disabled
Some graphics drives e.g. mali/mesa depend on this define
to use proper guards in eglplatform.h

Fixes

| In file included from /mnt/a/zonit/build/tmp/work/aarch64-bec-linux/qtmultimedia/5.10.1+gitAUTOINC+038716bb1f-r0/recipe-sysroot/usr/include/EGL/egl.h:36:0,
|                  from .moc/../../../../../../git/src/plugins/videonode/egl/qsgvideonode_egl.h:48,
|                  from .moc/moc_qsgvideonode_egl.cpp:9:
| /mnt/a/zonit/build/tmp/work/aarch64-bec-linux/qtmultimedia/5.10.1+gitAUTOINC+038716bb1f-r0/recipe-sysroot/usr/include/EGL/eglplatform.h:125:10: fatal error: X11/Xlib.h: No such file or directory
|  #include <X11/Xlib.h>
|           ^~~~~~~~~~~~
| compilation terminated.
| make[4]: *** [Makefile:461: .obj/moc_qsgvideonode_egl.o] Error 1

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-04-18 11:59:57 +00:00
Fabio Berton
6563f37931 cinematicexperience: Add liberation-fonts to RDEPENDS
Install liberation-fonts package to show cinematicexperience fonts.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-04-18 11:59:05 +00:00
Timo Jyrinki
59c9742cba qtlocation: Add licenses used under mapboxgl.
These licenses are in use in the fetched mapboxgl submodule but not
currently listed in the recipe: Apache-2.0, MIT, openssl and BSL-1.0.

Signed-off-by: Timo Jyrinki <timo.jyrinki@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-04-18 11:58:42 +00:00
Khem Raj
1ce10cfcba qtwebkit: Update to latest on 5.9 branch
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-04-18 11:55:36 +00:00
Khem Raj
4d0975195e qtwebkit: Fix build on armv7ve (rpi)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-04-18 11:55:08 +00:00
Daniel Mack
8666a50042 qt5: bump libconnman-qt5 to 1.2.7
Signed-off-by: Daniel Mack <daniel@zonque.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-04-18 11:53:57 +00:00
Dennis Menschel
45df5c926a .gitattributes: mark *.inc as Bitbake files
As the file extension *.inc is quite ambiguous, Github's linguist [1]
tends to classify such files not as Bitbake include files, but something
entirely different.

This commit overrides the default behavior of linguist to classify these
files correctly.

[1] https://github.com/github/linguist

Signed-off-by: Dennis Menschel <menschel-d@posteo.de>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-04-18 11:34:27 +00:00
Dennis Menschel
d9001fc53d qtbase: fix umask for do_generate_qt_environment_file
The custom task "do_generate_qt_environment_file" generates the
directory "environment-setup.d" with permission 775 instead of 755.
When other recipes populate the same directory with different
permissions, a package manager like RPM will report this as an error.

The solution is to either set the installation permissions explicitly
with "install -d [-m 755]", or specify the umask for the custom task.

This commit uses the latter approach and fixes errors like the following
when trying to generate an SDK:

  $ bitbake <image-with-qt5> -c populate_sdk
  [...]
  Error: Transaction check error:
    file /opt/poky/2.4.2/sysroots/x86_64-pokysdk-linux/environment-setup.d
    conflicts between attempted installs of
    nativesdk-cmake-3.8.2-r0.x86_64_nativesdk and
    nativesdk-qtbase-tools-5.9.4+git0+0d9208cecb-r0.x86_64_nativesdk

A detailed discussion about this problem can also be found here [1].

[1] https://stackoverflow.com/a/49003464

Signed-off-by: Dennis Menschel <menschel-d@posteo.de>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-04-18 11:34:21 +00:00
Hongxu Jia
8124b3c768 packagegroup-qt5-toolchain-target/qttranslations: fix nothing provides qttranslations-qtconfig
It failed to build meta-toolchain-qt5:
...
Error:
 Problem: conflicting requests
  - nothing provides qttranslations-qtconfig needed by packagegroup-qt5-toolchain-target-1.0-r0.noarch
...

The upstream removed qtconfig translations:
...
commit a6b3446cb023e7b3a5f8aa12ea0d650d2b804334
Author: Alexander Volkov <a.volkov@rusbitech.ru>
Date:   Thu Sep 14 19:33:25 2017 +0300

    Remove qtconfig translations
...

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2018-04-18 11:30:47 +00:00
Mikko Gronoff
d5f472661e Change default SRC_URI from github.com to code.qt.io
There have been issues in the past with github qt mirror being out of
sync with code.qt.io for certain module repos. Right now there's been a
several days long break in update cycle for seemingly all the qt
modules where content has not been pushed to the github mirror. Change
the default SRC_URI to the more reliable code.qt.io.

Change-Id: Ic7d3b9a82ef0ae502e99a8516ef78ca09250fd1e
Signed-off-by: Mikko Gronoff <mikko.gronoff@qt.io>
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-04-18 11:11:24 +00:00
Martin Jansa
9ed1897bf7 qt5-git.inc: drop nobranch=1
* sneaked in with:
  commit 333949a823
  Author: Samuli Piippo <samuli.piippo@qt.io>
  Date:   Thu Jan 26 16:54:50 2017 +0200

    Upgrade to Qt 5.8
* use 5.10.1 branch by defaut and fix QT_MODULE_BRANCH
  in qtknx, qtmqtt, qtwebkit-examples, qtwebkit which don't
  have 5.10.1 branch at all

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-04-06 12:44:47 +00:00
Martin Jansa
f69baf2a72 maliit-framework-qt5: refresh patches
WARNING: maliit-framework-qt5-0.99.0+gitAUTOINC+62bd54bcde-r0 do_patch:
Some of the context lines in patches were ignored. This can lead to
incorrectly applied patches.
The context lines in the patches can be updated with devtool:

    devtool modify <recipe>
    devtool finish --force-patch-refresh <recipe> <layer_path>

Then the updated patches and the source tree (in devtool's workspace)
should be reviewed to make sure the patches apply in the correct place
and don't introduce duplicate lines (which can, and does happen
when some of the context is ignored). Further information:
http://lists.openembedded.org/pipermail/openembedded-core/2018-March/148675.html
https://bugzilla.yoctoproject.org/show_bug.cgi?id=10450
Details:
Applying patch
0001-Fix-MALIIT_INSTALL_PRF-to-allow-the-build-with-opene.patch
patching file config.pri
Hunk #1 succeeded at 144 with fuzz 1 (offset -17 lines).

Now at patch
0001-Fix-MALIIT_INSTALL_PRF-to-allow-the-build-with-opene.patch

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-04-06 12:44:23 +00:00
Martin Jansa
61581ec2ef layer.conf: add LAYERSERIES_COMPAT
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-04-06 12:43:54 +00:00
Martin Jansa
e60e849de1 qtpurchasing: upgrade to 5.10.1
* like the rest of qt* recipes

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-02-26 16:53:07 +00:00
Timo Jyrinki
14973ed909 qt5: Add recipe for qtpurchasing.
Qt Purchasing was introduced as a new module in Qt 5.7. It was previously
only available with Qt's commercial license. It can be used to build payment
features.

The commit hash in the recipe is the latest in the 5.10 branch. Licenses
were combed with licensecheck tool.

Signed-off-by: Timo Jyrinki <timo.jyrinki@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-02-26 16:53:07 +00:00
Martin Jansa
1d9fbb1576 qt5: refresh patches from meta-qt5/qt* repos
* apply:
  0012-mkspecs-common-gcc-base.conf-Use-I-instead-of-isyste.patch
  also for nativesdk-qtbase as the comment says
* drop unused:
  0001-Add-missing-include-for-struct-timeval.patch
  which wasn't removed in 5.10.1 upgrade

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-02-26 16:53:07 +00:00
Khem Raj
a5aadb7a92 qtbase: Replace -isystem with -I
Fixes no-x11 builds (eglfs)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-02-26 16:51:55 +00:00
Kwangsub Kim
6f9d4fdf99 qtbase: add a config option to optimize for size
The '-optimize-size' option would enable the compiler to optimize
for size instead of speed. If the global compiler option already
included '-Os', this option would be enabled by default.

It would affect the whole Qt libraries and Qt applications as well.
This feature is available in Qt 5.9+.

Signed-off-by: Kwangsub Kim <kwangsub.kim@qt.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-02-26 16:51:55 +00:00
texierp
1ad923abbf packagegroup-qt5-toolchain-target: Add qtcharts and qtmqtt
Signed-off-by: Pierre-Jean TEXIER <texier.pj2@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-02-22 13:56:45 +00:00
Mikko Gronoff
e41caf42e9 Upgrade to Qt 5.10.1
Updated Qt modules to 5.10.1.
New recipe qtknx added.

Change-Id: I711c75253a9c0d9dcfbaac8867b35a4505d101ea
Signed-off-by: Mikko Gronoff <mikko.gronoff@qt.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-02-22 13:56:45 +00:00