Commit Graph

1173 Commits

Author SHA1 Message Date
Carlos Rafael Giani
5d70466cc7 qtdeclarative: Fix build with gcc-11
Origin:

https://lists.buildroot.org/pipermail/buildroot/2021-July/617465.html

Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2022-04-29 20:25:21 +02:00
Khem Raj
6214a1f3ff qtbase: Fix build with gcc-11
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-04-29 20:25:06 +02:00
Martin Jansa
2b33a5d5e8 qt5-native.inc, nativesdk-qt5.inc, nativesdk-packagegroup-qt5-toolchain-host: reorder inherits to fix new QA check
* fixes:
WARNING: meta-qt5/recipes-qt/qt5/qtbase-native_git.bb: QA Issue: qtbase-native: native/nativesdk class is not inherited last, this can result in unexpected behaviour.  [native-last]
WARNING: meta-qt5/recipes-qt/qt5/nativesdk-qtbase_git.bb: QA Issue: nativesdk-qtbase: native/nativesdk class is not inherited last, this can result in unexpected behaviour.  [native-last]
WARNING: meta-qt5/recipes-qt/packagegroups/nativesdk-packagegroup-qt5-toolchain-host.bb: QA Issue: nativesdk-packagegroup-qt5-toolchain-host: native/nativesdk class is not inherited last, this can result in unexpected behaviour.  [native-last]

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-01-30 15:20:56 +01:00
Martin Jansa
a66af33920 qtwebengine: refresh the patches
* update to match
  https://github.com/meta-qt5/qtwebengine/commits/b5.15-glibc 5.15-glibc.meta-qt5.9
  https://github.com/meta-qt5/qtwebengine/commits/b5.15 5.15.meta-qt5.9
  https://github.com/meta-qt5/qtwebengine-chromium/commits/83-based-glibc 83-based-glibc.meta-qt5.1
  https://github.com/meta-qt5/qtwebengine-chromium/commits/83-based 83-based.meta-qt5.1

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-01-30 15:20:56 +01:00
Martin Jansa
2af63b4415 qtbase: revert one commit to fix build in some configurations
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-01-30 15:20:56 +01:00
Jani Suonpera
2209ead086 Add nativesdk-qtdeclarative-tools to nativesdk packagegroup
Github issue: https://github.com/meta-qt5/meta-qt5/issues/128

Task-number: QTBUG-89188
Change-Id: I5becaab46b1af0bcb130905ba5177c28d31e2452
2021-01-30 15:20:56 +01:00
Jani Suonpera
2f541fc053 Update qtwebengine-chromium
Newer hash from 83-based branch.

Change-Id: I3e944e8bf9ced2311569f298016a168c1336dc26
2021-01-30 15:20:56 +01:00
Jani Suonpera
252ec0f59e Update to Qt 5.15.2
Signed-off-by: Jani Suonpera <jani.suonpera@qt.io>
Change-Id: I5992e74cf524f9378dab64503345111b1cc159f2
2021-01-30 15:20:56 +01:00
Chenxi Mao
37b9544575 QTWebkit: Support RISC-V ISA on QTwebkit
There are 3 changes to support RISC-V
1. Add a patch to support RISC-V CPU
2. Disable JIT as mips/ppc did
2021-01-30 15:20:56 +01:00
Chenxi Mao
0f0154f4fa QtWebkit: Set release build by default
Current Qtwebkit configuration is debug build by default.
Change it to release build to have better performance.

Change-Id: Ib5e10bfd62edf79ddc304332ff10fdbe3abf58f0
Reviewed-by: Chenxi Mao <chenxi.mao2013@gmail.com>
Reviewed-by: Konstantin Tokarev <annulen@yandex.ru>
2021-01-30 15:20:56 +01:00
Khem Raj
79a129b8df qtwebengine: Fix build with clang-11
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-01-30 15:20:56 +01:00
Andreas Müller
7b526cb0b4 qt5-creator: upgrade 4.13.1 -> 4.14.0
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2021-01-30 15:20:56 +01:00
Andreas Müller
79ca5e88c8 qt5-creator: Fix rpath QA error
Fixes:
| ERROR: QA Issue: package qt5-creator contains bad RPATH $ORIGIN:$ORIGIN/../:$ORIGIN/.:/home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-neon-vfpv4-mortsgna-linux-gnueabi/qt5-creator/4.14.0+gitAUTOINC+909f74dc56-r0/recipe-sysroot/usr/lib in file /home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-neon-vfpv4-mortsgna-linux-gnueabi/qt5-creator/4.14.0+gitAUTOINC+909f74dc56-r0/packages-split/qt5-creator/usr/lib/qtcreator/plugins/libProjectExplorer.so
| package qt5-creator contains bad RPATH $ORIGIN:$ORIGIN/../:$ORIGIN/.:/home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-neon-vfpv4-mortsgna-linux-gnueabi/qt5-creator/4.14.0+gitAUTOINC+909f74dc56-r0/recipe-sysroot/usr/lib in file /home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-neon-vfpv4-mortsgna-linux-gnueabi/qt5-creator/4.14.0+gitAUTOINC+909f74dc56-r0/packages-split/qt5-creator/usr/lib/qtcreator/plugins/libProjectExplorer.so
| package qt5-creator contains bad RPATH $ORIGIN:$ORIGIN/../:$ORIGIN/.:/home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-neon-vfpv4-mortsgna-linux-gnueabi/qt5-creator/4.14.0+gitAUTOINC+909f74dc56-r0/recipe-sysroot/usr/lib in file /home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-neon-vfpv4-mortsgna-linux-gnueabi/qt5-creator/4.14.0+gitAUTOINC+909f74dc56-r0/packages-split/qt5-creator/usr/lib/qtcreator/plugins/libProjectExplorer.so
| package qt5-creator contains bad RPATH $ORIGIN:$ORIGIN/../:$ORIGIN/.:/home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-neon-vfpv4-mortsgna-linux-gnueabi/qt5-creator/4.14.0+gitAUTOINC+909f74dc56-r0/recipe-sysroot/usr/lib in file /home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-neon-vfpv4-mortsgna-linux-gnueabi/qt5-creator/4.14.0+gitAUTOINC+909f74dc56-r0/packages-split/qt5-creator/usr/lib/qtcreator/plugins/libProjectExplorer.so [rpaths]

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2021-01-30 15:20:56 +01:00
Andreas Müller
9a87b32c79 qt5-creator: remove stale desktop file
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2021-01-30 15:20:56 +01:00
Andreas Müller
93193d4f0f qtwebkit: fix build with icu >= 68
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2021-01-30 15:20:56 +01:00
Khem Raj
7a9f639fbd qt5-creator: Skip it when meta-python2 is not in layermix
it depends on qtwebengine which inturn depends on chromium which inturn
depends on python2 during build. So lets disable it when meta-python2 is
not used until such time when chromium does not need python2

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-11-11 19:14:14 +01:00
Khem Raj
df46d9212f qtbase: Disable LTO
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-11-11 19:14:14 +01:00
Samuli Piippo
21ce4c124d qtbase: fix default value for QMAKE_AR
The QMAKE_AR value is never empty as it always has at least the
cqs argument. Use the default value if the variable has exactly
one argument. Fixes issue #165.

Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
2020-11-03 17:02:08 +01:00
Khem Raj
a72c04ee79 qtwebkit: Fix build with python 3.9
backport a fix to build with python 3.9

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-11-03 17:01:57 +01:00
Khem Raj
1d946dc8f4 qtwebkit: Fix build when Qt is configured without SSL
backport a patch to fix the build error

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-11-03 17:01:57 +01:00
Khem Raj
f60771c37c qtbase: Fix build on 32-bit arches with 64bit time_t only
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-11-03 17:01:57 +01:00
Martin Jansa
8d5672cc6c layer.conf: include gatesgarth in LAYERSERIES_COMPAT as well
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-10-15 15:42:09 +02:00
Andreas Müller
33af7d85d1 qt5-creator: upgrade 4.13.1
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2020-10-11 17:09:10 +02:00
Daniel Gomez
0df7c5d1f2 python3-pyqt5: Update recipe to use pypi class
*  Update recipe to inherit from pypi class.
*  Update homepage.

Signed-off-by: Daniel Gomez <daniel@qtec.com>
2020-10-11 17:07:28 +02:00
Daniel Gomez
26142d60a5 pyqtchart: Update to version 5.15.1 and use pypi
Old version no longer available through riverbankcomputing.com.
Update to 5.15.1 and download the package sources using pypi class.

Signed-off-by: Daniel Gomez <daniel@qtec.com>
2020-10-11 17:07:19 +02:00
Martin Jansa
0aca81dfd4 cinematicexperience: don't use trailing slash in S
* see oe-core base.bbclass changes from:
  https://lists.openembedded.org/g/openembedded-core/message/143159
  https://lists.openembedded.org/g/openembedded-core/message/143161

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-10-09 15:24:14 +02:00
Martin Jansa
2f17a26d2f python3-pyqt5: upgrade to final 5.15.1
* use the released version from:
  https://www.riverbankcomputing.com/news/PyQt_v5.15.1_Released
  because the snapshots are pruned very quickly and were causing many fetch issues
  as the http://sources.openembedded.org/ is no longer updated from meta-qt5 builds
* unfortunately this will sort lower than 5.15.1.dev2008271829 added in:
  1650757f41
  I should have rejected it before, if you care about binary package feeds, then send PE bump

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-09-15 16:10:17 +02:00
Daniel Gomez
b72557515e python3-pyqt5: Update to dev2008271829 snapshot
Old version no longer available:

ERROR: python3-pyqt5-5.15.1.dev2008081558-r0 do_fetch: Fetcher failure
for URL: 'https://www.riverbankcomputing.com/static/Downloads/PyQt5/PyQt5-5.15.1.dev2008081558.tar.gz'.
Unable to fetch URL from any source.

Signed-off-by: Daniel Gomez <daniel@qtec.com>
2020-09-11 15:42:35 +02:00
Martin Jansa
faa5163a26 qtwebengine: refresh the patches
* update to match
  https://github.com/meta-qt5/qtwebengine/commits/b5.15-glibc 5.15-glibc.meta-qt5.8
  https://github.com/meta-qt5/qtwebengine/commits/b5.15 5.15-glibc.meta-qt5.8
  https://github.com/meta-qt5/qtwebengine-chromium/commits/80-based-glibc 80-based-glibc.meta-qt5.4
  https://github.com/meta-qt5/qtwebengine-chromium/commits/80-based 80-based.meta-qt5.4

* 0002-icu-use-system-library-only-targets.patch is only for chromium, so it was
  updated and moved to right place in SRC_URI
* 0014-Fix-sandbox-Aw-snap-for-syscalls-403-and-407.patch prefix was moved
  to src/3rdparty not src/3rdparty/chromium so that it can apply with "git am"
  together with other chromium patches

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-09-08 09:52:34 +02:00
Andreas Müller
afcde85672 qtwebengine: Fix sandbox freeze for glibc >= 2.31 on 32 bit systems
* 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>
2020-09-08 09:47:02 +02:00
Andreas Müller
761949d22c qtwebengine: Fix patch fuzz
Fixes:
| ERROR: qtwebengine-5.15.0+gitAUTOINC+f526855509_7b2f027ea8-r0 do_patch: Fuzz detected:
|
| Applying patch 0005-icu-use-system-library-only-targets.patch
| patching file src/3rdparty/chromium/third_party/icu/BUILD.gn
| Hunk #3 succeeded at 1217 with fuzz 1 (offset 70 lines).
| Hunk #4 succeeded at 1430 (offset 74 lines).
| Hunk #5 succeeded at 1438 (offset 74 lines).
| Hunk #6 succeeded at 1450 (offset 74 lines).

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2020-09-08 09:25:56 +02:00
Andreas Müller
8c980e7037 qtwebengine: Fix build by setting correct import path
* 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>
2020-09-08 09:25:56 +02:00
Andreas Müller
04a6fa63cf qtwebkit: Add patch to fix build with bison 3.7
Fixes:
|... /build/DerivedSources/WebCore/XPathGrammar.cpp:120:10: fatal error: XPathGrammar.hpp: No such file or directory
|   120 | #include "XPathGrammar.hpp"
|       |          ^~~~~~~~~~~~~~~~~~
| ...
| .../build/DerivedSources/WebCore/CSSGrammar.cpp:160:10: fatal error: CSSGrammar.hpp: No such file or directory
|   160 | #include "CSSGrammar.hpp"
|       |          ^~~~~~~~~~~~~~~~

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2020-09-08 09:25:43 +02:00
Khem Raj
23f78f70d9 libconnman-qt5: Fix build errors found wih clang-11
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-09-02 15:16:33 +02:00
Martin Jansa
5352180eda qtwebengine: fix build with bison-3.7
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-09-02 15:16:33 +02:00
Alistair Francis
c8d191d19d qt5: Link with -pthread for riscv64
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>
2020-09-02 15:16:33 +02:00
Andreas Müller
f565d6c90b qt5-creator: rrecommend qtwebengine dev related packages
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>
2020-09-02 15:16:33 +02:00
Andreas Müller
43120725aa qt5-creator: Add cmake to RRECOMMENDS
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>
2020-09-02 15:16:33 +02:00
Andreas Müller
063714fb78 qt5-creator: Make clang a PACKAGECONFIG - enabled for clang toolchain
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>
2020-09-02 15:16:33 +02:00
Andreas Müller
f30c4ba364 qttools: Force build of native help-tools when clang is set in PACKAGECONFIG
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>
2020-09-02 15:16:33 +02:00
Andreas Müller
3ed8205354 qttools: Remove unused variables/configurations
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>
2020-09-02 15:16:33 +02:00
Herman van Hazendonk
1a97beaa7c libqofonoext: Add recipe
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>
2020-08-26 16:43:05 +02:00
Khem Raj
4d3191999e qt5-creator: Update to 4.13.0 beta2
Fixed build with clang11 and musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-26 14:31:29 +02:00
Khem Raj
8f1ec29004 qt5-creator: Refresh musl patch
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>
2020-08-26 14:31:29 +02:00
Khem Raj
8312c158b7 python3-pyqt5: Update to dev2008081558 snapshot
Old one is gone

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-26 14:31:29 +02:00
Gianfranco Costamagna
5144a99a69 maliit-framework-qt5: fix postinst/postrm scripts
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>
2020-07-20 16:57:58 +02:00
Herman van Hazendonk
8f6ee3a11a libqofono: Update to version 0.100 from upstream
Signed-off-by: Herman van Hazendonk <github.com@herrie.org>
2020-07-20 16:55:40 +02:00
Herman van Hazendonk
862ba32a70 libconnman-qt: Update to v1.2.34 from upstream and drop patch
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>
2020-07-20 16:55:40 +02:00
Philip Balister
3713bcfaa0 python3-pyqt5: Update to 5.15.1.dev2007111314
* Resolves missing source tarball for me.

Signed-off-by: Philip Balister <philip@opensdr.com>
2020-07-20 16:55:22 +02:00
Mingde (Matthew) Zeng
b61ea2c1a2 qtbase: remove path of the build host from qmake.conf
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>
2020-07-08 11:15:54 +02:00