summaryrefslogtreecommitdiffstats
path: root/recipes-qt/qt5
Commit message (Collapse)AuthorAgeFilesLines
...
* qt5-creator: rrecommend qtwebengine dev related packagesAndreas Müller2020-09-021-0/+4
| | | | | | | | | | | Actually these belong to packagegroup-qt5-toolchain-target but: * qtwebengine is a resource consuming build monster and not mandatory for everybody's qt-toolchain * as far as I tested qtwebengine does not build for clang - so reduce impact for people using clang-toolchain Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
* qt5-creator: Add cmake to RRECOMMENDSAndreas Müller2020-09-021-0/+1
| | | | | | | Without cmake qt-creator is not of much use - most projects use cmake these days and as far as I can remember qt will move to build with cmake. Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
* qt5-creator: Make clang a PACKAGECONFIG - enabled for clang toolchainAndreas Müller2020-09-021-6/+12
| | | | | | | | | | | | | | | | Test case: * meta-clang in layers * gcc toolchain * build qttools with PACKAGECONFIG[clang] enabled to get (native) help tools. After setting clang PACKAGECONFIG at qttools, qt5-creator builds failed due to linker errors: Linker tried to link against native clang tools. Avoid that in the same way as clang-toolchain did but use PACKAGECONFIG. * clang-toolchain builds remain unchanged * a hint was dropped in the recipe to support users failing for same issue Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
* qttools: Force build of native help-tools when clang is set in PACKAGECONFIGAndreas Müller2020-09-022-1/+34
| | | | | | | | | | | | | | | | | | | | Am working on recipes for kdevelop and musescore. These require native help tools - at least because cmake configs reference them. * Have tried other - patch-less - ways to achieve this without success * Tested multiple combinations with and without clang in PACKAGECONFIG * gcc/clang toolchain with expected result: For clang set, native tools are build for clang misssing tools are not build. * Target build remained unchanged because it was buildung help tools with clang in PACKAGECONFIG * Tried also to add the patch to nativesdk but help tools were not build. Stopped further investigation - that is not a use case for me - sorry Note for clang-toolchain users (confused me a bit - now it's obvious): For qttools-native clang has to be set explicitly in PACKAGECONFIG, otherwise native help tools are not build (same as behaviour as before). Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
* qttools: Remove unused variables/configurationsAndreas Müller2020-09-021-11/+0
| | | | | | | | | | | Grepped around in sources of qttools and qtbase: there is not a single hint that these settings cause any effect. For the clang_config.. variables [1] was found: Seems the variables set were removed a while back. [1] https://code.qt.io/cgit/qt/qttools.git/commit/?id=e181ec2c20ede6b878187f3123d190e8b952deb1 Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
* qt5-creator: Update to 4.13.0 beta2Khem Raj2020-08-262-8/+40
| | | | | | Fixed build with clang11 and musl Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qt5-creator: Refresh musl patchKhem Raj2020-08-261-3/+3
| | | | | | | | | | | Fixes Applying patch 0001-Link-with-libexecinfo-on-musl.patch patching file src/plugins/debugger/debugger.pro Hunk #1 succeeded at 140 (offset 1 line). patching file src/plugins/qmldesigner/qmldesignerplugin.pro Hunk #1 succeeded at 4 with fuzz 2 (offset 1 line). Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qtbase: remove path of the build host from qmake.confMingde (Matthew) Zeng2020-07-081-2/+3
| | | | | | | | | | | | | | | | | OE_QMAKE_CFLAGS and OE_QMAKE_CXXFLAGS contain path of the build host, which is not useful for the target, and can be a potential security risk. It looks like the following in the target qmake.conf (actual build host path replaced with $PATH_OF_BUILD_HOST): isEmpty(QMAKE_CFLAGS): QMAKE_CFLAGS = -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=$PATH_OF_BUILD_HOST/qtbase/5.15.0+gitAUTOINC+f6fe4bbab7-r0=/usr/src/debug/qtbase/5.15.0+gitAUTOINC+f6fe4bbab7-r0 -fdebug-prefix-map=$PATH_OF_BUILD_HOST/qtbase/5.15.0+gitAUTOINC+f6fe4bbab7-r0=/usr/src/debug/qtbase/5.15.0+gitAUTOINC+f6fe4bbab7-r0 -fdebug-prefix-map=$PATH_OF_BUILD_HOST/qtbase/5.15.0+gitAUTOINC+f6fe4bbab7-r0/recipe-sysroot= -fdebug-prefix-map=$PATH_OF_BUILD_HOST/qtbase/5.15.0+gitAUTOINC+f6fe4bbab7-r0/recipe-sysroot-native= -fmacro-prefix-map and -fdebug-prefix-map are therefore removed from qmake.conf on the target, as these are default options only that can be overridden any time. Signed-off-by: Mingde (Matthew) Zeng <matthew.zeng@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* icu: use system library only targetsAndrej Valek2020-07-082-1/+92
| | | | | | | | | | | | - use bundled one for native/v8 internal builds Complete system ICU library using requires ICU dev package be installed on host. Enabling dependency on native package is not enough due to V8 hosttools toolchain. V8 toolchain is not using native sysroot, only a host packages. On the other hand webenegine does not produce external native artifacts. So external system ICU linking is not needed. Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
* ogl-runtime: update to v2.7.0Mikko Gronoff2020-07-071-3/+3
| | | | Signed-off-by: Mikko Gronoff <mikko.gronoff@qt.io>
* qt5-creator_git: add x11 and opengl to REQUIRED_DISTRO_FEATURESMingde (Matthew) Zeng2020-07-071-0/+3
| | | | Signed-off-by: Mingde (Matthew) Zeng <matthew.zeng@windriver.com>
* qtwayland: conditional to support PACKAGECONFIG wayland-eglHongxu Jia2020-07-071-1/+1
| | | | | | If opengl not in DISTRO_FEATURES, there will be no virtual/egl provider Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
* qtbase: Add vulkan to PACKAGECONFIGsTom Hochstein2020-05-281-0/+1
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* qt5: upgrade to 5.15.0Martin Jansa2020-05-27106-155/+155
| | | | | | | | | * https://www.qt.io/blog/qt-5.15-released * continue to use latest revision in 5.15 (and 80-based) branch for qtwebengine, because we were already using newer than v5.15.0 revision and some of those fixes are needed for master (e.g. for build with gcc-10) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtbase: Restrict 'tests' build to distros with 'ptest' supportOtavio Salvador2020-05-111-1/+2
| | | | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* qt5-ptest: give rwx permission to user for all the test filesMingde (Matthew) Zeng2020-05-111-1/+1
| | | | | | Otherwise, ptest will fail with numerous Permission Denied errors Signed-off-by: Mingde (Matthew) Zeng <matthew.zeng@windriver.com>
* qtquicktimeline: upgrade to 5.15 rc1Martin Jansa2020-05-111-1/+1
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtquicktimeline: add recipeMikko Gronoff2020-05-111-0/+13
| | | | Signed-off-by: Mikko Gronoff <mikko.gronoff@qt.io>
* qt5: upgrade to 5.15 rc1Martin Jansa2020-05-1171-121/+92
| | | | | | * use latest revisions in 5.15 branches Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtwebengine: Fix build with muslKhem Raj2020-05-112-0/+36
| | | | | | msghdr is not same between musl and glibc so do not assume that Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qtquick3d: Add module prefix for enabling assimpKhem Raj2020-05-111-1/+1
| | | | | | | | | | Lately qtquick 3D changed this option to avoid some conflicts see [1] Fixes #314 [1] https://github.com/qt/qtquick3d/commit/b14b14e9194708cf02df1149bd735f6ce245c3e4 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qt5: upgrade to 5.15 beta4Martin Jansa2020-04-2146-74/+74
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtwebkit: Switch to 5.212 branchKhem Raj2020-04-212-3848/+2
| | | | | | | Drop py3 support patch as its no longer needed on this branch This is more uptodate branch and has needed fixes to work with Qt 5.15 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qt5-creator: Upgrade to 4.12 branchKhem Raj2020-04-212-57/+3
| | | | | | | | This fixes build with - qt 5.15 QPainterPath changes - Clang-10 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qtmultimedia: create /usr/lib/plugins/videoeglvideonode referenced by ↵Martin Jansa2020-04-071-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Qt5MultimediaConfig.cmake * using Qt5MultimediaConfig.cmake fails with error bellow, temorary fix that by creating empty directory CMake Error at /OE/build/luneos-master/webos-ports/tmp-glibc/work/core2-64-webos-linux/org.webosports.app.camera/0.0.2-1+gitAUTOINC+a407b0443e-r0/recipe-sysroot/usr/lib/cmake/Qt5Multimedia/Qt5MultimediaConfig.cmake:31 (message): The imported target "Qt5::Multimedia" references the file "/OE/build/luneos-master/webos-ports/tmp-glibc/work/core2-64-webos-linux/org.webosports.app.camera/0.0.2-1+gitAUTOINC+a407b0443e-r0/recipe-sysroot/usr/lib/plugins/videoeglvideonode" but this file does not exist. Possible reasons include: * The file was deleted, renamed, or moved to another location. * An install or uninstall procedure did not complete successfully. * The installation package was faulty and contained "/OE/build/luneos-master/webos-ports/tmp-glibc/work/core2-64-webos-linux/org.webosports.app.camera/0.0.2-1+gitAUTOINC+a407b0443e-r0/recipe-sysroot/usr/lib/cmake/Qt5Multimedia/Qt5Multimedia_QSGVideoNodeFactory_EGL.cmake" but not all the files it references. Call Stack (most recent call first): /OE/build/luneos-master/webos-ports/tmp-glibc/work/core2-64-webos-linux/org.webosports.app.camera/0.0.2-1+gitAUTOINC+a407b0443e-r0/recipe-sysroot/usr/lib/cmake/Qt5Multimedia/Qt5MultimediaConfig.cmake:244 (_qt5_Multimedia_check_file_exists) /OE/build/luneos-master/webos-ports/tmp-glibc/work/core2-64-webos-linux/org.webosports.app.camera/0.0.2-1+gitAUTOINC+a407b0443e-r0/recipe-sysroot/usr/lib/cmake/Qt5Multimedia/Qt5Multimedia_QSGVideoNodeFactory_EGL.cmake:5 (_populate_Multimedia_plugin_properties) /OE/build/luneos-master/webos-ports/tmp-glibc/work/core2-64-webos-linux/org.webosports.app.camera/0.0.2-1+gitAUTOINC+a407b0443e-r0/recipe-sysroot/usr/lib/cmake/Qt5Multimedia/Qt5MultimediaConfig.cmake:253 (include) CMakeLists.txt:43 (find_package) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qt5: upgrade to 5.15 beta3Martin Jansa2020-04-0612-13/+13
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtdeclarative: bump SRCREVMartin Jansa2020-04-061-1/+1
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* nativesdk-qtbase: fix unpackaged filesMartin Jansa2020-04-031-0/+1
| | | | | | | | | | | * fixes: ERROR: nativesdk-qtbase-5.14.99+5.15-beta2+gitAUTOINC+f515ca5dcd-r0 do_package: QA Issue: nativesdk-qtbase: Files/directories were installed but not shipped in any package: /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/lib/metatypes /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/lib/metatypes/qt5core_metatypes.json Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install. nativesdk-qtbase: 2 installed and not shipped files. [installed-vs-shipped] Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtwebengine: update patches for beta2Martin Jansa2020-04-0331-94/+51
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qt5: upgrade to 5.15 beta2Martin Jansa2020-04-0326-27/+27
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtwebengine: fix QT_MODULE_BRANCH_CHROMIUMMartin Jansa2020-04-021-1/+1
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtquick3d: Fix branch for fetching assimp submoduleKhem Raj2020-03-301-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qt3d: update patch to applyMartin Jansa2020-03-262-7/+7
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qt5: upgrade to latest revisions in 5.15 branchMartin Jansa2020-03-1835-36/+36
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtwebengine: update patches for latest 5.15 revisionMartin Jansa2020-03-1829-63/+63
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtwebengine: update patches for 5.15Martin Jansa2020-03-1829-37/+37
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtbase: update patches for latest 5.15 revisionMartin Jansa2020-03-1825-107/+72
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtdeclarative: add dependency on qtdeclarative-nativeMartin Jansa2020-03-181-1/+1
| | | | | | | | | | | | | | | | | | * fixes: | /OE/build/luneos-zeus/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtdeclarative/5.14.99+gitAUTOINC+f7647d5ada-r0/recipe-sysroot-native/usr/bin/qmake -install qinstall /OE/build/luneos-zeus/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtdeclarative/5.14.99+gitAUTOINC+f7647d5ada-r0/build/src/qml/qt5qml_metatypes.json ../../lib/metatypes/qt5qml_metatypes.json | /OE/build/luneos-zeus/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtdeclarative/5.14.99+gitAUTOINC+f7647d5ada-r0/recipe-sysroot-native/usr/bin/qmltyperegistrar --generate-qmltypes=plugins.qmltypes --import-name=QtQml --major-version=2 --minor-version=15 --foreign-types=/OE/build/luneos-zeus/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtdeclarative/5.14.99+gitAUTOINC+f7647d5ada-r0/recipe-sysroot/usr/lib/metatypes/qt5network_metatypes.json,/OE/build/luneos-zeus/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtdeclarative/5.14.99+gitAUTOINC+f7647d5ada-r0/recipe-sysroot/usr/lib/metatypes/qt5core_metatypes.json --dependencies=/OE/build/luneos-zeus/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtdeclarative/5.14.99+gitAUTOINC+f7647d5ada-r0/git/src/qml/dependencies.json --private-includes -o qt5qml_qmltyperegistrations.cpp qt5qml_metatypes.json | make[2]: /OE/build/luneos-zeus/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtdeclarative/5.14.99+gitAUTOINC+f7647d5ada-r0/recipe-sysroot-native/usr/bin/qmltyperegistrar: Command not found | make[2]: *** [Makefile:1680: qt5qml_qmltyperegistrations.cpp] Error 127 | make[2]: *** Waiting for unfinished jobs.... | make[2]: Leaving directory /OE/build/luneos-zeus/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtdeclarative/5.14.99+gitAUTOINC+f7647d5ada-r0/build/src/qml | make[1]: *** [Makefile:102: sub-qml-make_first-ordered] Error 2 | make[1]: Leaving directory /OE/build/luneos-zeus/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtdeclarative/5.14.99+gitAUTOINC+f7647d5ada-r0/build/src | make: *** [Makefile:50: sub-src-make_first] Error 2 | WARNING: exit code 1 from a shell command. | NOTE: recipe qtdeclarative-5.14.99+gitAUTOINC+f7647d5ada-r0: task do_compile: Failed Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qt5.inc: package metatypes filesMartin Jansa2020-03-181-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | * enabled since qtbase commit: commit c5e9d7e504172707f7705d03ae27006c45eb5eac Author: Ulf Hermann <ulf.hermann@qt.io> Date: Wed Aug 28 16:09:25 2019 +0200 Generate metatypes.json for QtCore, QtGui, and QtWidgets These libraries contain types which are exposed to QML from qtdeclarative. Change-Id: Ie0edaef94fcb40074b6f6b2ea1a1c3a77ed3e9a9 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io> * fixes: ERROR: qtbase-5.14.99+gitAUTOINC+2e7a28958d-r0 do_package: QA Issue: qtbase: Files/directories were installed but not shipped in any package: /usr/lib/metatypes /usr/lib/metatypes/qt5gui_metatypes.json /usr/lib/metatypes/qt5core_metatypes.json /usr/lib/metatypes/qt5widgets_metatypes.json Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install. qtbase: 4 installed and not shipped files. [installed-vs-shipped] Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtbase: drop xkb, xcb-xinput PACKAGECONFIGsMartin Jansa2020-03-181-4/+2
| | | | | | | | | | | * removed from qtbase in: commit 60588e1a5dd9b10803e078c741271cbe5713a51b Author: Gatis Paeglis <gatis.paeglis@qt.io> Date: Tue Feb 19 10:09:19 2019 +0100 3rdparty: remove xcb libs and bump minimal required version to 1.11 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qt5: upgrade to latest revisions in 5.15 branchMartin Jansa2020-03-1841-44/+43
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtwebengine: Fix build with ninja >= 1.10.0Andreas Müller2020-03-135-7/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * For now just skip version check. Looked into: ninja came from meta-oe to oe-core with: commit fc3aef67a95a90e9a485c6b0e93db8cdeab5d3ab Author: Khem Raj <raj.khem@gmail.com> Date: Thu Jul 27 21:52:12 2017 -0700 ninja: Add recipe llvm is using it, therefore move it from meta-oe Signed-off-by: Khem Raj <raj.khem@gmail.com> That was in rocko release cycle. So the assumption we have a ninja decent enough should be acceptable. * and since the upgrade to ninja-1.10.0 in: commit d1cd957cea29f3ab111ae752bc9ad75a1324c255 Author: Upgrade Helper <auh@auh.yoctoproject.org> Date: Fri Feb 21 14:45:35 2020 -0800 ninja: upgrade 1.9.0 -> 1.10.0 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> the do_configure task fails with: | ERROR: Feature 'webengine-system-ninja' was enabled, but the pre-condition 'tests.webengine-ninja' failed. * Looked into qtwebengine current dev branch: There is no solution yet. So as soon as upstream offers a better solution most likely this patch will not apply any more and has to be removed then. Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
* qtmultimedia: Enable gstreamer supportKhem Raj2020-03-131-1/+2
| | | | | | This helps qt5everywheredemo to play sample videos Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qt5-creator: Inherit mime-xdgKhem Raj2020-03-131-2/+2
| | | | | | | Fixes QA warning ERROR: QA Issue: package contains desktop file with key 'MimeType' but does not inhert mime-xdg: qt5-creator path '/work/cortexa7t2hf-neon-vfpv4-yoe-linux-musleabi/qt5-creator/4.9.2+gitAUTOINC+8181363fa9-r0/packages-split/qt5-creator/usr/share/applications/org.qt-project.qtcreator.desktop' [mime-xdg] Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qtwebview: Skip if meta-python is not presentKhem Raj2020-02-191-0/+5
| | | | | | | It needs qtwebengine which needs python2 so skip it when python2 is not present Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qtbase: fix build with platform where FE macro are not definedNicola Lunghi2020-02-062-0/+124
| | | | | | see added patch Signed-off-by: Nicola Lunghi <nick83ola@gmail.com>
* qtwebkit: build with python3Andreas Müller2020-02-066-10/+3852
| | | | Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
* qtwebengine: Link libatomic on x86/32bitKhem Raj2020-02-032-0/+33
| | | | | | Fixes CAS link errors Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Revert "qtwebkit: remove"Martin Jansa2020-02-035-0/+248
| | | | | | | | | | | This reverts commit a35403dcf6b75ee7355108cab3e466009003b1a7. But keep the dependency from packagegroup-qt5-toolchain-target, qt5-creator removed as most people won't really need this. Andreas and meta-qt5-extra still need qtwebkit as reported here: https://github.com/meta-qt5/meta-qt5/pull/273#issuecomment-578536852 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qt5: upgrade to 5.14.1Martin Jansa2020-01-2778-130/+128
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>