* patch was taken from meta-browser. The only modification done was adding the
error seen
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* Fixes:
| ERROR at //third_party/icu/BUILD.gn:10:1: Unable to load "<...>/qtwebengine/5.15.0+gitAUTOINC+f526855509_7b2f027ea8-r0/git/src/3rdparty/chromium/v8/snapshot_toolchain.gni".
| import("//v8/snapshot_toolchain.gni")
| ^-----------------------------------
| See //url/BUILD.gn:97:15: which caused the file to be included.
| deps += [ "//third_party/icu" ]
| ^------------------
| Project ERROR: GN run error!
* Discussion found at [1]
* Build tested with/without icu in PACKAGECONFIG
[1] https://github.com/meta-qt5/meta-qt5/pull/351
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Linking with -pthread fixes the missing atomic linker failures on riscv64.
Thsi fixes the following linker errors:
qtestcase.h:359: more undefined references to `__atomic_fetch_xor_1' follow
collect2: error: ld returned 1 exit status
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
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>
In order to more easily use some oFono bits like (multi)-sim and network management in QML, let's add libqofonoext as well.
Signed-off-by: Herman van Hazendonk <github.com@herrie.org>
ERROR: do_rootfs: Postinstall scriptlets of ['maliit-framework-qt5'] have failed. If the intention is to defer them to first boot,
then please place them into pkg_postinst_ontarget_${PN} ().
Deferring to first boot via 'exit 1' is no longer supported.
Signed-off-by: Gianfranco Costamagna <costamagnagianfranco@yahoo.it>
Signed-off-by: Gianfranco Costamagna <gianfranco.costamagna@abinsula.com>
Signed-off-by: Gianfranco Costamagna <locutusofborg@debian.org>
Upstream finally supports multilib properly, so bumping our version and dropping the patch for this.
Signed-off-by: Herman van Hazendonk <github.com@herrie.org>
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>
5.13 release no longer works with QT 5.15+ since it uses some of removed
interfaces
Fixes
QtQuick/sipQtQuickQSGGeometry.cpp:940:103: error: use of deleted function 'QSGGeometry& QSGGeometry::operator=(const QSGGeometry&)'
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.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>
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>
layers are usually supposed to be inert, but this option automatically
inserts itself without any changes due to this bbappend. Its best to
leeave this option to end user to enable, defaults are to disable it and
let it be as it is.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
* 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>
* 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>