summaryrefslogtreecommitdiffstats
path: root/recipes-qt/qt5
Commit message (Collapse)AuthorAgeFilesLines
* qt5-creator: upgrade 4.13.1Andreas Müller2020-11-031-2/+2
| | | | | Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> (cherry picked from commit 33af7d85d119797d05ba53062bc05f821ea93dc7)
* qtwebengine: Fix sandbox freeze for glibc >= 2.31 on 32 bit systemsAndreas Müller2020-11-032-0/+140
| | | | | | | | | * patch was taken from meta-browser. The only modification done was adding the error seen Backport of afcde8567252191820ed07abcc241f3794b75988 Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
* qt5-creator: rrecommend qtwebengine dev related packagesAndreas Müller2020-11-031-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> (cherry picked from commit f565d6c90bab808b855c64ef75b2579fc26a572c)
* qt5-creator: Add cmake to RRECOMMENDSAndreas Müller2020-11-031-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> (cherry picked from commit 43120725aaeedc88eecbc345a1b7e9adfa45e120)
* qt5-creator: Make clang a PACKAGECONFIG - enabled for clang toolchainAndreas Müller2020-11-031-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> (cherry picked from commit 063714fb78cf5264ac52541c1c4c364620f8df28)
* qt5-creator: Update to 4.13.0 beta2Khem Raj2020-11-032-8/+40
| | | | | | | Fixed build with clang11 and musl Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit 4d3191999e9156df0fc3fd9a86611be892a11d7e)
* qt5-creator_git: add x11 and opengl to REQUIRED_DISTRO_FEATURESMingde (Matthew) Zeng2020-11-031-0/+3
| | | | | Signed-off-by: Mingde (Matthew) Zeng <matthew.zeng@windriver.com> (cherry picked from commit 098b9aca232b07b53bc4db0c7f5274a627670a75)
* qt5-creator: Upgrade to 4.12 branchKhem Raj2020-11-032-57/+3
| | | | | | | | | This fixes build with - qt 5.15 QPainterPath changes - Clang-10 Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit abed512f82ee96c37d98fdd3011f32e6456f03bf)
* qttools: Force build of native help-tools when clang is set in PACKAGECONFIGAndreas Müller2020-11-032-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> (cherry picked from commit f30c4ba364030ad1c92d24c6f5ee3bc7e479dc65)
* qttools: Remove unused variables/configurationsAndreas Müller2020-11-031-10/+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 Backport of 3ed820535438a47cf65d5f2015512d4ee99b27b4 Signed-off-by: Andreas Müller <schnitzeltony@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-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>
* qt5: upgrade to 5.14.2Mikko Gronoff2020-04-2945-121/+44
| | | | | | | * Upgrade to Qt 5.14.2 * Update license to v4.2.1 Signed-off-by: Mikko Gronoff <mikko.gronoff@qt.io>
* qtquicktimeline: add recipeMikko Gronoff2020-04-291-0/+13
| | | | Signed-off-by: Mikko Gronoff <mikko.gronoff@qt.io>
* 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>
* qtwebkit: removeMartin Jansa2020-01-246-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-242-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 qtwebengine with python3 shows in log.do_configure that it won't actually build qtwebengine, but it doesn't fail. do_compile fails but with a bit misleading error: ERROR: qtwebengine-5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0 do_compile: oe_runmake failed ERROR: qtwebengine-5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0 do_compile: Execution of '/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/temp/run.do_compile.16479' failed with exit code 1: cd src/ && ( test -e Makefile || /home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/recipe-sysroot-native/usr/bin/qmake -o Makefile /home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/git/src/src.pro CONFIG+=force_debug_info QT_BUILD_PARTS-=examples QT_BUILD_PARTS-=tests 'QMAKE_CXX=x86_64-webos-linux-g++ -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse --sysroot=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/recipe-sysroot' 'QMAKE_CC=x86_64-webos-linux-gcc -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse --sysroot=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/recipe-sysroot' 'QMAKE_LINK=x86_64-webos-linux-g++ -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse --sysroot=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/recipe-sysroot' 'QMAKE_CFLAGS= -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0=/usr/src/debug/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0 -fdebug-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0=/usr/src/debug/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0 -fdebug-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/recipe-sysroot= -fdebug-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/recipe-sysroot-native= ' 'QMAKE_CXXFLAGS= -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0=/usr/src/debug/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0 -fdebug-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0=/usr/src/debug/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0 -fdebug-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/recipe-sysroot= -fdebug-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/recipe-sysroot-native= -fvisibility-inlines-hidden' -after ) && make -f Makefile make[1]: Entering directory '/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/build/src' /bin/sh: 1: Syntax error: "(" unexpected Makefile:295: recipe for target 'errorbuild' failed make[1]: *** [errorbuild] Error 2 make[1]: Leaving directory '/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/build/src' Makefile:48: recipe for target 'sub-src-make_first' failed make: *** [sub-src-make_first] Error 2 WARNING: exit code 1 from a shell command. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* Revert "recipes: Use python3 during build"Martin Jansa2020-01-242-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 qtwebengine with python3 shows in log.do_configure that it won't actually build qtwebengine, but it doesn't fail. do_compile fails but with a bit misleading error: ERROR: qtwebengine-5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0 do_compile: oe_runmake failed ERROR: qtwebengine-5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0 do_compile: Execution of '/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/temp/run.do_compile.16479' failed with exit code 1: cd src/ && ( test -e Makefile || /home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/recipe-sysroot-native/usr/bin/qmake -o Makefile /home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/git/src/src.pro CONFIG+=force_debug_info QT_BUILD_PARTS-=examples QT_BUILD_PARTS-=tests 'QMAKE_CXX=x86_64-webos-linux-g++ -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse --sysroot=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/recipe-sysroot' 'QMAKE_CC=x86_64-webos-linux-gcc -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse --sysroot=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/recipe-sysroot' 'QMAKE_LINK=x86_64-webos-linux-g++ -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse --sysroot=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/recipe-sysroot' 'QMAKE_CFLAGS= -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0=/usr/src/debug/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0 -fdebug-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0=/usr/src/debug/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0 -fdebug-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/recipe-sysroot= -fdebug-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/recipe-sysroot-native= ' 'QMAKE_CXXFLAGS= -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0=/usr/src/debug/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0 -fdebug-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0=/usr/src/debug/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0 -fdebug-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/recipe-sysroot= -fdebug-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/recipe-sysroot-native= -fvisibility-inlines-hidden' -after ) && make -f Makefile make[1]: Entering directory '/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/build/src' /bin/sh: 1: Syntax error: "(" unexpected Makefile:295: recipe for target 'errorbuild' failed make[1]: *** [errorbuild] Error 2 make[1]: Leaving directory '/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/build/src' Makefile:48: recipe for target 'sub-src-make_first' failed make: *** [sub-src-make_first] Error 2 WARNING: exit code 1 from a shell command. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* 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>