aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-qt
Commit message (Collapse)AuthorAgeFilesLines
* quazip: Fix multilib buildsKhem Raj2019-12-192-2/+35
| | | | | | | | | | | | Fixes following errors when baselin != lib ERROR: quazip-0.7.3-r0 do_package: QA Issue: quazip: Files/directories were installed but not shipped in any package: /usr/lib/libquazip.so /usr/lib/libquazip.so.1 /usr/lib/libquazip.so.1.0 /usr/lib/libquazip.so.1.0.0 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>
* packagegroup-qt5-toolchain-target: Make machine specificKhem Raj2019-12-091-0/+1
| | | | | | We want to deploy arch specific overrides Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Disable clang dependent recipes for riscv64/32Khem Raj2019-12-094-0/+14
| | | | | | | 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>
* qtwebengine: Add pulseaudio supportMichael Davis2019-08-221-1/+4
| | | | | | Add pulseaudio support if it is a distro feature Signed-off-by: Michael Davis <michael.davis@essvote.com>
* qtwebengine: Rename jasoncpp to jsoncppMichael Davis2019-08-221-1/+1
| | | | | | | jasoncpp is not the name of the package included in meta-oe. The correct naming is jsoncpp. Signed-off-by: Michael Davis <michael.davis@essvote.com>
* qtwayland: do not reference private modules in cmake Qt5WaylandClientAndreas Müller2019-08-222-0/+38
| | | | | | | | | | | | | | | | | | | | | | The files referenced are not installed causing trouble in projects using Qt5WaylandClientConfig.cmake: | CMake Error at /home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-neon-vfpv4-mortsgna-linux-gnueabi/liri-shell/0.9.0+gitAUTOINC+42bd7f4610-r0/recipe-sysroot/usr/lib/cmake/Qt5WaylandClient/Qt5WaylandClientConfig.cmake:110 (find_package): | Could not find a package configuration file provided by | "Qt5LinuxAccessibilitySupport" (requested version 5.13.0) with any of the | following names: | | Qt5LinuxAccessibilitySupportConfig.cmake | qt5linuxaccessibilitysupport-config.cmake Fixes: QTBUG-76042 [1] Upstream-Status: Applied [2] [1] https://bugreports.qt.io/browse/QTBUG-76042 [2] https://code.qt.io/cgit/qt/qtwayland.git/commit/?id=f4636b934f90b2a07b09f1925a86440cf1944d08 Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
* qtwayland: remove workaround for missing private headers (QTBUG-71340)Andreas Müller2019-08-221-29/+0
| | | | | | | | | | * reading [1] again caused hope bug is fixed * tested with buildhistory: no change at installed files detected * recipies affected (lirios/meta-qt5-extra) are building fine (with the patch following) Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtdeclarative: Use qmlcachegen provided by OE instead of system one.Piotr Tworek2019-07-292-0/+37
| | | | | | | | | | | | | | | | Right now cmake config file installed by qtdeclarative-native tries to use system installed qmlcachegen tool. Due to this packages using qml compiler will produce correct results only if the host system has qmlcachegen installed and its version matches Qt version provided by OE. If the tool is missing the package requring it will fail to build. If its present but the version does not match OE version of Qt the package will build fine, but in turn will fail to run on the target. Fix this by patching Qt5QuickCompilerConfig.cmake to look for qmlcachegen in OE_QMAKE_PATH_EXTERNAL_HOST_BINS. Similar approach is already used for other Qt tools from qtbase-native recipe. Signed-off-by: Piotr Tworek <tworaz@tworaz.net> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtbase-native: Always use qt provided doubleconversion library.Piotr Tworek2019-07-291-0/+1
| | | | | | | | | | Right now qtbase-native will try to look for double-coversion library on the host system. If not avaiable it'll use its own copy. This means qtbase-native binaries built on one host may fail to run on another. Fix this by always using qt provided double-conversion library for native qtbase builds. Signed-off-by: Piotr Tworek <tworaz@tworaz.net>
* qttools: Enable clang support when using clangKhem Raj2019-07-291-3/+13
| | | | | | | | | | | | Fix compiler errors when using clang compiler along the way Fixes aarch64-yoe-linux-musl-ld: cannot find -lclang Use chpath to delete rpath which is detected as path to native clang in sysroot Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qt5-creator: update to v4.9.2Samuli Piippo2019-07-294-117/+9
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* maliit-framework-qt5: Fix build when ptest is enabledKhem Raj2019-07-172-0/+67
| | | | | | This is primarily seen when using ptest and QT 5.13 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qtwebengine: Fix build on aarch64Khem Raj2019-07-1715-27/+90
| | | | | | | adapt a patch from meta-browser to get aarch64 going Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtwebengine: refresh the patches to applyMartin Jansa2019-07-1623-110/+84
| | | | | | | | | | | | | * 4 musl patches didn't apply at all * 0015-chromium-musl-include-asm-generic-ioctl.h-for-TCGETS.patch is dropped, because whole chromium/device/serial/serial_io_handler_posix.cc was removed in upgrade to 73: commit 38a9a29f4f9436cace7f0e7abf9c586057df8a4e Author: Allan Sandfeld Jensen <allan.jensen@qt.io> Date: Wed Feb 13 16:23:34 2019 +0100 Subject: BASELINE: Update Chromium to 73.0.3683.37 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtremoteobjects: Use OE_PATH_EXTERNAL_HOST_BINS to enable cmake to find repcibinderwolf2019-07-152-0/+23
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qt5: Upgrade to Qt 5.13.0Samuli Piippo2019-07-1551-592/+136
| | | | | | | 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-152-9/+9
| | | | | | | | | | | 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>
* qt5everywheredemo: update HOMEPAGECallum O'Brien2019-07-151-1/+1
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtconnectivity,qtsystems: Account for bluez4 from oe-coreKhem Raj2019-07-152-6/+2
| | | | | | | bluez4 has been deprecated for few years now it has been removed completely from oe-core Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qtbase: fix build with gcc-9Martin Jansa2019-05-307-13/+387
| | | | | | | | | | | | | | | | | | * 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>
* qtlocation: add PACKAGECONFIGs for geoservicesGaurav Kalra2019-05-301-0/+5
| | | | | Signed-off-by: Gaurav Kalra <gvkalra@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qt3d-runtime: update to v2.3Mikko Gronoff2019-05-191-3/+3
| | | | | Signed-off-by: Mikko Gronoff <mikko.gronoff@qt.io> 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>
* qtwebengine: arm: use OE specified -mcpu optionJohannes Pointner2019-05-062-0/+42
| | | | | | | OE-Core sets -mcpu option, which is equivalent to -march and -mtune combination. Therefore don't set -march and -mtune in chromium. Signed-off-by: Johannes Pointner <johannes.pointner@br-automation.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.