| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
Fixed build with clang11 and musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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>
|
|
|
|
| |
Signed-off-by: Mikko Gronoff <mikko.gronoff@qt.io>
|
|
|
|
| |
Signed-off-by: Mingde (Matthew) Zeng <matthew.zeng@windriver.com>
|
|
|
|
|
|
| |
If opengl not in DISTRO_FEATURES, there will be no virtual/egl provider
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
|
|
|
|
| |
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
| |
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
| |
Otherwise, ptest will fail with numerous Permission Denied errors
Signed-off-by: Mingde (Matthew) Zeng <matthew.zeng@windriver.com>
|
|
|
|
| |
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|
|
|
|
| |
Signed-off-by: Mikko Gronoff <mikko.gronoff@qt.io>
|
|
|
|
|
|
| |
* use latest revisions in 5.15 branches
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|
|
|
|
|
|
| |
msghdr is not same between musl and glibc so do not assume that
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
This fixes build with
- qt 5.15 QPainterPath changes
- Clang-10
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|
|
|
|
| |
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
| |
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|
|
|
|
| |
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|
|
|
|
| |
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|
|
|
|
| |
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|
|
|
|
| |
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|
|
|
|
| |
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|
|
|
|
| |
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
| |
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
|
| |
This helps qt5everywheredemo to play sample videos
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
It needs qtwebengine which needs python2 so skip it when python2 is not
present
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
see added patch
Signed-off-by: Nicola Lunghi <nick83ola@gmail.com>
|
|
|
|
| |
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
|
|
|
|
|
|
| |
Fixes CAS link errors
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|