summaryrefslogtreecommitdiffstats
path: root/recipes-qt/qt5
Commit message (Collapse)AuthorAgeFilesLines
...
* qtscript: Update the custom patch from mainlineAlistair Francis2018-08-313-59/+51
| | | | | | Update the custom qtscript patch to use a backported patch instead. Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
* qtbase: remove renameat2 PACKAGECONFIGAndreas Müller2018-08-221-2/+0
| | | | | | | * since glibc 2.28 it is not necessary that Qt implements it * reduce PACKAGECONFIG mania a bit Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
* qtbase: fix build with glibc-2.28 - for non-readers like meAndreas Müller2018-08-226-3/+48
| | | | | | | | | | | | 539e4f09f749f024d6e157a49559e5ad7f51470a fixed bootstrapped build. At least cross builds are not done bootstrapped. Fix them too by copying statx/renameat2 macros - non-bootsrapped conditional - to qfilesystemengine_unix.cpp - it is fortunately the only source using QT_FEATURE_renameat2 / QT_FEATURE_statx (or QT_CONFIG(renameat2) / QT_CONFIG(statx)). Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
* qtwebengine: Fix optonal glib-2.0 dependencyJens Rehsack2018-08-221-1/+1
| | | | | | | | The corresponding recipe in poky is named "glib-2.0_XXX.bb", not "glib_XXX.bb" which causes parser errors when enabling 'glib' in PACKAGECONFIG. Signed-off-by: Jens Rehsack <sno@netbsd.org>
* qtwebkit_git.bb: Fix configure failure on bisonManjukumar Matha2018-08-171-1/+1
| | | | | | | | | | | | | | Fix the following error during do_configure | CMake Error at | Could NOT find BISON (missing: BISON_EXECUTABLE) (Required is at least | version "2.1") | Call Stack (most recent call first): Add dependency to bison-native to fix the above error Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* qtwebengine: Add PACKAGECONFIG for pepper-plugins printing-and-pdf spellcheckerMartin Jansa2018-08-151-0/+6
| | | | | | * also add libpci runtime dependency for x86 targets (imported from meta-luneui) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtwebengine: add a package config to enable proprietary codecsAlban Bedel2018-08-151-0/+1
| | | | | | | Add a package config that allow to enable proprietary codecs for h264 support. Signed-off-by: Alban Bedel <alban.bedel@avionic-design.de>
* qt3d-runtime: add recipe for Qt 3D Studio runtime librarySamuli Piippo2018-08-141-0/+16
| | | | | | | | | The Qt 3D Studio Runtime provides C++ and QML APIs for integrating Qt 3D Studio scenes into Qt applications, as well as the viewer application that is used in combination with the Qt 3D Studio application during the design phase Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
* qtbase: update the dependency for gbm PACKAGECONFIGMartin Jansa2018-08-141-1/+1
| | | | | | | * mesa* conditionally provides virtual/libgbm when gbm is enabled there so it's better than depending on just virtual/mesa Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtbase: fix build with glibc-2.28Martin Jansa2018-08-147-37/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: qtbase/5.11.1+gitAUTOINC+74305ba470-r0/git/src/corelib/io/qfilesystemengine_unix.cpp:94: qtbase/5.11.1+gitAUTOINC+74305ba470-r0/recipe-sysroot/usr/include/linux/stat.h:56:8: error: redefinition of 'struct statx_timestamp' struct statx_timestamp { ^~~~~~~~~~~~~~~ qtbase/5.11.1+gitAUTOINC+74305ba470-r0/recipe-sysroot/usr/include/bits/statx.h:25:8: note: previous definition of 'struct statx_timestamp' struct statx_timestamp ^~~~~~~~~~~~~~~ You might encounter another error: qtbase/5.11.1+gitAUTOINC+74305ba470-r0/git/src/corelib/io/qfilesystemengine_unix.cpp:109:12: error: 'int renameat2(int, const char*, int, const char*, unsigned int)' was declared 'extern' and later 'static' [-fpermissive] static int renameat2(int oldfd, const char *oldpath, int newfd, const char *newpath, unsigned flags) ^~~~~~~~~ qtbase/5.11.1+gitAUTOINC+74305ba470-r0/recipe-sysroot/usr/include/stdio.h:164:12: note: previous declaration of 'int renameat2(int, const char*, int, const char*, unsigned int)' extern int renameat2 (int __oldfd, const char *__old, int __newfd, ^~~~~~~~~ In that case enable renameat2 in your PACKAGECONFIG. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtbase: Add a kde PACKAGECONFIGAlistair Francis2018-07-101-0/+2
| | | | | | | | If trying to build KDE there are extra package config options required. This patch adds a KDE DISTRO_CONFIG that enables the extra PACKAGECONFIG options required. Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
* qt5: add option to build Qt5 staticallySamuli Piippo2018-07-044-1/+30
| | | | | | | | | | | | | | | | Add PACKAGECONFIG that enables static build for qtbase and consequently to all Qt recipes. This can be enabled with DISTRO_FEATURE 'qt5-static', which also adds qtdeclarative-native dependency to all recipes that depend on qtdeclarative as it's required for qmlimportscannertool. Building examples and tests with static build can take excessive amounts of time and disk space, so disabling DISTRO_FEATURE 'ptest' and PACKAGECONFIGs 'examples' from qtbase is advised. Not all recipes support static builds and those are not fixed here. Change-Id: Ia0e2a2467cd42d4395ed5292a645fd1d89ad521a Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
* qtbase: fix install locations used in static buildsSamuli Piippo2018-07-041-1/+26
| | | | | | | | | | Both qml and plugin paths need to be adjusted for static builds, so that they point to the recipe-sysroot instead of the native one. Similar change is already applied to host bins. These changes do not affect regular dynamic builds, as the sections are only used in static builds. Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
* qttranslations: do not use qt meta catalog translation packageSamuli Piippo2018-07-041-6/+1
| | | | | | | | The qt_xx packages are meta catalogs that have dependencies to qtquick1 which is not available anymore, which then breaks loading of the translation file. Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
* qttools: Disable clang supportOtavio Salvador2018-07-031-1/+4
| | | | | | | If host has clang installed, the qdoc is enabled doing host contamination. For now, we disable this completely. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* qtbase: add PACKAGECONFIG for Link Time OptimizationSamuli Piippo2018-07-031-1/+2
| | | | | | | | 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>
* qt5: remove all references to qtquick1 import pathSamuli Piippo2018-07-033-15/+0
| | | | | | | 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>
* qt5/qtscript: Fix qtscript cross compile errorAlistair Francis2018-06-292-0/+60
| | | | | | | | 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>
* qt5: qtbase: Upgrade Double-ConversionAlistair Francis2018-06-256-10/+357
| | | | | | | | | 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>
* qt5: upgrade to 5.11.1Martin Jansa2018-06-2282-203/+120
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qt5: add common PACKAGECONFIG for QtQuickCompilerSamuli Piippo2018-06-213-1/+5
| | | | | | | | | | | 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>
* qtbase: don't pass empty filename to functionSamuli Piippo2018-06-211-1/+1
| | | | | | | | 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>
* nativesdk-qtbase: add quotes to CC and CXX in environment fileSamuli Piippo2018-06-211-3/+3
| | | | | | | | 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>
* qtbase: Add packageconfigs for renameat2 and getentropy useKhem Raj2018-06-131-0/+4
| | | | | | | | | 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>
* qttranslations: remove qtquick1 translation packageAndreas Müller2018-06-101-5/+7
| | | | | Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qt5-creator: Remove qtquick1 dependencyAndreas Müller2018-06-101-1/+1
| | | | | | | qtquick1 was removed Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtwebengine: fix build with plugins as well as ozone enabledMartin Jansa2018-06-104-5/+56
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtwebengine: add -fpermissiveMartin Jansa2018-06-061-0/+5
| | | | | | | | * 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>
* qtwebengine: fix build with gcc8, part IIMartin Jansa2018-06-0617-30/+114
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtwebengine: fix build with gcc8Martin Jansa2018-06-0514-25/+76
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtquick1: remove recipe and all referencesAndreas Müller2018-06-051-29/+0
| | | | | | | | * 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>
* qtwebkit: do not skip build - use cmake as build systemAndreas Müller2018-06-052-28/+54
| | | | | | | | | | | | | | | | | | | | 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>
* qt5: refresh the patches and update them on meta-qt5 repositoriesMartin Jansa2018-06-0541-107/+107
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qt5: Update to Qt 5.11.0Samuli Piippo2018-05-3037-123/+84
| | | | | | Add recipes for Qt OPC UA and Qt WebGL platform plugin. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qt5-creator: upgrade to 4.5.1Martin Jansa2018-04-206-131/+36
| | | | | | | | | | * 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>
* qt5: upgrade to 5.11 beta3+Martin Jansa2018-04-2078-220/+141
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qt5: upgrade to 5.11 AlphaMartin Jansa2018-04-2086-310/+161
| | | | | | | | | | | | | | | | | | | | | | | * 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>
* qtbase: use mysql_config from correct pathSamuli Piippo2018-04-201-1/+1
| | | | | | | | | 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>
* qtmultimedia: Pass -DMESA_EGL_NO_X11_HEADERS=1 when x is disabledKhem Raj2018-04-181-0/+1
| | | | | | | | | | | | | | | | | | | 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>
* qtlocation: Add licenses used under mapboxgl.Timo Jyrinki2018-04-181-1/+2
| | | | | | | | 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>
* qtwebkit: Update to latest on 5.9 branchKhem Raj2018-04-181-1/+1
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtwebkit: Fix build on armv7ve (rpi)Khem Raj2018-04-181-0/+8
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtbase: fix umask for do_generate_qt_environment_fileDennis Menschel2018-04-181-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* packagegroup-qt5-toolchain-target/qttranslations: fix nothing provides ↵Hongxu Jia2018-04-181-5/+0
| | | | | | | | | | | | | | | | | | | | | | 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>
* qt5-git.inc: drop nobranch=1Martin Jansa2018-04-065-3/+11
| | | | | | | | | | | | | | * sneaked in with: commit 333949a8239dfa7788b35f1059614733e11a6a25 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>
* qtpurchasing: upgrade to 5.10.1Martin Jansa2018-02-261-1/+1
| | | | | | * like the rest of qt* recipes Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qt5: Add recipe for qtpurchasing.Timo Jyrinki2018-02-261-0/+13
| | | | | | | | | | | | 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>
* qt5: refresh patches from meta-qt5/qt* reposMartin Jansa2018-02-2655-102/+75
| | | | | | | | | | | * 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>
* qtbase: Replace -isystem with -IKhem Raj2018-02-263-0/+38
| | | | | | | Fixes no-x11 builds (eglfs) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtbase: add a config option to optimize for sizeKwangsub Kim2018-02-261-1/+4
| | | | | | | | | | | | 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>