aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-qt/qt5/nativesdk-qtbase_git.bb
Commit message (Collapse)AuthorAgeFilesLines
* qtbase: Fix build with gcc-11Khem Raj2022-02-221-0/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qtbase: eglfs: Prevent printing a warning in every widget-based appMing Liu2022-02-121-0/+1
| | | | | | | | | | | Attempting to reflect reality with the value of AA_ShareOpenGLContexts was a valiant attempt, but it is not possible to do setAttribute without getting a warning now once QGuiApplication is constructed. So just leave the attribute as is, changing its value is not strictly required. This fix is backported from qtbase upstream, it fixes: QTBUG-85796. Signed-off-by: Ming Liu <liu.ming50@gmail.com>
* qt5: upgrade to 5.14.2Mikko Gronoff2020-04-291-2/+1
| | | | | | | * Upgrade to Qt 5.14.2 * Update license to v4.2.1 Signed-off-by: Mikko Gronoff <mikko.gronoff@qt.io>
* qt5: upgrade to 5.14.1Martin Jansa2020-01-271-4/+4
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtbase: use offscreen platform plugin for toolsSamuli Piippo2020-01-111-1/+1
| | | | | | | Use offscreen platform plugin when running tools in native and nativesdk. It provides font support without additional settings. Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
* qtbase: add openssl PACKAGECONFIG for native nativesdkSamuli Piippo2020-01-111-1/+1
| | | | | | | | Add PACKAGECONFIG option to enable openssl for qtbase-native and nativesdk-qtbase recipes, since some build tools require openssl to be enabled. Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
* qtbase: refresh the patches and upload them to meta-qt5 forks on github for ↵Martin Jansa2020-01-111-6/+6
| | | | | | maintenance Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qt5: Update to Qt 5.14.0Samuli Piippo2020-01-111-2/+2
| | | | Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
* qtbase: Fix build on 32bit arches with 64bit time_tKhem Raj2019-11-271-0/+1
| | | | | | | time element is deprecated on new input_event structure in kernel's input.h Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qt5: Upgrade to Qt 5.13.2Martin Jansa2019-10-311-6/+6
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtbase: Fix build when fp16 is usedKhem Raj2019-10-081-0/+1
| | | | | | | | 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>
* qt5: Upgrade to Qt 5.13.0Samuli Piippo2019-07-151-2/+1
| | | | | | | 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>
* Allow enabling gui for native and nativesdkSamuli Piippo2019-07-151-5/+5
| | | | | | | | | | | 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>
* qtbase: fix build with gcc-9Martin Jansa2019-05-301-4/+5
| | | | | | | | | | | | | | | | | | * 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>
* qt5: upgrade to 5.12.3Martin Jansa2019-04-181-3/+3
| | | | | | | | | | | * be aware that in 3 qt* project the v5.12.3 tag wasn't created yet: qtknx_git.bb:# v5.12.3 tag wasn't created yet qtmqtt_git.bb:# v5.12.3 tag wasn't created yet qtopcua_git.bb:# v5.12.3 tag wasn't created yet * and qttools, qt3d, qtremoteobjects v5.12.3 tag isn't in 5.12 branch Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtbase: Fix build with recent oe-core/pseudo on hosts with glibc >= 2.28Andreas Müller2019-04-171-6/+6
| | | | | | | | | | | | | | | Recently pseudo changed to not support reanameeat2 as glibc wrapper [1]. This causes massive failures at do_install [2] on qtbase. To work around tell Qt build configuration not to use ranameat2 independent of glibc version. Target qtbase does not require this adjustment - there is no pseudo on target. [1] https://git.openembedded.org/openembedded-core/commit/?id=0fb257121b68f38b40c078150db8f7d0979b7ea5 [2] https://github.com/meta-qt5/meta-qt5/issues/187 Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
* qtbase, qtmultimedia: refresh patches to apply cleanly and update them on ↵Martin Jansa2019-04-041-3/+3
| | | | | | github.com/meta-qt5 forks Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* Upgrade to 5.12.2Mikko Gronoff2019-04-031-5/+1
| | | | Signed-off-by: Mikko Gronoff <mikko.gronoff@qt.io>
* nativesdk-qtbase: use rpath for nativesdk Qt toolsSamuli Piippo2019-03-071-2/+0
| | | | | | | | | rpath is needed to be able to run qt tools from the sdk without having the sdk's lib dir explicitly in LD_LIBRARY_PATH or relying on host libraries. Qt uses relative rpaths, so the build directories are not used there. Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
* qtbase: Fix test builds with clang/x86_64Khem Raj2019-03-071-0/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qtbase: fix incomplete recipe changes from previous commitMartin Jansa2019-01-121-3/+3
| | | | | | * the patches were renamed, but I forgot to amend the SRC_URI modifications Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtbase: Fix qtopcua issue on bigendian systemsKhem Raj2019-01-101-1/+2
| | | | | | | | See http://errors.yoctoproject.org/Errors/Details/213681/ Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtbase: replace the fix for gcc-4.8 with the one from upstreamupstream/jansa/master-5.12Martin Jansa2018-12-241-3/+3
| | | | | | | | | | | | | | | | | | | * fixes: | In file included from ../include/QtCore/qendian.h:1:0, | from /OE/build/oe-core/tmp-glibc/work/x86_64-linux/qtbase-native/5.12.0+gitAUTOINC+13ed06640c-r0/git/src/corelib/codecs/qutfcodec.cpp:43: | ../include/QtCore/../../../git/src/corelib/global/qendian.h: In instantiation of �constexpr Float qbswapFloatHelper(Float) [with Float = qfloat16]�: | ../include/QtCore/../../../git/src/corelib/global/qendian.h:167:36: required from here | ../include/QtCore/../../../git/src/corelib/global/qendian.h:163:1: error: body of constexpr function �constexpr Float qbswapFloatHelper(Float) [with Float = qfloat16]� not a return-statement | } | ^ | ../include/QtCore/../../../git/src/corelib/global/qendian.h: In instantiation of �constexpr Float qbswapFloatHelper(Float) [with Float = float]�: | ../include/QtCore/../../../git/src/corelib/global/qendian.h:172:29: required from here | ../include/QtCore/../../../git/src/corelib/global/qendian.h:163:1: error: body of constexpr function �constexpr Float qbswapFloatHelper(Float) [with Float = float]� not a return-statement | ../include/QtCore/../../../git/src/corelib/global/qendian.h: In instantiation of �constexpr Float qbswapFloatHelper(Float) [with Float = double]�: | ../include/QtCore/../../../git/src/corelib/global/qendian.h:177:29: required from here | ../include/QtCore/../../../git/src/corelib/global/qendian.h:163:1: error: body of constexpr function �constexpr Float qbswapFloatHelper(Float) [with Float = double]� not a return-statement Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtbase: Fix build with gcc 4.8Khem Raj2018-12-241-3/+4
| | | | | | | | | | | Fixes errors like In file included from ../include/QtCore/qendian.h:1:0, from TOPDIR/build/tmp/work/x86_64-linux/qtbase-native/5.12.0+gitAUTOINC+13ed06640c-r0/git/src/corelib/codecs/qutfcodec.cpp:43: ../include/QtCore/../../../git/src/corelib/global/qendian.h:165:61: error: redeclaration ‘constexpr T qbswap(T) [with T = qfloat16]’ differs in ‘constexpr’ Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtbase: use v5.12.0 as baseMartin Jansa2018-12-211-4/+5
| | | | | | | | | | | | * restore 0018-Fix-compile-issue-with-gcc-9.patch which is only in v5.12.1 * zlib detection got broken probably in: commit e80bf655e922e9864f8843b5e7bbb47019a6d95a Author: Oswald Buddenhagen <oswald.buddenhagen@qt.io> Date: Thu Dec 7 19:30:07 2017 +0100 configure: verify header presence against sources Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qt5: upgrade to latest revision in 5.12Martin Jansa2018-12-201-14/+11
| | | | | | | * WIP: only qtbase now * fixes #136 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qt5: refresh .patch files, meta-qt5/qt* repos and their tags in recipesMartin Jansa2018-12-201-6/+6
| | | | | | * in preparation for rebase on 5.12 #136 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtbase: Fix build with gcc9Khem Raj2018-12-201-0/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qtbase: Consider clang when computing QMAKE_CXX.COMPILER_MACROSKhem Raj2018-12-201-0/+1
| | | | | | | Helps in compiling qtapps with clang Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtbase: Fix build with clang/muslKhem Raj2018-12-201-0/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qt5: upgrade to 5.11.3Mikko Gronoff2018-12-201-1/+1
| | | | Signed-off-by: Mikko Gronoff <mikko.gronoff@qt.io>
* qtbase: refresh patches and update tags on meta-qt5Martin Jansa2018-11-131-3/+3
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtbase: don't leak absolut path to recipe specific sysrootMax Krummenacher2018-11-131-0/+1
| | | | | | | | | | | | | | If the qtbase recipe-sysroot no longer exists (e.g. because of rm_work) a user of Qt5GuiConfigExtras.cmake will experience the following error: | ERROR: Task (.../meta-qt5/recipes-qt/qt5/qtwebkit_git.bb:do_configure) failed with exit code '1' | CMake Error in Source/WebCore/CMakeLists.txt: | Imported target "Qt5::Gui_EGL" includes non-existent path | | ".../build/tmp-glibc/work/armv7at2hf-neon-imx-angstrom-linux-gnueabi/qtbase/5.11.2+gitAUTOINC+49efea26a5-r0/recipe-sysroot/usr/include/libdrm" Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
* qt5: Disable ltcg for host_buildSamuli Piippo2018-11-131-0/+1
| | | | | | | | | debug-prefix-map does not work correctly for static libraries when using ltcg, and since host_build compilations link agaist the libQt5Bootstrap.a library, it breaks source file packaging into debug packages. Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
* qtbase: Do not use cross_compile checkKhem Raj2018-09-251-2/+2
| | | | | | | | This check is not accepted by qmake resulting in subsequent failures in qtwebengine Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtbase: Fix errors due to -isystemKhem Raj2018-09-251-2/+2
| | | | | | | | | | empty out QMAKE_CFLAGS_ISYSTEM this will ensure that -isystem is not used instead it will use -I to include internal QT headers Dont hardcode QMAKE_DEFAULT_INCDIRS when cross compile Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtbase: Fix build error for armv8BE multilib.Lei Maohui2018-09-251-3/+4
| | | | | | | | * MJ: modified to apply correctly and to be included in native and nativesdk builds as the comment above SRC_URI says. Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qt5: update to latest revision in 5.11 branchMartin Jansa2018-09-251-5/+5
| | | | | | | | | | * drop nobranch=1 again * update the branches and tags on meta-qt5/qt* forks and the tag name in recipes * use latest revision in 5.11 branch instead of 5.11.2 which might be removed again Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qt5: update to Qt 5.11.2Samuli Piippo2018-09-251-4/+2
| | | | | | | | Update The-Qt-Company-Commercial license to the actual commercial license which also replaces preview license in qtbase. Remove old licenses that are no longer used in any module. Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
* nativesdk-qtbase: use default PACKAGESMartin Jansa2018-09-201-15/+3
| | | | | | | * don't append -tools to all packages * fixes automatic packaging of .debug files in ${PN}-dbg Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qt: remove unnecessary FILES.*-dbg variables for packaging .debug filesMartin Jansa2018-09-191-6/+1
| | | | | | | | | | | | | | | | | | | | * package.bbclass can do it automatically since: commit da5ec06814e105451cca11cce76b5c5231110524 Author: Richard Purdie <richard.purdie@linuxfoundation.org> Date: Tue Dec 15 15:38:54 2015 +0000 package: Add auto package splitting of .debug files * .debug files for examples were incorrectly picked by qtbase-qmlplugins-dbg causing following QE error, because unlike qtbase-examples-dbg we don't have libdir in INSANE_SKIP. ERROR: qtbase-5.11.2+gitAUTOINC+49efea26a5-r0 do_package_qa: QA Issue: qtbase-qmlplugins-dbg: found library in wrong location: /usr/share/qt5/examples/widgets/tools/plugandpaint/plugins/.debug/libpnp_extrafilters.so qtbase-qmlplugins-dbg: found library in wrong location: /usr/share/qt5/examples/widgets/tools/styleplugin/styles/.debug/libsimplestyleplugin.so qtbase-qmlplugins-dbg: found library in wrong location: /usr/share/qt5/examples/widgets/tools/echoplugin/plugins/.debug/libechoplugin.so [libdir] ERROR: qtbase-5.11.2+gitAUTOINC+49efea26a5-r0 do_package_qa: QA run found fatal errors. Please consider fixing them. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtbase: fix build with glibc-2.28 - for non-readers like meAndreas Müller2018-08-221-1/+2
| | | | | | | | | | | | 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>
* qtbase: fix build with glibc-2.28Martin Jansa2018-08-141-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* qt5: remove all references to qtquick1 import pathSamuli Piippo2018-07-031-1/+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: qtbase: Upgrade Double-ConversionAlistair Francis2018-06-251-3/+4
| | | | | | | | | 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-221-3/+3
| | | | 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>
* qt5: Update to Qt 5.11.0Samuli Piippo2018-05-301-4/+3
| | | | | | Add recipes for Qt OPC UA and Qt WebGL platform plugin. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qt5: upgrade to 5.11 beta3+Martin Jansa2018-04-201-6/+5
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qt5: upgrade to 5.11 AlphaMartin Jansa2018-04-201-6/+5
| | | | | | | | | | | | | | | | | | | | | | | * 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>