aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-qt/qt5/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: backport two elgfs fixes from qtbase upstreamMing Liu2022-02-221-0/+2
| | | | | | | | | | | To let eglfs_kms integration work, we need backport two patches from qtbase upstream: ``` bd4a1b98: eglfs: kms: Query the current mode correctly via the encoder f9e70f49: eglfs_kms: Do not skip the initial SetCrtc ``` Signed-off-by: Ming Liu <liu.ming50@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>
* qtbase: Add vulkan to PACKAGECONFIGsTom Hochstein2020-07-071-0/+1
| | | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> (cherry picked from commit 62bb2ca66bfc13f3216a207013a51c3b9a1b9f26)
* 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>
* qtbase: fix build with platform where FE macro are not definedNicola Lunghi2020-02-061-0/+1
| | | | | | see added patch Signed-off-by: Nicola Lunghi <nick83ola@gmail.com>
* qt5: upgrade to 5.14.1Martin Jansa2020-01-271-3/+3
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtbase: Use pcre packages by defaultAlexandru Croitor2020-01-111-1/+1
| | | | | | | | This forces using the yocto provided package instead of the one in qtbase/src/3rdparty. Signed-off-by: Samuli Piippo <samuli.piippo@qt.io> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtbase: refresh the patches and upload them to meta-qt5 forks on github for ↵Martin Jansa2020-01-111-2/+2
| | | | | | 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>
* qt5-creator, qtbase: Replace python with python3Khem Raj2019-11-281-2/+2
| | | | | | Ensure py3 is used during build Signed-off-by: Khem Raj <raj.khem@gmail.com>
* 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-4/+4
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtbase: Add PACKAGECONFIG for lttngAndreas Holzammer2019-10-151-0/+1
| | | | 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>
* qtbase: fix build with gcc-9Martin Jansa2019-05-301-1/+2
| | | | | | | | | | | | | | | | | | * 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>
* qtbase: add no-opengl to PACKAGECONFIG_GL when opengl isn't in DISTRO_FEATURESMartin Jansa2019-05-141-1/+1
| | | | | | | | | | * 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>
* qtbase: add accessibility from PACKAGECONFIG_KDE to PACKAGECONFIG_DEFAULTMartin Jansa2019-05-141-2/+2
| | | | | | | | | | * 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>
* qtbase: add libxext dependency for xcb PACKAGECONFIGMartin Jansa2019-05-141-1/+1
| | | | | | | | | | * 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>
* qtbase-tools: Fix error during pkg_postinstKurt Kiefer2019-05-021-1/+1
| | | | | | | | | | 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.
* qt5: upgrade to 5.12.3Martin Jansa2019-04-181-2/+2
| | | | | | | | | | | * 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: disable gold for all archs not just x86Martin Jansa2019-04-181-22/+32
| | | | | | | | | | | | | | | | | | | * enabling xlib in x86_64 build was failing with: ERROR: Feature 'xcb-xlib' was enabled, but the pre-condition 'features.xlib && libs.xcb_xlib' failed. * the root cause is linking with full path libm.so in my case: /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/qtbase/5.12.3+gitAUTOINC+b527725766-r0/recipe-sysroot/usr/lib/libm.so which with gold fails with: /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/qtbase/5.12.3+gitAUTOINC+b527725766-r0/recipe-sysroot-native/usr/bin/x86_64-oe-linux/../../libexec/x86_64-oe-linux/gcc/x86_64-oe-linux/8.3.0/ld: error: cannot open /lib/libm.so.6: No such file or directory /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/qtbase/5.12.3+gitAUTOINC+b527725766-r0/recipe-sysroot-native/usr/bin/x86_64-oe-linux/../../libexec/x86_64-oe-linux/gcc/x86_64-oe-linux/8.3.0/ld: error: cannot open /usr/lib/libmvec_nonshared.a: No such file or directory /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/qtbase/5.12.3+gitAUTOINC+b527725766-r0/recipe-sysroot-native/usr/bin/x86_64-oe-linux/../../libexec/x86_64-oe-linux/gcc/x86_64-oe-linux/8.3.0/ld: error: cannot open /lib/libmvec.so.1: No such file or directory collect2: error: ld returned 1 exit status * not linking with libm at all in xcb test makes it pass, or linking with -lm as before works as well, but to be safe lets disable gold everywhere until it's resolved in upstream Qt * also reported in the 5.12.2 upgrade PR: https://github.com/meta-qt5/meta-qt5/pull/181#issuecomment-484425112 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-5/+4
| | | | | | | | | | | | | | | 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-1/+1
| | | | | | github.com/meta-qt5 forks Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qt5: patch build paths from installed filesSamuli Piippo2019-04-031-5/+0
| | | | | | | | | | | | | | | | All 3rdparty libs and includes are now resolved into full filepaths, which means build paths to the yocto build environment are in module's prl, pri, pc and cmake files. Move existing patching from qtbase to the bbclass so that it's applied to all modules. -L paths are no longer included in the .pc files, remove unneeded patching for those. Task-number: QTBUG-72903 Change-Id: Iae5d150593aef153c46aaf8a3ba22fbafcc9b818 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de> Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io> Signed-off-by: Mikko Gronoff <mikko.gronoff@qt.io>
* Upgrade to 5.12.2Mikko Gronoff2019-04-031-8/+3
| | | | Signed-off-by: Mikko Gronoff <mikko.gronoff@qt.io>
* qtbase: let user decide how to link openssl to Qt5 librariesFrancesco Giancane2019-03-181-1/+4
| | | | | | | | | Switch from the configure script was extended from -openssl to -openssl-{linked,runtime} so that one can select whether to enable ssl library at linking time or runtime (with dlopen()), or letting the build system decide if no flag is specified. Now with the OPENSSL_LINKING_MODE variable, it is possible to decide which linking mode to be used. Signed-off-by: Francesco Giancane <francesco.giancane@polito.it> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtbase: fix target mkspec adjustmentAndreas Müller2019-03-181-0/+3
| | | | | | mkspecs are not part of qtbase-tools Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
* qtbase: Fix test builds with clang/x86_64Khem Raj2019-03-071-0/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qtbase: Adjust target mkspec settingsAndreas Müller2019-03-071-0/+15
| | | | | | | | * linux-oe-g++ won't work use linux-g++ by default * we doe not cross compile on target * adjustment are done at postinst to keep build sysroots unmodified Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
* qtbase: Export host compiler and linkerKhem Raj2019-02-141-0/+10
| | | | | | | | | | | | | | | | | | | | Certain portions of qtwebengine build involves building native tools using host compiler/linker, this however currently uses gcc and when we build with clang to compile the target pieces, chromium configures for clang and rightly so, but then does not have a way to define flags for host and target separately, and it ends up supplying same flags for both host and target builds, the trouble is that the options between clang and gcc are not always same in some cases, they dont understand each others options. So build starts to fail due to these errors about unknown cmdline options. This makes sure we inject CC_host, CXX_host, LD_host into qmake.conf so they can be used in such packages We use clang to do host builds when TOOLCHAIN = "clang" is used otherwise default to gcc as it was the case Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qtbase: Update the PACKAGECONFIG_KDE to enable moreAlistair Francis2019-02-081-1/+1
| | | | | | | Update PACKAGECONFIG_KDE to ensure that all required packages are enabled. Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
* qtbase: fix incomplete recipe changes from previous commitMartin Jansa2019-01-121-1/+1
| | | | | | * 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-2/+2
| | | | | | | | | | | | | | | | | | | * 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-1/+2
| | | | | | | | | | | 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: update xinput PACKAGECONFIGMartin Jansa2018-12-211-2/+2
| | | | | | | | | | | * see: commit a692d7cd2804ead51aef8670c9fbb098c117ebf6 Author: Alexander Volkov <a.volkov@rusbitech.ru> Date: Tue Mar 6 16:02:54 2018 +0300 xcb: Use XCB instead of Xlib for XInput Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtbase: use v5.12.0 as baseMartin Jansa2018-12-211-2/+3
| | | | | | | | | | | | * 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-11/+8
| | | | | | | * 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-4/+4
| | | | | | * 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-2/+2
| | | | Signed-off-by: Mikko Gronoff <mikko.gronoff@qt.io>
* qtbase: refresh patches and update tags on meta-qt5Martin Jansa2018-11-131-1/+1
| | | | 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: don't use thumb for armv[45]Martin Jansa2018-10-151-0/+5
| | | | | | * it fails when building with gcc8 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtbase: Do not use cross_compile checkKhem Raj2018-09-251-1/+1
| | | | | | | | 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>