summaryrefslogtreecommitdiffstats
path: root/recipes-qt/qt5
Commit message (Collapse)AuthorAgeFilesLines
...
| * 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: update submodulesMikko Gronoff2018-09-0633-33/+33
| | | | | | | | | | | | | | | | Update to 5.11.2 RC Task-number: QTBUG-68980 Change-Id: Iaf47c9e333ba04babcd63df385215902a5fb343d Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
* | qt5: update submodulesMikko Gronoff2018-08-2918-19/+19
| | | | | | | | | | | | Task-number: QTBUG-68980 Change-Id: If9e570a126f67225c76b387c81d582918a9a3914 Reviewed-by: Kari Oikarinen <kari.oikarinen@qt.io>
* | qt5: revert obsolete modules back to previous SRCREVSamuli Piippo2018-08-202-2/+2
| | | | | | | | | | | | | | Updated incorrectly in previous commit. Change-Id: I57b21a232c49dd56ba18dcff71d7aae831ee022a Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
* | qt5: update submodulesSamuli Piippo2018-08-1742-58/+58
| | | | | | | | | | Change-Id: I18e70fb08fc9c321dd8b71eea950cd221d9c8614 Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
* | qtwebengine: enable debug info for webengineSamuli Piippo2018-08-172-13/+12
| | | | | | | | | | | | | | | | Enable debug info for webengine builds. The mkspec needed fixing, otherwise CFLAGS were fed incorrectly to Ninja. Change-Id: I2661c723af9aac2347c1b3ee0de14e8fc1305813 Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
* | qt5: update submodulesSamuli Piippo2018-07-3119-20/+20
| | | | | | | | | | Change-Id: I5ced23d98bbaf14ec05c1942e65f6031285df41a Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
* | Merge remote-tracking branch 'qtyocto/upstream/master' into 5.11Samuli Piippo2018-07-0510-24/+121
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | * qtyocto/upstream/master: qt5: add option to build Qt5 statically qtbase: fix install locations used in static builds qttranslations: do not use qt meta catalog translation package qttools: Disable clang support qtbase: add PACKAGECONFIG for Link Time Optimization qt5: remove all references to qtquick1 import path qt5/qtscript: Fix qtscript cross compile error README: Add Yocto Project Compatible badge and fix formatting Change-Id: Ic8cb74f6e87634b26f79c9effffb80deb6a51b6b
| * 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: update to Qt 5.11.2Samuli Piippo2018-07-0536-49/+45
| | | | | | | | | | | | | | | | | | The commercial Qt license agreement was added in qtbase, use that as the The-Qt-Company-Commercial license. Remove old licenses that are no longer used. Change-Id: I25172c46b36c3b342ef0cf89ba9741c7c9fc7b7e Reviewed-by: Kari Oikarinen <kari.oikarinen@qt.io>
* | qtbase: add PACKAGECONFIG for Link Time OptimizationSamuli Piippo2018-07-021-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. Task-number: QTBUG-68688 Change-Id: I6ca4997e0d91fb2b967a260694d1ac84c983f256 Reviewed-by: Kari Oikarinen <kari.oikarinen@qt.io>
* | add recipe for Qt3DStudio runtime librariesSamuli Piippo2018-06-281-0/+16
| | | | | | | | | | | | Task-number: QTBUG-67761 Change-Id: I75f73a9182f97d7e35b46478c99aea747e833e23 Reviewed-by: Janne Koskinen <janne.p.koskinen@qt.io>
* | Merge remote-tracking branch 'qtyocto/upstream/master' into 5.11Mikko Gronoff2018-06-2756-202/+660
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qtyocto/upstream/master: 40054db qt5: qtbase: Upgrade Double-Conversion dd1ce3c README: Rework to start using GitHub for development ef5f5d9 qt5: upgrade to 5.11.1 820f3ef qt5: add common PACKAGECONFIG for QtQuickCompiler e199d80 python-pyqt5: update recipe to 5.10.1 65db89e qtbase: don't pass empty filename to function 3b27896 nativesdk-qtbase: add quotes to CC and CXX in environment file a36cc5f libvcard: add recipe 1ac92b6 qtbase: Add packageconfigs for renameat2 and getentropy use 557aabd qttranslations: remove qtquick1 translation package 00aafa0 qt5-creator: Remove qtquick1 dependency 731334a qtwebengine: fix build with plugins as well as ozone enabled 70ce980 qtwebengine: add -fpermissive 33f58ff qtwebengine: fix build with gcc8, part II 267a38f qtwebengine: fix build with gcc8 7193a7f qtquick1: remove recipe and all references 29445f6 qtwebkit: do not skip build - use cmake as build system dde9b55 qt5: refresh the patches and update them on meta-qt5 repositories e0a4e23 qt5: Update to Qt 5.11.0 73f99f2 gstreamer1.0-plugins-{good,bad}: move the qt5 PACKAGECONFIG from bad to good bbappend Change-Id: Ib58d0e103bda0b58338989c00f1fa80bd699534c
| * 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: update submodulesv5.11.1Mikko Gronoff2018-06-1617-18/+18
| | | | | | | | | | | | | | | | Update to Qt 5.11.1 RC Task-number: QTBUG-68389 Change-Id: Id6d3b4180aab73d2d84d2c3fce0712b095e931c0 Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
* | qt5: update submodulesMikko Gronoff2018-06-1338-39/+39
| | | | | | | | | | | | | | | | Update to Qt 5.11.1 snapshot Task-number: QTBUG-68389 Change-Id: I1c384333c708cf8763c42b4adc155c889f0c5b3b Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
* | qt5: update to Qt 5.11.1Samuli Piippo2018-06-1236-39/+39
| | | | | | | | | | Change-Id: I1e2c9bf48b2cb55c97a86446b4143be536a03899 Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
* | qt5: update submodulesv5.11.0-rc2v5.11.0Mikko Gronoff2018-05-163-3/+3
| | | | | | | | | | | | | | | | | | Update submodules to Qt 5.11.0 rc2 [v3]: qtknx, qtopcua & qttools updated Task-number: QTBUG-67590 Change-Id: Idb16e5cf7901a2fe4e2e975da9fa50d8a7ef52d9 Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
* | qtquickcompiler: add dependency into PACKAGECONFIGSamuli Piippo2018-05-153-3/+3
| | | | | | | | | | | | | | | | qtdeclarative-native provides the required qmlcachegen binary, add dependency to it into PACKAGECONFIG instead of each recipe. Change-Id: I2f687fc95403502679e2c14dbc9e597314ddc674 Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
* | qt5: update submodulesMikko Gronoff2018-05-156-6/+6
| | | | | | | | | | | | | | | | | | Update submodules to Qt 5.11.0 rc2 [v2]: qtbase, qtknx, qtopcua & qttools updated Task-number: QTBUG-67590 Change-Id: Ica099a0dfe67b68824ba4e1c3a430457e988e9f9 Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>