summaryrefslogtreecommitdiffstats
path: root/recipes-qt/qt5
Commit message (Collapse)AuthorAgeFilesLines
* qtwebengine: Allow to build with python3upstream/jansa/master-py3Martin Jansa2020-01-233-0/+334
| | | | | | | | | I have some changes for the initial build, but there are many more needed as shown in upstream chromium: https://bugs.chromium.org/p/chromium/issues/detail?id=942720 https://bugs.chromium.org/p/chromium/issues/list?q=label%3AProj-Python3Migration&can=2 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtwebkit: removeMartin Jansa2020-01-236-249/+1
| | | | | | | * it wasn't updated for very long time and I assume that all users already migrated to qtwebengine if not let me know that you'll start maintaining this recipe Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* python-pyqt5, qtwebengine, qtwebkit, qt-kiosk-browser: skip without meta-python2Martin Jansa2020-01-232-2/+16
| | | | | | | | | | | | | | | | Neither of these actually builds with python3, skip them when meta-python2 isn't included until real fix is available. qtwebkit might not get the support for python3 at all qtwebengine I have some changes for the initial build, but there are many more needed as shown in upstream chromium: https://bugs.chromium.org/p/chromium/issues/detail?id=942720 https://bugs.chromium.org/p/chromium/issues/list?q=label%3AProj-Python3Migration&can=2 python-pyqt5 is already blacklisted because of sip Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* Revert "recipes: Use python3 during build"Martin Jansa2020-01-232-2/+2
| | | | | | | | | | | | | | | | | This reverts commit 47fb26deddabe331514d54a5884bb319839d7de8. Neither of these actually builds with python3, it's good fix to start parsing the layer again, but better to just skip them when meta-python2 isn't available until real fix is available. qtwebkit might not get the support for python3 at all qtwebengine I have some changes for the initial build, but there are many more needed as shown in upstream chromium: https://bugs.chromium.org/p/chromium/issues/detail?id=942720 https://bugs.chromium.org/p/chromium/issues/list?q=label%3AProj-Python3Migration&can=2 python-pyqt5 is already blacklisted because of sip
* recipes: Use python3 during buildKhem Raj2020-01-202-2/+2
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtwebengine: Fix missing headers found in build with clangKhem Raj2020-01-172-0/+51
| | | | | | | | Fixes chromium/third_party/perfetto/include/perfetto/base/task_runner.h:48:55: error: unknown type name 'uint32_t' | virtual void PostDelayedTask(std::function<void()>, uint32_t delay_ms) = 0; Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qttools: remove ptest installationSamuli Piippo2020-01-171-6/+0
| | | | | | | Remove last bit of ptest functionality from qttools as no tests are build anymore. Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
* 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>
* qt5: use PACKAGECONFIG to disable tests and examplesSamuli Piippo2020-01-111-2/+2
| | | | | | | | Currently if qtbase has tests or examples enabled, they will be enabled for every Qt module as well. Change the PACKAGECONFIG options so that they need to be explicitly enabled for each Qt module. Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
* qtlocation: use geoclue 2Samuli Piippo2020-01-111-2/+1
| | | | | | | QtLocation now has plugin for geoclue 2, remove old comment and change geoclue to be runtime dependency. Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
* qtbase: use offscreen platform plugin for toolsSamuli Piippo2020-01-112-2/+2
| | | | | | | 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-112-2/+2
| | | | | | | | 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-native: disable vulkan supportSamuli Piippo2020-01-111-0/+1
| | | | | | | Vulkan may get enabled if the host has vulkan headers available, which will cause a build break. Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
* qtenginio: remove obsolete moduleSamuli Piippo2020-01-111-16/+0
| | | | | | QtEnginio hasn't been supported in a long while. Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
* ogl-runtime: update to v2.5.0 releaseSamuli Piippo2020-01-113-106/+3
| | | | Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
* qtquick3d: add recipeMikko Gronoff2020-01-111-0/+27
| | | | | | | | | Additionally include *.mesh to fix QA Issue: qtquick3d: Files/directories were installed but not shipped in any package: /usr/lib/qml/QtQuick3D/Helpers/meshes /usr/lib/qml/QtQuick3D/Helpers/meshes/axisGrid.mesh Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
* qtwebengine: refresh the patches and upload them to meta-qt5 forks on github ↵Martin Jansa2020-01-1128-120/+123
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | for maintenance * fixes 0004-mkspecs-Allow-builds-with-libc-glibc.patch which didn't apply at all, because the modified mkspecs/features/configure.prf was dropped completely in: commit 047d61f188aae3fe3ebc689900b8a5c9fb6e901d Author: Michal Klocek michal.klocek@qt.io Date: Fri Aug 9 17:40:29 2019 +0200 Add webengine-core feature The same chunk can be found in src/buildtools/config/support.pri, so I've updated the .patch accordingly, but haven't tried the build with musl yet. * fixes 0023-chromium-Move-CharAllocator-definition-to-a-header-f.patch to apply ERROR: qtwebengine-5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0 do_patch: Command Error: 'quilt --quiltrc /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/recipe-sysroot-native/etc/quiltrc push' exited with 0 Output: Applying patch 0023-chromium-Move-CharAllocator-definition-to-a-header-f.patch patching file chromium/cc/base/list_container_helper.cc Hunk #1 FAILED at 13. 1 out of 1 hunk FAILED -- rejects in file chromium/cc/base/list_container_helper.cc patching file chromium/cc/base/list_container_helper.h Hunk #1 FAILED at 8. Hunk #2 succeeded at 174 with fuzz 1. 1 out of 2 hunks FAILED -- rejects in file chromium/cc/base/list_container_helper.h Patch 0023-chromium-Move-CharAllocator-definition-to-a-header-f.patch does not apply (enforce with -f) ERROR: Logfile of failure stored in: /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/temp/log.do_patch.21067 NOTE: recipe qtwebengine-5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0: task do_patch: Failed ERROR: Task (/OE/build/oe-core/meta-qt5/recipes-qt/qt5/qtwebengine_git.bb:do_patch) failed with exit code '1' * build is still going (it will be a while on my slow builder) 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-1124-69/+71
| | | | | | maintenance Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qt5: Update to Qt 5.14.0Samuli Piippo2020-01-1155-155/+133
| | | | Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
* qtbase: Fix patch fuzz detected with devtoolMartin Jansa2020-01-111-4/+4
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtbase: Backport the patch from upstream gerritKhem Raj2020-01-101-14/+20
| | | | | | | This should address https://github.com/meta-qt5/meta-qt5/commit/f6ad80f95ae9951fc8830dcf2cdec6430fb2d910#commitcomment-36707349 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qt5-creator: Update musl patch to link qmldesigner with -lexecinfoKhem Raj2020-01-101-2/+11
| | | | | | | | Fixes link failures like below src/plugins/qmldesigner/designercore/exceptions/exception.cpp:116: undefined reference to `backtrace' Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qtwebengine: Move CharAllocator definition to headerKhem Raj2020-01-072-0/+552
| | | | | | | | | This helps in getting full class definition, in other sources which are operating on sizeof operator, clang10 finds it insufficient information and errors out reporting that sizeof can not be applied on a forward declared class. This patch fixes that Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qt5-creator: Add missing dep on libz.soKhem Raj2020-01-071-1/+1
| | | | | | | clang finds it since it has libz.so/native and accidentally decides to use that, but since its a cross build it fails to link. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qt5-creator: Make clang-format patch work with multiple clang versionsKhem Raj2020-01-071-7/+24
| | | | | | | | FormatStyle APIs keeps changing with clang versions. So there is no better way than checking for clang version to decide types, this ensures that it can build with various clang revs Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qtwebengine: Include cstddef for size_t definitionKhem Raj2019-12-252-0/+44
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qtwebkit: Fix linking errors on clang/mips/ppcKhem Raj2019-12-181-3/+7
| | | | | | Disable JIT on mips32/ppc as well Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ogl-runtime: Only compile for supported architecturesKhem Raj2019-12-181-0/+2
| | | | | | | | | EASTL does not yet support all architectures that oe does so this is better to limit it to supported ones https://code.qt.io/cgit/qt3dstudio/qt3dstudio-eastl.git/tree/UnknownVersion/include/EABase/config/eaplatform.h Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qttools: Add option to disable qdocKhem Raj2019-12-142-1/+35
| | | | | | | | | qdoc needs clang on build host, therefore add an option so it can disabled when clang is not part of build system, it can also peek into build host and if there is a version of clang installed it will configure for it but then conflict with gcc during compilation Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qttools: Use CONFIG+=disable_external_rpathKhem Raj2019-12-141-5/+2
| | | | | | Avoids using tools to remove rpaths later on Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Disable clang dependent recipes for riscv64/32Khem Raj2019-12-092-0/+6
| | | | | | | Since clang is not buildable for RISC-V, as yet, these should be disabled as well. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qtwebengine: Fix build with 64bit time_t on 32bit architecturesKhem Raj2019-12-022-0/+71
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qtwebkit: add missing flex-native depChristopher Larson2019-11-281-1/+1
| | | | Signed-off-by: Christopher Larson <chris_larson@mentor.com>
* qt5-creator, qtbase: Replace python with python3Khem Raj2019-11-282-3/+3
| | | | | | Ensure py3 is used during build Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qtdeclarative: Ask for python3 explicitlyKhem Raj2019-11-272-1/+63
| | | | | | Python2 is going out in Jan 2020 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qtbase: Fix build on 32bit arches with 64bit time_tKhem Raj2019-11-274-0/+65
| | | | | | | time element is deprecated on new input_event structure in kernel's input.h Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Use features_check instead of distro_features_checkKhem Raj2019-11-271-1/+1
| | | | | | distro_features_check is now deprecated Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qtwebengine: Fix musl buildKhem Raj2019-11-202-0/+30
| | | | | | | | | | | Currently, musl build fails to generate .pc ( packageconfig ) files because qmake has logic to detect glibc, which obviously will be failing for musl, and as a result it does not generate all needed files which then fails during do_install like below | sed: can't read /mnt/b/yoe/build/tmp/work/core2-32-yoe-linux-musl/qtwebengine/5.13.2+gitAUTOINC+556576b55f_843d70ac87-r0/image/usr/lib/pkgconfig/Qt5WebEngineCore.pc: No such file or directory Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qttools: don't install tst_qtattributionsscannerMartin Jansa2019-11-011-1/+0
| | | | | | | | | | | | | | | | | * no longer enabled in cross builds since upstream commit: commit de220c1a8459b0d5a4080e0d637e1a5e5a920394 Author: Kai Koehne <kai.koehne@qt.io> Date: Thu Jun 20 12:18:35 2019 +0200 Disable tests not working for Android and WinRT Fixes: QTBUG-73626 Fixes: QTBUG-73627 Fixes: QTBUG-73628 Fixes: QTBUG-73629 Fixes: QTBUG-73630 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qt5: Upgrade to Qt 5.13.2Martin Jansa2019-10-31102-293/+209
| | | | 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>
* ogl-runtime: Fix build on x86_64Khem Raj2019-10-082-0/+36
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qtwayland: Fix build with clang/libc++Khem Raj2019-10-082-1/+33
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qtbase: Fix build when fp16 is usedKhem Raj2019-10-084-0/+40
| | | | | | | | 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>
* qt3d-runtime: update to ogl-runtime v2.4Mikko Gronoff2019-09-235-16/+191
| | | | | | | | | | Qt 3D Studio Runtime 2.x switches/upgrades to OpenGL Runtime with version update 2.3 -> 2.4. * Contains new 3rdparty submodule EASTL (Electronic Arts Standard Template Library), recipe adjusted accordingly. * format-security, examples & musl libc build issues fixed Signed-off-by: Mikko Gronoff <mikko.gronoff@qt.io>
* qtvirtualkeyboard: update supported layoutsSamuli Piippo2019-09-231-0/+22
| | | | | | | | | Update PACKAGECONFIGs with all the supported keyboard layouts. Change-Id: I943629b33f6132a68f49f83bcf02e6d822ddb34f Reviewed-by: Kwangsub Kim <kwangsub.kim@qt.io> Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io> Signed-off-by: Mikko Gronoff <mikko.gronoff@qt.io>
* qt5-creator: Fix clangformat with clang 9.xKhem Raj2019-09-062-0/+37
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qttools: Add CONFIG+=config_clang_done when not building with clangKhem Raj2019-09-031-3/+5
| | | | | | | | | | | | | | | | This ensures that dev packages from clang are not looked into during configure Define YOCTO_ALTERNATE_EXE_PATH pointing into target sysroot so that llvm-config can find the target libclang instead of native one Fixes linking ../../bin/qdoc TMPDIR/work/cortexa7t2hf-neon-vfpv4-yoe-linux-gnueabi/qttools/5.13.0+gitAUTOINC+cc9250477e-r0/recipe-sysroot-native/usr/lib/libclang.so: file not recognized: file format not recognized clang-9: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [Makefile:212: ../../bin/qdoc] Error 1 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qtwebengine: Fix compile failure with 5.2+ kernel headersKhem Raj2019-09-032-0/+30
| | | | | | | Fixes error: 'SIOCGSTAMP' was not declared in this scope Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qtserialbus: Fix build with 5.2+ kernel headersKhem Raj2019-09-032-0/+35
| | | | | | Backport relevant patch from upstream Signed-off-by: Khem Raj <raj.khem@gmail.com>