summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikko Gronoff <mikko.gronoff@qt.io>2019-03-01 14:13:29 +0200
committerMikko Gronoff <mikko.gronoff@qt.io>2019-03-06 10:00:38 +0200
commit270fb283c271f24eee7d9f5b45ff29066865b923 (patch)
tree09c704b697424bc1afbdb5e62da879ac9047213d
parented327d9cd97c0996e0875b0c03f86cbd76232977 (diff)
parent439f7be65f681d4e45f30571082e38791cca2ef2 (diff)
downloadmeta-qt5-270fb283c271f24eee7d9f5b45ff29066865b923.tar.gz
Merge remote-tracking branch 'qtyocto/5.12' into 5.13
* qtyocto/5.12: 439f7be qt5: update submodules c8c8613 Merge remote-tracking branch 'qtyocto/upstream/master' into 5.12 6231201 qt5: update submodules 4428b0c qttools/cmake: use OE_QMAKE_PATH_EXTERNAL_HOST_BINS fb71293 qtwebengine: drop 0002-chromium_overrides.cpp-Fix-build-with-plugins-and-oz.patch 38ec325 qwt-qt5: upgrade 6.1.3 -> 6.1.4 e2d9845 qwt-qt5: Fix multilib install 5be2654 qtwebengine: Fix build with clang/libc++ on aarch64/arm cb1b472 qtbase: Export host compiler and linker 6d919b0 qt5-plugin-generic-vboxtouch: Fix build with clang/libc++ 6713882 maliit-framework,maliit-plugins: Fix build with libc++ 9a83f2d qtconnectivity: Fix build with clang/libc++ 080cc29 qtwayland: workaround upstream bug: install missing headers manually 356ff00 qt5: update submodules f6f61b0 gstreamer1.0-plugins-good: fix qt5 dependency d055d6a qtbase: Update the PACKAGECONFIG_KDE to enable more 7935b6b qt5: update submodules b9131d6 qt5: update submodules 0f27849 qt5: update submodules 70e4a1c qt5: update submodules 82abc2b qtbase: fix incomplete recipe changes from previous commit f4c8cef qtbase: Fix qtopcua issue on bigendian systems be8bc9f qtwebkit: Disable JIT for mips64 Conflicts: recipes-qt/qt5/nativesdk-qtbase_git.bb recipes-qt/qt5/qt3d/0001-Allow-a-tools-only-build.patch recipes-qt/qt5/qt3d_git.bb recipes-qt/qt5/qt5-git.inc recipes-qt/qt5/qtbase-native_git.bb recipes-qt/qt5/qtbase_git.bb recipes-qt/qt5/qtcanvas3d_git.bb recipes-qt/qt5/qtcharts_git.bb recipes-qt/qt5/qtconnectivity_git.bb recipes-qt/qt5/qtdatavis3d_git.bb recipes-qt/qt5/qtdeclarative_git.bb recipes-qt/qt5/qtgamepad_git.bb recipes-qt/qt5/qtgraphicaleffects_git.bb recipes-qt/qt5/qtimageformats_git.bb recipes-qt/qt5/qtknx_git.bb recipes-qt/qt5/qtlocation_git.bb recipes-qt/qt5/qtmqtt_git.bb recipes-qt/qt5/qtmultimedia_git.bb recipes-qt/qt5/qtnetworkauth_git.bb recipes-qt/qt5/qtopcua_git.bb recipes-qt/qt5/qtpurchasing_git.bb recipes-qt/qt5/qtquickcontrols2_git.bb recipes-qt/qt5/qtquickcontrols_git.bb recipes-qt/qt5/qtremoteobjects_git.bb recipes-qt/qt5/qtscript_git.bb recipes-qt/qt5/qtscxml_git.bb recipes-qt/qt5/qtsensors_git.bb recipes-qt/qt5/qtserialbus_git.bb recipes-qt/qt5/qtserialport_git.bb recipes-qt/qt5/qtsvg_git.bb recipes-qt/qt5/qttools_git.bb recipes-qt/qt5/qttranslations_git.bb recipes-qt/qt5/qtvirtualkeyboard_git.bb recipes-qt/qt5/qtwayland_git.bb recipes-qt/qt5/qtwebchannel_git.bb recipes-qt/qt5/qtwebengine/0001-Force-host-toolchain-configuration.patch recipes-qt/qt5/qtwebengine_git.bb recipes-qt/qt5/qtwebglplugin_git.bb recipes-qt/qt5/qtwebsockets_git.bb recipes-qt/qt5/qtwebview_git.bb recipes-qt/qt5/qtx11extras_git.bb recipes-qt/qt5/qtxmlpatterns_git.bb Change-Id: If04e8cc63c0352c0811712bbd5d0c894a40628e4
-rw-r--r--recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_%.bbappend10
-rw-r--r--recipes-qt/maliit/maliit-framework-qt5/0001-Drop-tr1-namespace-its-not-there-in-c-11-and-newer.patch83
-rw-r--r--recipes-qt/maliit/maliit-framework-qt5_git.bb1
-rw-r--r--recipes-qt/maliit/maliit-plugins-qt5/0001-Do-not-use-tr1-namespace.patch58
-rw-r--r--recipes-qt/maliit/maliit-plugins-qt5_git.bb4
-rw-r--r--recipes-qt/qt5/nativesdk-qtbase_git.bb6
-rw-r--r--recipes-qt/qt5/qt3d/0001-Allow-a-tools-only-build.patch2
-rw-r--r--recipes-qt/qt5/qt5-plugin-generic-vboxtouch/0001-include-errno.h-for-errno-definition.patch38
-rw-r--r--recipes-qt/qt5/qt5-plugin-generic-vboxtouch_git.bb6
-rw-r--r--recipes-qt/qt5/qtbase-native_git.bb8
-rw-r--r--recipes-qt/qt5/qtbase/0021-Always-build-uic-and-qvkgen.patch (renamed from recipes-qt/qt5/qtbase/0020-Always-build-uic-and-qvkgen.patch)2
-rw-r--r--recipes-qt/qt5/qtbase/0022-Bootstrap-without-linkat-feature.patch (renamed from recipes-qt/qt5/qtbase/0021-Bootstrap-without-linkat-feature.patch)2
-rw-r--r--recipes-qt/qt5/qtbase_git.bb14
-rw-r--r--recipes-qt/qt5/qtconnectivity/0001-Add-missing-header-for-errno.patch26
-rw-r--r--recipes-qt/qt5/qtconnectivity_git.bb2
-rw-r--r--recipes-qt/qt5/qttools/0002-linguist-tools-cmake-allow-overriding-the-location-f.patch61
-rw-r--r--recipes-qt/qt5/qtwayland_git.bb1
-rw-r--r--recipes-qt/qt5/qtwebengine/0001-Force-host-toolchain-configuration.patch22
-rw-r--r--recipes-qt/qt5/qtwebengine/0002-chromium_overrides.cpp-Fix-build-with-plugins-and-oz.patch50
-rw-r--r--recipes-qt/qt5/qtwebengine/chromium/0019-chromium-fix-build-with-clang.patch91
-rw-r--r--recipes-qt/qt5/qtwebengine/chromium/0021-chromium-Exclude-CRC32-for-32bit-arm.patch33
-rw-r--r--recipes-qt/qt5/qtwebengine_git.bb3
-rw-r--r--recipes-qt/qt5/qtwebkit_git.bb4
-rw-r--r--recipes-qt/qwt/qwt-qt5_6.1.4.bb (renamed from recipes-qt/qwt/qwt-qt5_6.1.3.bb)10
24 files changed, 408 insertions, 129 deletions
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_%.bbappend b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_%.bbappend
index b42338ab..89026193 100644
--- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_%.bbappend
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_%.bbappend
@@ -4,12 +4,4 @@ PACKAGECONFIG[qt5] = '--enable-qt \
4 --with-moc="${OE_QMAKE_PATH_EXTERNAL_HOST_BINS}/moc" \ 4 --with-moc="${OE_QMAKE_PATH_EXTERNAL_HOST_BINS}/moc" \
5 --with-uic="${OE_QMAKE_PATH_EXTERNAL_HOST_BINS}/uic" \ 5 --with-uic="${OE_QMAKE_PATH_EXTERNAL_HOST_BINS}/uic" \
6 --with-rcc="${OE_QMAKE_PATH_EXTERNAL_HOST_BINS}/rcc" \ 6 --with-rcc="${OE_QMAKE_PATH_EXTERNAL_HOST_BINS}/rcc" \
7 ,--disable-qt,qtbase qtdeclarative qtbase-native' 7 ,--disable-qt,gstreamer1.0-plugins-base qtbase qtdeclarative qtbase-native'
8
9# The GStreamer Qt5 plugin needs desktop OpenGL or OpenGL ES to work, so make sure it is enabled
10python() {
11 cur_packageconfig = d.getVar('PACKAGECONFIG',True).split()
12 if 'qt5' in cur_packageconfig and not (('opengl' in cur_packageconfig) or ('gles2' in cur_packageconfig)):
13 gl_packageconfig = d.getVar('PACKAGECONFIG_GL',True)
14 d.appendVar('PACKAGECONFIG', ' ' + gl_packageconfig)
15}
diff --git a/recipes-qt/maliit/maliit-framework-qt5/0001-Drop-tr1-namespace-its-not-there-in-c-11-and-newer.patch b/recipes-qt/maliit/maliit-framework-qt5/0001-Drop-tr1-namespace-its-not-there-in-c-11-and-newer.patch
new file mode 100644
index 00000000..920946ec
--- /dev/null
+++ b/recipes-qt/maliit/maliit-framework-qt5/0001-Drop-tr1-namespace-its-not-there-in-c-11-and-newer.patch
@@ -0,0 +1,83 @@
1From 60e7464fe2b75bb7187a4be0d6ba944d2b46f93e Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 31 Jan 2019 22:02:32 -0800
4Subject: [PATCH] Drop tr1 namespace its not there in c++11 and newer
5
6compile as C++11 code
7libc++'s tr1 headers don't actually make a tr1 namespace.
8
9Upstream-Status: Pending
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11---
12 src/mimonscreenplugins.cpp | 10 +++++-----
13 .../ut_mimpluginmanagerconfig.cpp | 2 +-
14 .../ut_mimpluginmanagerconfig.h | 2 +-
15 3 files changed, 7 insertions(+), 7 deletions(-)
16
17diff --git a/src/mimonscreenplugins.cpp b/src/mimonscreenplugins.cpp
18index da6e937e..b830e1bf 100644
19--- a/src/mimonscreenplugins.cpp
20+++ b/src/mimonscreenplugins.cpp
21@@ -21,9 +21,9 @@
22 #include <QDebug>
23
24 #include <algorithm>
25-#include <tr1/functional>
26+#include <functional>
27
28-using namespace std::tr1::placeholders;
29+using namespace std::placeholders;
30
31 namespace
32 {
33@@ -118,10 +118,10 @@ bool MImOnScreenPlugins::isEnabled(const QString &plugin) const
34
35 std::remove_copy_if(mEnabledSubViews.begin(), mEnabledSubViews.end(),
36 std::back_inserter(mEnabledAndAvailableSubViews),
37- std::tr1::bind(&MImOnScreenPlugins::isSubViewUnavailable, this, _1));
38+ std::bind(&MImOnScreenPlugins::isSubViewUnavailable, this, _1));
39
40 return std::find_if(mEnabledAndAvailableSubViews.begin(), mEnabledAndAvailableSubViews.end(),
41- std::tr1::bind(equalPlugin, _1, plugin)) != mEnabledAndAvailableSubViews.end();
42+ std::bind(equalPlugin, _1, plugin)) != mEnabledAndAvailableSubViews.end();
43 }
44
45 bool MImOnScreenPlugins::isSubViewEnabled(const SubView &subView) const
46@@ -138,7 +138,7 @@ QList<MImOnScreenPlugins::SubView> MImOnScreenPlugins::enabledSubViews(const QSt
47 {
48 QList<MImOnScreenPlugins::SubView> result;
49 std::remove_copy_if(mEnabledSubViews.begin(), mEnabledSubViews.end(),
50- std::back_inserter(result), std::tr1::bind(notEqualPlugin, _1, plugin));
51+ std::back_inserter(result), std::bind(notEqualPlugin, _1, plugin));
52 return result;
53 }
54
55diff --git a/tests/ut_mimpluginmanagerconfig/ut_mimpluginmanagerconfig.cpp b/tests/ut_mimpluginmanagerconfig/ut_mimpluginmanagerconfig.cpp
56index dea443e3..677dd689 100644
57--- a/tests/ut_mimpluginmanagerconfig/ut_mimpluginmanagerconfig.cpp
58+++ b/tests/ut_mimpluginmanagerconfig/ut_mimpluginmanagerconfig.cpp
59@@ -39,7 +39,7 @@
60 #include "mattributeextensionmanager.h"
61 #include "msharedattributeextensionmanager.h"
62
63-using namespace std::tr1;
64+using namespace std;
65
66 typedef QSet<Maliit::HandlerState> HandlerStates;
67 Q_DECLARE_METATYPE(HandlerStates);
68diff --git a/tests/ut_mimpluginmanagerconfig/ut_mimpluginmanagerconfig.h b/tests/ut_mimpluginmanagerconfig/ut_mimpluginmanagerconfig.h
69index 5b1b691b..3ea18747 100644
70--- a/tests/ut_mimpluginmanagerconfig/ut_mimpluginmanagerconfig.h
71+++ b/tests/ut_mimpluginmanagerconfig/ut_mimpluginmanagerconfig.h
72@@ -16,7 +16,7 @@
73
74 #include "mimserveroptions.h"
75 #include "mimsettingsqsettings.h"
76-#include <tr1/memory>
77+#include <memory>
78
79 #include <QtTest/QtTest>
80 #include <QObject>
81--
822.20.1
83
diff --git a/recipes-qt/maliit/maliit-framework-qt5_git.bb b/recipes-qt/maliit/maliit-framework-qt5_git.bb
index 232e8252..308f3d02 100644
--- a/recipes-qt/maliit/maliit-framework-qt5_git.bb
+++ b/recipes-qt/maliit/maliit-framework-qt5_git.bb
@@ -10,6 +10,7 @@ SRC_URI = "git://github.com/maliit/framework.git;branch=master \
10 file://0001-Fix-MALIIT_INSTALL_PRF-to-allow-the-build-with-opene.patch \ 10 file://0001-Fix-MALIIT_INSTALL_PRF-to-allow-the-build-with-opene.patch \
11 file://maliit-server.desktop \ 11 file://maliit-server.desktop \
12 file://0001-config.pri-Use-O1-optimization-in-DEBUG-flags.patch \ 12 file://0001-config.pri-Use-O1-optimization-in-DEBUG-flags.patch \
13 file://0001-Drop-tr1-namespace-its-not-there-in-c-11-and-newer.patch \
13 " 14 "
14 15
15SRCREV = "60b1b10de14f932420313c547ab801daf522d539" 16SRCREV = "60b1b10de14f932420313c547ab801daf522d539"
diff --git a/recipes-qt/maliit/maliit-plugins-qt5/0001-Do-not-use-tr1-namespace.patch b/recipes-qt/maliit/maliit-plugins-qt5/0001-Do-not-use-tr1-namespace.patch
new file mode 100644
index 00000000..e5525379
--- /dev/null
+++ b/recipes-qt/maliit/maliit-plugins-qt5/0001-Do-not-use-tr1-namespace.patch
@@ -0,0 +1,58 @@
1From 19cc10dc4378e9eda15b58f3673f686c4ff845e2 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 31 Jan 2019 22:17:56 -0800
4Subject: [PATCH] Do not use tr1 namespace
5
6This is not a standard in C++11
7
8Upstream-Status: Pending
9Signed-off-by: Khem Raj <raj.khem@gmail.com>
10---
11 maliit-keyboard/lib/logic/layouthelper.cpp | 16 ++++++++--------
12 1 file changed, 8 insertions(+), 8 deletions(-)
13
14diff --git a/maliit-keyboard/lib/logic/layouthelper.cpp b/maliit-keyboard/lib/logic/layouthelper.cpp
15index a8bd995f..f694e819 100644
16--- a/maliit-keyboard/lib/logic/layouthelper.cpp
17+++ b/maliit-keyboard/lib/logic/layouthelper.cpp
18@@ -31,7 +31,7 @@
19 */
20
21 #include <algorithm>
22-#include <tr1/functional>
23+#include <functional>
24
25 #include "layouthelper.h"
26 #include "coreutils.h"
27@@ -76,7 +76,7 @@ struct KeyPredicate
28
29 } // namespace
30
31-typedef std::tr1::function<void(const KeyArea &, const KeyOverrides &)> EmitFunc;
32+typedef std::function<void(const KeyArea &, const KeyOverrides &)> EmitFunc;
33
34 class LayoutHelperPrivate
35 {
36@@ -468,13 +468,13 @@ void LayoutHelper::onKeysOverriden(const KeyOverrides &overriden_keys,
37 d->overriden_keys = overriden_keys;
38 }
39
40- using std::tr1::placeholders::_1;
41- using std::tr1::placeholders::_2;
42+ using std::placeholders::_1;
43+ using std::placeholders::_2;
44
45- d->overrideCheck(changed_ids, d->left, std::tr1::bind(&LayoutHelper::leftPanelChanged, this, _1, _2));
46- d->overrideCheck(changed_ids, d->right, std::tr1::bind(&LayoutHelper::rightPanelChanged, this, _1, _2));
47- d->overrideCheck(changed_ids, d->center, std::tr1::bind(&LayoutHelper::centerPanelChanged, this, _1, _2));
48- d->overrideCheck(changed_ids, d->extended, std::tr1::bind(&LayoutHelper::extendedPanelChanged, this, _1, _2));
49+ d->overrideCheck(changed_ids, d->left, std::bind(&LayoutHelper::leftPanelChanged, this, _1, _2));
50+ d->overrideCheck(changed_ids, d->right, std::bind(&LayoutHelper::rightPanelChanged, this, _1, _2));
51+ d->overrideCheck(changed_ids, d->center, std::bind(&LayoutHelper::centerPanelChanged, this, _1, _2));
52+ d->overrideCheck(changed_ids, d->extended, std::bind(&LayoutHelper::extendedPanelChanged, this, _1, _2));
53 }
54
55 }} // namespace Logic, MaliitKeyboard
56--
572.20.1
58
diff --git a/recipes-qt/maliit/maliit-plugins-qt5_git.bb b/recipes-qt/maliit/maliit-plugins-qt5_git.bb
index 8225cb54..8464e1f0 100644
--- a/recipes-qt/maliit/maliit-plugins-qt5_git.bb
+++ b/recipes-qt/maliit/maliit-plugins-qt5_git.bb
@@ -10,7 +10,9 @@ DEPENDS = "maliit-framework-qt5"
10 10
11RDEPENDS_${PN} += "qtsvg-plugins" 11RDEPENDS_${PN} += "qtsvg-plugins"
12 12
13SRC_URI = "git://github.com/maliit/plugins.git;branch=master" 13SRC_URI = "git://github.com/maliit/plugins.git;branch=master \
14 file://0001-Do-not-use-tr1-namespace.patch \
15 "
14 16
15SRCREV = "c6a348592607248a771a3dde5a0e33dc3c433a2a" 17SRCREV = "c6a348592607248a771a3dde5a0e33dc3c433a2a"
16PV = "0.99.0+git${SRCPV}" 18PV = "0.99.0+git${SRCPV}"
diff --git a/recipes-qt/qt5/nativesdk-qtbase_git.bb b/recipes-qt/qt5/nativesdk-qtbase_git.bb
index 55de4271..87957cb4 100644
--- a/recipes-qt/qt5/nativesdk-qtbase_git.bb
+++ b/recipes-qt/qt5/nativesdk-qtbase_git.bb
@@ -23,7 +23,7 @@ FILESEXTRAPATHS =. "${FILE_DIRNAME}/qtbase:"
23 23
24# common for qtbase-native, qtbase-nativesdk and qtbase 24# common for qtbase-native, qtbase-nativesdk and qtbase
25# Patches from https://github.com/meta-qt5/qtbase/commits/b5.12-shared 25# Patches from https://github.com/meta-qt5/qtbase/commits/b5.12-shared
26# 5.12.meta-qt5-shared.4 26# 5.12.meta-qt5-shared.5
27SRC_URI += "\ 27SRC_URI += "\
28 file://0001-Add-linux-oe-g-platform.patch \ 28 file://0001-Add-linux-oe-g-platform.patch \
29 file://0002-cmake-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS.patch \ 29 file://0002-cmake-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS.patch \
@@ -46,9 +46,9 @@ SRC_URI += "\
46 46
47# common for qtbase-native and nativesdk-qtbase 47# common for qtbase-native and nativesdk-qtbase
48# Patches from https://github.com/meta-qt5/qtbase/commits/b5.12-native 48# Patches from https://github.com/meta-qt5/qtbase/commits/b5.12-native
49# 5.12.meta-qt5-native.4 49# 5.12.meta-qt5-native.5
50SRC_URI += " \ 50SRC_URI += " \
51 file://0020-Always-build-uic-and-qvkgen.patch \ 51 file://0021-Always-build-uic-and-qvkgen.patch \
52" 52"
53 53
54# CMake's toolchain configuration of nativesdk-qtbase 54# CMake's toolchain configuration of nativesdk-qtbase
diff --git a/recipes-qt/qt5/qt3d/0001-Allow-a-tools-only-build.patch b/recipes-qt/qt5/qt3d/0001-Allow-a-tools-only-build.patch
index b7c66a97..e1303c3b 100644
--- a/recipes-qt/qt5/qt3d/0001-Allow-a-tools-only-build.patch
+++ b/recipes-qt/qt5/qt3d/0001-Allow-a-tools-only-build.patch
@@ -31,7 +31,7 @@ index 847507f..286286d 100644
31+ SUBDIRS = sub_tools 31+ SUBDIRS = sub_tools
32+} 32+}
33diff --git a/src/3rdparty/assimp/assimp_dependency.pri b/src/3rdparty/assimp/assimp_dependency.pri 33diff --git a/src/3rdparty/assimp/assimp_dependency.pri b/src/3rdparty/assimp/assimp_dependency.pri
34index 8ba2d9a..e973d93 100644 34index 8ba2d9a41..e973d93dd 100644
35--- a/src/3rdparty/assimp/assimp_dependency.pri 35--- a/src/3rdparty/assimp/assimp_dependency.pri
36+++ b/src/3rdparty/assimp/assimp_dependency.pri 36+++ b/src/3rdparty/assimp/assimp_dependency.pri
37@@ -1,5 +1,5 @@ 37@@ -1,5 +1,5 @@
diff --git a/recipes-qt/qt5/qt5-plugin-generic-vboxtouch/0001-include-errno.h-for-errno-definition.patch b/recipes-qt/qt5/qt5-plugin-generic-vboxtouch/0001-include-errno.h-for-errno-definition.patch
new file mode 100644
index 00000000..ff0eb56f
--- /dev/null
+++ b/recipes-qt/qt5/qt5-plugin-generic-vboxtouch/0001-include-errno.h-for-errno-definition.patch
@@ -0,0 +1,38 @@
1From 2486c9ecc1db12132ee8c77ed69b1d301e75786b Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 1 Feb 2019 23:35:24 -0800
4Subject: [PATCH] include errno.h for errno definition
5
6This fixes errors with clang/libc++
7
8Upstream-Status: Pending
9Signed-off-by: Khem Raj <raj.khem@gmail.com>
10---
11 vboxtouch/setshape.cpp | 1 +
12 vboxtouch/vboxtouch.cpp | 1 +
13 2 files changed, 2 insertions(+)
14
15diff --git a/vboxtouch/setshape.cpp b/vboxtouch/setshape.cpp
16index 092f888..4dd25a1 100644
17--- a/vboxtouch/setshape.cpp
18+++ b/vboxtouch/setshape.cpp
19@@ -24,6 +24,7 @@
20 #include <QByteArray>
21 #include <QDebug>
22
23+#include <errno.h>
24 #include <stdint.h>
25 #include <string.h>
26
27diff --git a/vboxtouch/vboxtouch.cpp b/vboxtouch/vboxtouch.cpp
28index 345fdcb..ffe1d50 100644
29--- a/vboxtouch/vboxtouch.cpp
30+++ b/vboxtouch/vboxtouch.cpp
31@@ -32,6 +32,7 @@
32
33 #include <qpa/qwindowsysteminterface.h>
34
35+#include <errno.h>
36 #include <fcntl.h>
37 #include <string.h>
38 #include <unistd.h>
diff --git a/recipes-qt/qt5/qt5-plugin-generic-vboxtouch_git.bb b/recipes-qt/qt5/qt5-plugin-generic-vboxtouch_git.bb
index 1f29dcfe..4e83c267 100644
--- a/recipes-qt/qt5/qt5-plugin-generic-vboxtouch_git.bb
+++ b/recipes-qt/qt5/qt5-plugin-generic-vboxtouch_git.bb
@@ -16,7 +16,10 @@ DEPENDS = "qtbase"
16# Needed with gcc-5.2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65801 16# Needed with gcc-5.2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65801
17CXXFLAGS += "-Wno-narrowing" 17CXXFLAGS += "-Wno-narrowing"
18 18
19SRC_URI = "git://github.com/nemomobile/qt5-plugin-generic-vboxtouch.git" 19SRC_URI = "git://github.com/nemomobile/qt5-plugin-generic-vboxtouch.git \
20 file://0001-VirtualboxTouchScreenHandler-initialize-m_mouse.patch;patchdir=.. \
21 file://0001-include-errno.h-for-errno-definition.patch;patchdir=.. \
22 "
20SRCREV = "3f2bdb5a1d346f02d5ab185522271ba2288a42bb" 23SRCREV = "3f2bdb5a1d346f02d5ab185522271ba2288a42bb"
21S = "${WORKDIR}/git/vboxtouch" 24S = "${WORKDIR}/git/vboxtouch"
22 25
@@ -25,4 +28,3 @@ inherit qmake5
25FILES_${PN} += "${OE_QMAKE_PATH_PLUGINS}/generic/libvboxtouchplugin.so" 28FILES_${PN} += "${OE_QMAKE_PATH_PLUGINS}/generic/libvboxtouchplugin.so"
26FILES_${PN}-dev += "${OE_QMAKE_PATH_LIBS}/cmake/*" 29FILES_${PN}-dev += "${OE_QMAKE_PATH_LIBS}/cmake/*"
27 30
28SRC_URI += "file://0001-VirtualboxTouchScreenHandler-initialize-m_mouse.patch;patchdir=.."
diff --git a/recipes-qt/qt5/qtbase-native_git.bb b/recipes-qt/qt5/qtbase-native_git.bb
index c281d865..af3483d5 100644
--- a/recipes-qt/qt5/qtbase-native_git.bb
+++ b/recipes-qt/qt5/qtbase-native_git.bb
@@ -18,7 +18,7 @@ require qt5-git.inc
18 18
19# common for qtbase-native, qtbase-nativesdk and qtbase 19# common for qtbase-native, qtbase-nativesdk and qtbase
20# Patches from https://github.com/meta-qt5/qtbase/commits/b5.12-shared 20# Patches from https://github.com/meta-qt5/qtbase/commits/b5.12-shared
21# 5.12.meta-qt5-shared.4 21# 5.12.meta-qt5-shared.5
22SRC_URI += "\ 22SRC_URI += "\
23 file://0001-Add-linux-oe-g-platform.patch \ 23 file://0001-Add-linux-oe-g-platform.patch \
24 file://0002-cmake-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS.patch \ 24 file://0002-cmake-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS.patch \
@@ -41,14 +41,14 @@ SRC_URI += "\
41 41
42# common for qtbase-native and nativesdk-qtbase 42# common for qtbase-native and nativesdk-qtbase
43# Patches from https://github.com/meta-qt5/qtbase/commits/b5.12-native 43# Patches from https://github.com/meta-qt5/qtbase/commits/b5.12-native
44# 5.12.meta-qt5-native.4 44# 5.12.meta-qt5-native.5
45SRC_URI += " \ 45SRC_URI += " \
46 file://0020-Always-build-uic-and-qvkgen.patch \ 46 file://0021-Always-build-uic-and-qvkgen.patch \
47" 47"
48 48
49# only for qtbase-native 49# only for qtbase-native
50SRC_URI += " \ 50SRC_URI += " \
51 file://0021-Bootstrap-without-linkat-feature.patch \ 51 file://0022-Bootstrap-without-linkat-feature.patch \
52" 52"
53 53
54CLEANBROKEN = "1" 54CLEANBROKEN = "1"
diff --git a/recipes-qt/qt5/qtbase/0020-Always-build-uic-and-qvkgen.patch b/recipes-qt/qt5/qtbase/0021-Always-build-uic-and-qvkgen.patch
index 2d942289..4958d432 100644
--- a/recipes-qt/qt5/qtbase/0020-Always-build-uic-and-qvkgen.patch
+++ b/recipes-qt/qt5/qtbase/0021-Always-build-uic-and-qvkgen.patch
@@ -1,4 +1,4 @@
1From f8ae183b543b1244fb272f26db330f52e0d53161 Mon Sep 17 00:00:00 2001 1From 7af04e47ddfb4d285aab6bbb7efb46eb06252ba2 Mon Sep 17 00:00:00 2001
2From: Martin Jansa <Martin.Jansa@gmail.com> 2From: Martin Jansa <Martin.Jansa@gmail.com>
3Date: Sat, 16 Nov 2013 00:32:30 +0100 3Date: Sat, 16 Nov 2013 00:32:30 +0100
4Subject: [PATCH] Always build uic and qvkgen 4Subject: [PATCH] Always build uic and qvkgen
diff --git a/recipes-qt/qt5/qtbase/0021-Bootstrap-without-linkat-feature.patch b/recipes-qt/qt5/qtbase/0022-Bootstrap-without-linkat-feature.patch
index 733e69ac..02ab9900 100644
--- a/recipes-qt/qt5/qtbase/0021-Bootstrap-without-linkat-feature.patch
+++ b/recipes-qt/qt5/qtbase/0022-Bootstrap-without-linkat-feature.patch
@@ -1,4 +1,4 @@
1From 4d5e38f1b5f42d61428b7984f9f4d7f22ebe2a2e Mon Sep 17 00:00:00 2001 1From 94cfb4e78bf96e8947ed0c91900e463b99857b30 Mon Sep 17 00:00:00 2001
2From: Samuli Piippo <samuli.piippo@qt.io> 2From: Samuli Piippo <samuli.piippo@qt.io>
3Date: Fri, 24 Nov 2017 15:16:31 +0200 3Date: Fri, 24 Nov 2017 15:16:31 +0200
4Subject: [PATCH] Bootstrap without linkat feature 4Subject: [PATCH] Bootstrap without linkat feature
diff --git a/recipes-qt/qt5/qtbase_git.bb b/recipes-qt/qt5/qtbase_git.bb
index 2acd833e..87183c26 100644
--- a/recipes-qt/qt5/qtbase_git.bb
+++ b/recipes-qt/qt5/qtbase_git.bb
@@ -14,7 +14,7 @@ LIC_FILES_CHKSUM = " \
14 14
15# common for qtbase-native, qtbase-nativesdk and qtbase 15# common for qtbase-native, qtbase-nativesdk and qtbase
16# Patches from https://github.com/meta-qt5/qtbase/commits/b5.12-shared 16# Patches from https://github.com/meta-qt5/qtbase/commits/b5.12-shared
17# 5.12.meta-qt5-shared.4 17# 5.12.meta-qt5-shared.5
18SRC_URI += "\ 18SRC_URI += "\
19 file://0001-Add-linux-oe-g-platform.patch \ 19 file://0001-Add-linux-oe-g-platform.patch \
20 file://0002-cmake-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS.patch \ 20 file://0002-cmake-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS.patch \
@@ -64,7 +64,7 @@ LDFLAGS_append_x86 = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -f
64PACKAGECONFIG_GL ?= "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gl', '', d)}" 64PACKAGECONFIG_GL ?= "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gl', '', d)}"
65PACKAGECONFIG_FB ?= "${@bb.utils.contains('DISTRO_FEATURES', 'directfb', 'directfb', '', d)}" 65PACKAGECONFIG_FB ?= "${@bb.utils.contains('DISTRO_FEATURES', 'directfb', 'directfb', '', d)}"
66PACKAGECONFIG_X11 ?= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xcb xcb-xinput glib xkb xkbcommon', '', d)}" 66PACKAGECONFIG_X11 ?= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xcb xcb-xinput glib xkb xkbcommon', '', d)}"
67PACKAGECONFIG_KDE ?= "${@bb.utils.contains('DISTRO_FEATURES', 'kde', 'sm cups fontconfig kms gbm libinput', '', d)}" 67PACKAGECONFIG_KDE ?= "${@bb.utils.contains('DISTRO_FEATURES', 'kde', 'sm cups fontconfig kms gbm libinput sql-sqlite accessibility openssl', '', d)}"
68PACKAGECONFIG_FONTS ?= "" 68PACKAGECONFIG_FONTS ?= ""
69PACKAGECONFIG_SYSTEM ?= "jpeg libpng zlib" 69PACKAGECONFIG_SYSTEM ?= "jpeg libpng zlib"
70PACKAGECONFIG_DISTRO ?= "" 70PACKAGECONFIG_DISTRO ?= ""
@@ -167,6 +167,13 @@ QT_CONFIG_FLAGS += " \
167 ${PACKAGECONFIG_CONFARGS} \ 167 ${PACKAGECONFIG_CONFARGS} \
168" 168"
169 169
170export CC_host_toolchain-clang = "clang"
171export CXX_host_toolchain-clang = "clang++"
172export LD_host_toolchain-clang = "clang++"
173export CC_host ?= "gcc"
174export CXX_host ?= "g++"
175export LD_host ?= "g++"
176
170# for qtbase configuration we need default settings 177# for qtbase configuration we need default settings
171# since we cannot set empty set filename to a not existent file 178# since we cannot set empty set filename to a not existent file
172deltask generate_qt_config_file 179deltask generate_qt_config_file
@@ -240,6 +247,9 @@ do_install_append() {
240 echo "isEmpty(QMAKE_LINK_C_SHLIB): QMAKE_LINK_C_SHLIB = $OE_QMAKE_LINK_NO_SYSROOT" >> $conf 247 echo "isEmpty(QMAKE_LINK_C_SHLIB): QMAKE_LINK_C_SHLIB = $OE_QMAKE_LINK_NO_SYSROOT" >> $conf
241 echo "isEmpty(QMAKE_LFLAGS): QMAKE_LFLAGS = ${OE_QMAKE_LDFLAGS}" >> $conf 248 echo "isEmpty(QMAKE_LFLAGS): QMAKE_LFLAGS = ${OE_QMAKE_LDFLAGS}" >> $conf
242 echo "isEmpty(QMAKE_STRIP): QMAKE_STRIP = ${TARGET_PREFIX}strip" >> $conf 249 echo "isEmpty(QMAKE_STRIP): QMAKE_STRIP = ${TARGET_PREFIX}strip" >> $conf
250 echo "isEmpty(CC_host): CC_host = ${CC_host}" >> $conf
251 echo "isEmpty(CXX_host): CXX_host = ${CXX_host}" >> $conf
252 echo "isEmpty(LD_host): LD_host = ${LD_host}" >> $conf
243 253
244 generate_target_qt_config_file ${D}${OE_QMAKE_PATH_BINS}/qt.conf 254 generate_target_qt_config_file ${D}${OE_QMAKE_PATH_BINS}/qt.conf
245 255
diff --git a/recipes-qt/qt5/qtconnectivity/0001-Add-missing-header-for-errno.patch b/recipes-qt/qt5/qtconnectivity/0001-Add-missing-header-for-errno.patch
new file mode 100644
index 00000000..1b75095c
--- /dev/null
+++ b/recipes-qt/qt5/qtconnectivity/0001-Add-missing-header-for-errno.patch
@@ -0,0 +1,26 @@
1From 4c6aa68761d8a85bffe7d545c816522a793e94a9 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 29 Jan 2019 20:29:19 -0800
4Subject: [PATCH] Add missing header for errno
5
6Upstream-Status: Pending
7Signed-off-by: Khem Raj <raj.khem@gmail.com>
8---
9 src/bluetooth/bluez/bluetoothmanagement.cpp | 1 +
10 1 file changed, 1 insertion(+)
11
12diff --git a/src/bluetooth/bluez/bluetoothmanagement.cpp b/src/bluetooth/bluez/bluetoothmanagement.cpp
13index 31d3dc02..75d762e5 100644
14--- a/src/bluetooth/bluez/bluetoothmanagement.cpp
15+++ b/src/bluetooth/bluez/bluetoothmanagement.cpp
16@@ -45,6 +45,7 @@
17 #include "bluez_data_p.h"
18 #include "../qbluetoothsocketbase_p.h"
19
20+#include <errno.h>
21 #include <unistd.h>
22 #include <sys/prctl.h>
23 #include <sys/syscall.h>
24--
252.20.1
26
diff --git a/recipes-qt/qt5/qtconnectivity_git.bb b/recipes-qt/qt5/qtconnectivity_git.bb
index 2cadbdb0..91eae87f 100644
--- a/recipes-qt/qt5/qtconnectivity_git.bb
+++ b/recipes-qt/qt5/qtconnectivity_git.bb
@@ -10,6 +10,8 @@ LIC_FILES_CHKSUM = " \
10 file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e \ 10 file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e \
11" 11"
12 12
13SRC_URI += "file://0001-Add-missing-header-for-errno.patch"
14
13DEPENDS += "qtbase qtdeclarative" 15DEPENDS += "qtbase qtdeclarative"
14 16
15inherit bluetooth 17inherit bluetooth
diff --git a/recipes-qt/qt5/qttools/0002-linguist-tools-cmake-allow-overriding-the-location-f.patch b/recipes-qt/qt5/qttools/0002-linguist-tools-cmake-allow-overriding-the-location-f.patch
index c1f14d4a..6f8e7f91 100644
--- a/recipes-qt/qt5/qttools/0002-linguist-tools-cmake-allow-overriding-the-location-f.patch
+++ b/recipes-qt/qt5/qttools/0002-linguist-tools-cmake-allow-overriding-the-location-f.patch
@@ -1,60 +1,41 @@
1From cc5d0bc4434805fc78e9e7045810c1e0c323ad61 Mon Sep 17 00:00:00 2001 1From 3f7d07226745370dd6dfc3ffddec5f00ea9b75e1 Mon Sep 17 00:00:00 2001
2From: Cody P Schafer <dev@codyps.com> 2From: Samuli Piippo <samuli.piippo@qt.io>
3Date: Thu, 9 Jul 2015 11:28:19 -0400 3Date: Mon, 18 Feb 2019 10:45:03 +0200
4Subject: [PATCH] linguist-tools cmake: allow overriding the location for 4Subject: [PATCH] linguist-tools cmake: allow overriding the location for
5 lupdate and lrelease 5 lupdate and lrelease
6 6
7--- 7---
8 src/linguist/Qt5LinguistToolsConfig.cmake.in | 15 +++------------ 8 src/linguist/Qt5LinguistToolsConfig.cmake.in | 6 +++---
9 1 file changed, 3 insertions(+), 12 deletions(-) 9 1 file changed, 3 insertions(+), 3 deletions(-)
10 10
11diff --git a/src/linguist/Qt5LinguistToolsConfig.cmake.in b/src/linguist/Qt5LinguistToolsConfig.cmake.in 11diff --git a/src/linguist/Qt5LinguistToolsConfig.cmake.in b/src/linguist/Qt5LinguistToolsConfig.cmake.in
12index 4318b16f..2e3b70fa 100644 12index 4318b16f..f957a384 100644
13--- a/src/linguist/Qt5LinguistToolsConfig.cmake.in 13--- a/src/linguist/Qt5LinguistToolsConfig.cmake.in
14+++ b/src/linguist/Qt5LinguistToolsConfig.cmake.in 14+++ b/src/linguist/Qt5LinguistToolsConfig.cmake.in
15@@ -26,6 +26,9 @@ get_filename_component(_qt5_linguisttools_install_prefix \"${CMAKE_CURRENT_LIST_ 15@@ -47,7 +47,7 @@ if (NOT TARGET Qt5::lrelease)
16 !!ELSE 16 !!IF isEmpty(CMAKE_BIN_DIR_IS_ABSOLUTE)
17 set(_qt5_linguisttools_install_prefix \"$$[QT_INSTALL_PREFIX]\")
18 !!ENDIF
19+if (OE_QMAKE_PATH_HOST_PREFIX)
20+ set(_qt5_linguisttools_install_prefix \"${OE_QMAKE_PATH_HOST_PREFIX}\")
21+endif()
22
23 macro(_qt5_LinguistTools_check_file_exists file)
24 if(NOT EXISTS \"${file}\" )
25@@ -44,11 +47,7 @@ endmacro()
26 if (NOT TARGET Qt5::lrelease)
27 add_executable(Qt5::lrelease IMPORTED)
28
29-!!IF isEmpty(CMAKE_BIN_DIR_IS_ABSOLUTE)
30 set(imported_location \"${_qt5_linguisttools_install_prefix}/$${CMAKE_BIN_DIR}lrelease$$CMAKE_BIN_SUFFIX\") 17 set(imported_location \"${_qt5_linguisttools_install_prefix}/$${CMAKE_BIN_DIR}lrelease$$CMAKE_BIN_SUFFIX\")
31-!!ELSE 18 !!ELSE
32- set(imported_location \"$${CMAKE_BIN_DIR}lrelease$$CMAKE_BIN_SUFFIX\") 19- set(imported_location \"$${CMAKE_BIN_DIR}lrelease$$CMAKE_BIN_SUFFIX\")
33-!!ENDIF 20+ set(imported_location \"${OE_QMAKE_PATH_EXTERNAL_HOST_BINS}/lrelease${OE_QMAKE_BIN_SUFFIX}\")
21 !!ENDIF
34 _qt5_LinguistTools_check_file_exists(${imported_location}) 22 _qt5_LinguistTools_check_file_exists(${imported_location})
35 23
36 set_target_properties(Qt5::lrelease PROPERTIES 24@@ -62,7 +62,7 @@ if (NOT TARGET Qt5::lupdate)
37@@ -59,11 +58,7 @@ endif() 25 !!IF isEmpty(CMAKE_BIN_DIR_IS_ABSOLUTE)
38 if (NOT TARGET Qt5::lupdate)
39 add_executable(Qt5::lupdate IMPORTED)
40
41-!!IF isEmpty(CMAKE_BIN_DIR_IS_ABSOLUTE)
42 set(imported_location \"${_qt5_linguisttools_install_prefix}/$${CMAKE_BIN_DIR}lupdate$$CMAKE_BIN_SUFFIX\") 26 set(imported_location \"${_qt5_linguisttools_install_prefix}/$${CMAKE_BIN_DIR}lupdate$$CMAKE_BIN_SUFFIX\")
43-!!ELSE 27 !!ELSE
44- set(imported_location \"$${CMAKE_BIN_DIR}lupdate$$CMAKE_BIN_SUFFIX\") 28- set(imported_location \"$${CMAKE_BIN_DIR}lupdate$$CMAKE_BIN_SUFFIX\")
45-!!ENDIF 29+ set(imported_location \"${OE_QMAKE_PATH_EXTERNAL_HOST_BINS}/lupdate${OE_QMAKE_BIN_SUFFIX}\")
30 !!ENDIF
46 _qt5_LinguistTools_check_file_exists(${imported_location}) 31 _qt5_LinguistTools_check_file_exists(${imported_location})
47 32
48 set_target_properties(Qt5::lupdate PROPERTIES 33@@ -77,7 +77,7 @@ if (NOT TARGET Qt5::lconvert)
49@@ -74,11 +69,7 @@ endif() 34 !!IF isEmpty(CMAKE_BIN_DIR_IS_ABSOLUTE)
50 if (NOT TARGET Qt5::lconvert)
51 add_executable(Qt5::lconvert IMPORTED)
52
53-!!IF isEmpty(CMAKE_BIN_DIR_IS_ABSOLUTE)
54 set(imported_location \"${_qt5_linguisttools_install_prefix}/$${CMAKE_BIN_DIR}lconvert$$CMAKE_BIN_SUFFIX\") 35 set(imported_location \"${_qt5_linguisttools_install_prefix}/$${CMAKE_BIN_DIR}lconvert$$CMAKE_BIN_SUFFIX\")
55-!!ELSE 36 !!ELSE
56- set(imported_location \"$${CMAKE_BIN_DIR}lconvert$$CMAKE_BIN_SUFFIX\") 37- set(imported_location \"$${CMAKE_BIN_DIR}lconvert$$CMAKE_BIN_SUFFIX\")
57-!!ENDIF 38+ set(imported_location \"${OE_QMAKE_PATH_EXTERNAL_HOST_BINS}/lconvert${OE_QMAKE_BIN_SUFFIX}\")
39 !!ENDIF
58 _qt5_LinguistTools_check_file_exists(${imported_location}) 40 _qt5_LinguistTools_check_file_exists(${imported_location})
59 41
60 set_target_properties(Qt5::lconvert PROPERTIES
diff --git a/recipes-qt/qt5/qtwayland_git.bb b/recipes-qt/qt5/qtwayland_git.bb
index c90e2414..1ff6ff84 100644
--- a/recipes-qt/qt5/qtwayland_git.bb
+++ b/recipes-qt/qt5/qtwayland_git.bb
@@ -44,3 +44,4 @@ BBCLASSEXTEND =+ "native nativesdk"
44# The same issue as in qtbase: 44# The same issue as in qtbase:
45# http://errors.yoctoproject.org/Errors/Details/152641/ 45# http://errors.yoctoproject.org/Errors/Details/152641/
46LDFLAGS_append_x86 = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}" 46LDFLAGS_append_x86 = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}"
47
diff --git a/recipes-qt/qt5/qtwebengine/0001-Force-host-toolchain-configuration.patch b/recipes-qt/qt5/qtwebengine/0001-Force-host-toolchain-configuration.patch
index 1aaf9498..54480b77 100644
--- a/recipes-qt/qt5/qtwebengine/0001-Force-host-toolchain-configuration.patch
+++ b/recipes-qt/qt5/qtwebengine/0001-Force-host-toolchain-configuration.patch
@@ -1,4 +1,4 @@
1From 376b5b262f2ed936920a66167b76edab781ddcff Mon Sep 17 00:00:00 2001 1From 8a07ea88666132e3ca944d0d5784235420c3d382 Mon Sep 17 00:00:00 2001
2From: Samuli Piippo <samuli.piippo@qt.io> 2From: Samuli Piippo <samuli.piippo@qt.io>
3Date: Wed, 15 Mar 2017 13:53:28 +0200 3Date: Wed, 15 Mar 2017 13:53:28 +0200
4Subject: [PATCH] Force host toolchain configuration 4Subject: [PATCH] Force host toolchain configuration
@@ -19,7 +19,7 @@ Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
19 3 files changed, 10 insertions(+), 10 deletions(-) 19 3 files changed, 10 insertions(+), 10 deletions(-)
20 20
21diff --git a/src/buildtools/configure_host.pro b/src/buildtools/configure_host.pro 21diff --git a/src/buildtools/configure_host.pro b/src/buildtools/configure_host.pro
22index dd0d3e3..70161c8 100644 22index dd0d3e3..6312c86 100644
23--- a/src/buildtools/configure_host.pro 23--- a/src/buildtools/configure_host.pro
24+++ b/src/buildtools/configure_host.pro 24+++ b/src/buildtools/configure_host.pro
25@@ -4,7 +4,7 @@ TEMPLATE = aux 25@@ -4,7 +4,7 @@ TEMPLATE = aux
@@ -38,9 +38,9 @@ index dd0d3e3..70161c8 100644
38-" cc = \"$$which($$QMAKE_CC)\" " \ 38-" cc = \"$$which($$QMAKE_CC)\" " \
39-" cxx = \"$$which($$QMAKE_CXX)\" " \ 39-" cxx = \"$$which($$QMAKE_CXX)\" " \
40-" ld = \"$$which($$QMAKE_LINK)\" " \ 40-" ld = \"$$which($$QMAKE_LINK)\" " \
41+" cc = \"$$which(gcc)\" " \ 41+" cc = \"$$which($$CC_host)\" " \
42+" cxx = \"$$which(g++)\" " \ 42+" cxx = \"$$which($$CXX_host)\" " \
43+" ld = \"$$which(g++)\" " \ 43+" ld = \"$$which($$CXX_host)\" " \
44 " ar = \"$$which(ar)\" " \ 44 " ar = \"$$which(ar)\" " \
45 " nm = \"$$which(nm)\" " \ 45 " nm = \"$$which(nm)\" " \
46 " extra_cppflags = \"$$GN_HOST_EXTRA_CPPFLAGS\" " \ 46 " extra_cppflags = \"$$GN_HOST_EXTRA_CPPFLAGS\" " \
@@ -51,14 +51,14 @@ index dd0d3e3..70161c8 100644
51-" cc = \"$$which($$QMAKE_CC)\" " \ 51-" cc = \"$$which($$QMAKE_CC)\" " \
52-" cxx = \"$$which($$QMAKE_CXX)\" " \ 52-" cxx = \"$$which($$QMAKE_CXX)\" " \
53-" ld = \"$$which($$QMAKE_LINK)\" " \ 53-" ld = \"$$which($$QMAKE_LINK)\" " \
54+" cc = \"$$which(gcc)\" " \ 54+" cc = \"$$which($$CC_host)\" " \
55+" cxx = \"$$which(g++)\" " \ 55+" cxx = \"$$which($$CXX_host)\" " \
56+" ld = \"$$which(g++)\" " \ 56+" ld = \"$$which($$CXX_host)\" " \
57 " ar = \"$$which(ar)\" " \ 57 " ar = \"$$which(ar)\" " \
58 " nm = \"$$which(nm)\" " \ 58 " nm = \"$$which(nm)\" " \
59 " toolchain_args = { " \ 59 " toolchain_args = { " \
60diff --git a/src/buildtools/gn.pro b/src/buildtools/gn.pro 60diff --git a/src/buildtools/gn.pro b/src/buildtools/gn.pro
61index 7766af0..46defa6 100644 61index 7766af0..9d578c8 100644
62--- a/src/buildtools/gn.pro 62--- a/src/buildtools/gn.pro
63+++ b/src/buildtools/gn.pro 63+++ b/src/buildtools/gn.pro
64@@ -19,8 +19,8 @@ build_pass|!debug_and_release { 64@@ -19,8 +19,8 @@ build_pass|!debug_and_release {
@@ -67,8 +67,8 @@ index 7766af0..46defa6 100644
67 gn_configure = $$system_quote($$gn_bootstrap) --no-last-commit-position --out-path $$out_path \ 67 gn_configure = $$system_quote($$gn_bootstrap) --no-last-commit-position --out-path $$out_path \
68- --cc \"$$which($$QMAKE_CC)\" --cxx \"$$which($$QMAKE_CXX)\" \ 68- --cc \"$$which($$QMAKE_CC)\" --cxx \"$$which($$QMAKE_CXX)\" \
69- --ld \"$$which($$QMAKE_LINK)\" --ar \"$$which(ar)\" 69- --ld \"$$which($$QMAKE_LINK)\" --ar \"$$which(ar)\"
70+ --cc \"$$which(gcc)\" --cxx \"$$which(g++)\" \ 70+ --cc \"$$which($$CC_host)\" --cxx \"$$which($$CXX_host)\" \
71+ --ld \"$$which(g++)\" --ar \"$$which(ar)\" 71+ --ld \"$$which($$CXX_host)\" --ar \"$$which(ar)\"
72 message($$gn_configure) 72 message($$gn_configure)
73 !system("$$pythonPathForSystem() $$gn_configure") { 73 !system("$$pythonPathForSystem() $$gn_configure") {
74 error("GN generation error!") 74 error("GN generation error!")
diff --git a/recipes-qt/qt5/qtwebengine/0002-chromium_overrides.cpp-Fix-build-with-plugins-and-oz.patch b/recipes-qt/qt5/qtwebengine/0002-chromium_overrides.cpp-Fix-build-with-plugins-and-oz.patch
deleted file mode 100644
index 4319058b..00000000
--- a/recipes-qt/qt5/qtwebengine/0002-chromium_overrides.cpp-Fix-build-with-plugins-and-oz.patch
+++ /dev/null
@@ -1,50 +0,0 @@
1From 76e9084f139341218eccb4c71766bbc3eaa3e61e Mon Sep 17 00:00:00 2001
2From: Martin Jansa <Martin.Jansa@gmail.com>
3Date: Sun, 10 Jun 2018 10:26:17 +0000
4Subject: [PATCH] chromium_overrides.cpp: Fix build with plugins and ozone
5 enabled
6
7* otherwise it fails with:
8 | make[3]: Entering directory '/OE/build/owpb/webos-ports/tmp-glibc/work/i586-webos-linux/qtwebengine/5.10.1+gitAUTOINC+9dc8dff7a8_c858cc7609-r0/build/src/core'
9| creating linker version script QtWebEngineCore.version
10| rm -f libQt5WebEngineCore.so.5.10.1 libQt5WebEngineCore.so libQt5WebEngineCore.so.5 libQt5WebEngineCore.so.5.10
11| linking ../../lib/libQt5WebEngineCore.so.5.10.1
12| /OE/build/owpb/webos-ports/tmp-glibc/work/i586-webos-linux/qtwebengine/5.10.1+gitAUTOINC+9dc8dff7a8_c858cc7609-r0/recipe-sysroot-native/usr/bin/i586-webos-linux/../../libexec/i586-webos-linux/gcc/i586-webos-linux/7.3.0/ld: error: /OE/build/owpb/webos-ports/tmp-glibc/work/i586-webos-linux/qtwebengine/5.10.1+gitAUTOINC+9dc8dff7a8_c858cc7609-r0/build/src/core/release/obj/content/browser/browser/pepper_truetype_font_list_ozone.o: multiple definition of 'content::GetFontFamilies_SlowBlocking(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >*)'
13| /OE/build/owpb/webos-ports/tmp-glibc/work/i586-webos-linux/qtwebengine/5.10.1+gitAUTOINC+9dc8dff7a8_c858cc7609-r0/recipe-sysroot-native/usr/bin/i586-webos-linux/../../libexec/i586-webos-linux/gcc/i586-webos-linux/7.3.0/ld: /OE/build/owpb/webos-ports/tmp-glibc/work/i586-webos-linux/qtwebengine/5.10.1+gitAUTOINC+9dc8dff7a8_c858cc7609-r0/build/src/core/release/obj/QtWebEngineCore/chromium_overrides.o: previous definition here
14| /OE/build/owpb/webos-ports/tmp-glibc/work/i586-webos-linux/qtwebengine/5.10.1+gitAUTOINC+9dc8dff7a8_c858cc7609-r0/recipe-sysroot-native/usr/bin/i586-webos-linux/../../libexec/i586-webos-linux/gcc/i586-webos-linux/7.3.0/ld: error: /OE/build/owpb/webos-ports/tmp-glibc/work/i586-webos-linux/qtwebengine/5.10.1+gitAUTOINC+9dc8dff7a8_c858cc7609-r0/build/src/core/release/obj/content/browser/browser/pepper_truetype_font_list_ozone.o: multiple definition of 'content::GetFontsInFamily_SlowBlocking(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::vector<ppapi::proxy::SerializedTrueTypeFontDesc, std::allocator<ppapi::proxy::SerializedTrueTypeFontDesc> >*)'
15| /OE/build/owpb/webos-ports/tmp-glibc/work/i586-webos-linux/qtwebengine/5.10.1+gitAUTOINC+9dc8dff7a8_c858cc7609-r0/recipe-sysroot-native/usr/bin/i586-webos-linux/../../libexec/i586-webos-linux/gcc/i586-webos-linux/7.3.0/ld: /OE/build/owpb/webos-ports/tmp-glibc/work/i586-webos-linux/qtwebengine/5.10.1+gitAUTOINC+9dc8dff7a8_c858cc7609-r0/build/src/core/release/obj/QtWebEngineCore/chromium_overrides.o: previous definition here
16| collect2: error: ld returned 1 exit status
17| Makefile.core_module:74: recipe for target '../../lib/libQt5WebEngineCore.so.5.10.1' failed
18| make[3]: *** [../../lib/libQt5WebEngineCore.so.5.10.1] Error 1
19| make[3]: Leaving directory '/OE/build/owpb/webos-ports/tmp-glibc/work/i586-webos-linux/qtwebengine/5.10.1+gitAUTOINC+9dc8dff7a8_c858cc7609-r0/build/src/core'
20| Makefile:122: recipe for target 'sub-core_module-pro-make_first' failed
21| make[2]: *** [sub-core_module-pro-make_first] Error 2
22| make[2]: Leaving directory '/OE/build/owpb/webos-ports/tmp-glibc/work/i586-webos-linux/qtwebengine/5.10.1+gitAUTOINC+9dc8dff7a8_c858cc7609-r0/build/src/core'
23| Makefile:78: recipe for target 'sub-core-make_first' failed
24| make[1]: *** [sub-core-make_first] Error 2
25| make[1]: Leaving directory '/OE/build/owpb/webos-ports/tmp-glibc/work/i586-webos-linux/qtwebengine/5.10.1+gitAUTOINC+9dc8dff7a8_c858cc7609-r0/build/src'
26| Makefile:46: recipe for target 'sub-src-make_first' failed
27| make: *** [sub-src-make_first] Error 2
28| ERROR: oe_runmake failed
29| WARNING: /OE/build/owpb/webos-ports/tmp-glibc/work/i586-webos-linux/qtwebengine/5.10.1+gitAUTOINC+9dc8dff7a8_c858cc7609-r0/temp/run.do_compile.10122:1 exit 1 from 'exit 1'
30| ERROR: Function failed: do_compile (log file is located at /OE/build/owpb/webos-ports/tmp-glibc/work/i586-webos-linux/qtwebengine/5.10.1+gitAUTOINC+9dc8dff7a8_c858cc7609-r0/temp/log.do_compile.10122)
31
32Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
33Signed-off-by: Christophe Chapuis <chris.chapuis@gmail.com>
34---
35 src/core/chromium_overrides.cpp | 2 +-
36 1 file changed, 1 insertion(+), 1 deletion(-)
37
38diff --git a/src/core/chromium_overrides.cpp b/src/core/chromium_overrides.cpp
39index 841dcf4c..2f2299b4 100644
40--- a/src/core/chromium_overrides.cpp
41+++ b/src/core/chromium_overrides.cpp
42@@ -140,7 +140,7 @@ std::unique_ptr<base::ListValue> GetFontList_SlowBlocking()
43 return std::move(font_list);
44 }
45
46-#if QT_CONFIG(webengine_pepper_plugins)
47+#if QT_CONFIG(webengine_pepper_plugins) && !defined(USE_OZONE)
48 // content/browser/renderer_host/pepper/pepper_truetype_font_list.h
49 void GetFontFamilies_SlowBlocking(std::vector<std::string> *font_families)
50 {
diff --git a/recipes-qt/qt5/qtwebengine/chromium/0019-chromium-fix-build-with-clang.patch b/recipes-qt/qt5/qtwebengine/chromium/0019-chromium-fix-build-with-clang.patch
new file mode 100644
index 00000000..de1018d0
--- /dev/null
+++ b/recipes-qt/qt5/qtwebengine/chromium/0019-chromium-fix-build-with-clang.patch
@@ -0,0 +1,91 @@
1From 70292f3f8db60557b00a5ef550ef8c6a4a726f56 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 2 Feb 2019 19:28:59 -0800
4Subject: [PATCH] chromium: fix build with clang
5
6Upstream-Status: Pending
7Signed-off-by: Khem Raj <raj.khem@gmail.com>
8---
9 chromium/build/config/compiler/BUILD.gn | 27 ++-------------------------
10 1 file changed, 2 insertions(+), 25 deletions(-)
11
12diff --git a/chromium/build/config/compiler/BUILD.gn b/chromium/build/config/compiler/BUILD.gn
13index 1fb0a84..05e2208 100644
14--- a/chromium/build/config/compiler/BUILD.gn
15+++ b/chromium/build/config/compiler/BUILD.gn
16@@ -561,13 +561,6 @@ config("compiler") {
17 }
18 }
19
20- # Tells the compiler not to use absolute paths when passing the default
21- # paths to the tools it invokes. We don't want this because we don't
22- # really need it and it can mess up the goma cache entries.
23- if (is_clang && !is_nacl) {
24- cflags += [ "-no-canonical-prefixes" ]
25- }
26-
27 # C11/C++11 compiler flags setup.
28 # ---------------------------
29 if (is_linux || is_android || (is_nacl && is_clang) || current_os == "aix") {
30@@ -799,8 +792,6 @@ config("compiler_cpu_abi") {
31 }
32 } else if (current_cpu == "arm") {
33 if (is_clang && !is_android && !is_nacl) {
34- cflags += [ "--target=arm-linux-gnueabihf" ]
35- ldflags += [ "--target=arm-linux-gnueabihf" ]
36 }
37 if (!is_nacl) {
38 cflags += [
39@@ -813,8 +804,6 @@ config("compiler_cpu_abi") {
40 }
41 } else if (current_cpu == "arm64") {
42 if (is_clang && !is_android && !is_nacl && !is_fuchsia) {
43- cflags += [ "--target=aarch64-linux-gnu" ]
44- ldflags += [ "--target=aarch64-linux-gnu" ]
45 }
46 } else if (current_cpu == "mipsel" && !is_nacl) {
47 ldflags += [ "-Wl,--hash-style=sysv" ]
48@@ -823,9 +812,6 @@ config("compiler_cpu_abi") {
49 if (is_android) {
50 cflags += [ "--target=mipsel-linux-android" ]
51 ldflags += [ "--target=mipsel-linux-android" ]
52- } else {
53- cflags += [ "--target=mipsel-linux-gnu" ]
54- ldflags += [ "--target=mipsel-linux-gnu" ]
55 }
56 } else {
57 cflags += [ "-EL" ]
58@@ -904,10 +890,7 @@ config("compiler_cpu_abi") {
59 } else if (current_cpu == "mips" && !is_nacl) {
60 ldflags += [ "-Wl,--hash-style=sysv" ]
61 if (custom_toolchain == "") {
62- if (is_clang) {
63- cflags += [ "--target=mips-linux-gnu" ]
64- ldflags += [ "--target=mips-linux-gnu" ]
65- } else {
66+ if (!is_clang) {
67 cflags += [ "-EB" ]
68 ldflags += [ "-EB" ]
69 }
70@@ -954,9 +937,6 @@ config("compiler_cpu_abi") {
71 if (is_android) {
72 cflags += [ "--target=mips64el-linux-android" ]
73 ldflags += [ "--target=mips64el-linux-android" ]
74- } else {
75- cflags += [ "--target=mips64el-linux-gnuabi64" ]
76- ldflags += [ "--target=mips64el-linux-gnuabi64" ]
77 }
78 } else {
79 cflags += [
80@@ -1013,10 +993,7 @@ config("compiler_cpu_abi") {
81 } else if (current_cpu == "mips64") {
82 ldflags += [ "-Wl,--hash-style=sysv" ]
83 if (custom_toolchain == "") {
84- if (is_clang) {
85- cflags += [ "--target=mips64-linux-gnuabi64" ]
86- ldflags += [ "--target=mips64-linux-gnuabi64" ]
87- } else {
88+ if (!is_clang) {
89 cflags += [
90 "-EB",
91 "-mabi=64",
diff --git a/recipes-qt/qt5/qtwebengine/chromium/0021-chromium-Exclude-CRC32-for-32bit-arm.patch b/recipes-qt/qt5/qtwebengine/chromium/0021-chromium-Exclude-CRC32-for-32bit-arm.patch
new file mode 100644
index 00000000..392fb5a7
--- /dev/null
+++ b/recipes-qt/qt5/qtwebengine/chromium/0021-chromium-Exclude-CRC32-for-32bit-arm.patch
@@ -0,0 +1,33 @@
1From af02d2c093b870d3c8b751d0cb573a797f46ccb9 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 5 Feb 2019 14:32:20 -0800
4Subject: [PATCH] chromium: Exclude CRC32 for 32bit arm
5
6This fixes build issues during cross compiling for linux using clang
7
8Fixes
9src/3rdparty/chromium/third_party/zlib/crc32_simd.c:184: undefined reference to `__crc32d'
10
11Upstream-Status: Pending
12Signed-off-by: Khem Raj <raj.khem@gmail.com>
13---
14 chromium/third_party/zlib/BUILD.gn | 5 ++++-
15 1 file changed, 4 insertions(+), 1 deletion(-)
16
17diff --git a/chromium/third_party/zlib/BUILD.gn b/chromium/third_party/zlib/BUILD.gn
18index 6aca13e..bd49d99 100644
19--- a/chromium/third_party/zlib/BUILD.gn
20+++ b/chromium/third_party/zlib/BUILD.gn
21@@ -70,8 +70,11 @@ config("zlib_arm_crc32_config") {
22 # - ChromeOS has wrapper scripts that are borking the compiler flags.
23 # - Fuchsia just added a syscall for feature detection.
24 # TODO(cavalcantii): crbug.com/810125.
25+ defines = []
26 if (is_clang && (!is_ios && !is_chromeos && !is_fuchsia)) {
27- defines = [ "CRC32_ARMV8_CRC32" ]
28+ if (current_cpu == "arm64") {
29+ defines += [ "CRC32_ARMV8_CRC32" ]
30+ }
31 if (is_android) {
32 defines += [ "ARMV8_OS_ANDROID" ]
33 } else if (is_linux || is_chromeos) {
diff --git a/recipes-qt/qt5/qtwebengine_git.bb b/recipes-qt/qt5/qtwebengine_git.bb
index 15d95ccb..cb75508e 100644
--- a/recipes-qt/qt5/qtwebengine_git.bb
+++ b/recipes-qt/qt5/qtwebengine_git.bb
@@ -139,7 +139,6 @@ QT_MODULE_BRANCH_CHROMIUM = "71-based"
139SRC_URI += " \ 139SRC_URI += " \
140 ${QT_GIT}/qtwebengine-chromium.git;name=chromium;branch=${QT_MODULE_BRANCH_CHROMIUM};protocol=${QT_GIT_PROTOCOL};destsuffix=git/src/3rdparty \ 140 ${QT_GIT}/qtwebengine-chromium.git;name=chromium;branch=${QT_MODULE_BRANCH_CHROMIUM};protocol=${QT_GIT_PROTOCOL};destsuffix=git/src/3rdparty \
141 file://0001-Force-host-toolchain-configuration.patch \ 141 file://0001-Force-host-toolchain-configuration.patch \
142 file://0002-chromium_overrides.cpp-Fix-build-with-plugins-and-oz.patch \
143" 142"
144SRC_URI_append_libc-musl = "\ 143SRC_URI_append_libc-musl = "\
145 file://0003-musl-don-t-use-pvalloc-as-it-s-not-available-on-musl.patch \ 144 file://0003-musl-don-t-use-pvalloc-as-it-s-not-available-on-musl.patch \
@@ -152,6 +151,8 @@ SRC_URI += " \
152 file://chromium/0002-chromium-workaround-for-too-long-.rps-file-name.patch;patchdir=src/3rdparty \ 151 file://chromium/0002-chromium-workaround-for-too-long-.rps-file-name.patch;patchdir=src/3rdparty \
153 file://chromium/0003-chromium-Fix-build-with-gcc8.patch;patchdir=src/3rdparty \ 152 file://chromium/0003-chromium-Fix-build-with-gcc8.patch;patchdir=src/3rdparty \
154 file://chromium/0004-chromium-stack-pointer-clobber.patch;patchdir=src/3rdparty \ 153 file://chromium/0004-chromium-stack-pointer-clobber.patch;patchdir=src/3rdparty \
154 file://chromium/0019-chromium-fix-build-with-clang.patch;patchdir=src/3rdparty \
155 file://chromium/0021-chromium-Exclude-CRC32-for-32bit-arm.patch;patchdir=src/3rdparty \
155" 156"
156 157
157SRC_URI_append_libc-musl = "\ 158SRC_URI_append_libc-musl = "\
diff --git a/recipes-qt/qt5/qtwebkit_git.bb b/recipes-qt/qt5/qtwebkit_git.bb
index bd0c6aeb..c5473440 100644
--- a/recipes-qt/qt5/qtwebkit_git.bb
+++ b/recipes-qt/qt5/qtwebkit_git.bb
@@ -49,6 +49,10 @@ EXTRA_OECMAKE += " \
49 49
50EXTRA_OECMAKE_append_toolchain-clang = " -DCMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES:PATH='${STAGING_INCDIR}'" 50EXTRA_OECMAKE_append_toolchain-clang = " -DCMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES:PATH='${STAGING_INCDIR}'"
51 51
52# JIT not supported on MIPS64
53EXTRA_OECMAKE_append_mips64 = " -DENABLE_JIT=OFF "
54EXTRA_OECMAKE_append_mips64el = " -DENABLE_JIT=OFF "
55
52PACKAGECONFIG ??= "qtlocation qtmultimedia qtsensors qtwebchannel \ 56PACKAGECONFIG ??= "qtlocation qtmultimedia qtsensors qtwebchannel \
53 ${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)} \ 57 ${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)} \
54 fontconfig \ 58 fontconfig \
diff --git a/recipes-qt/qwt/qwt-qt5_6.1.3.bb b/recipes-qt/qwt/qwt-qt5_6.1.4.bb
index 49f4f9e5..d8e1dcd2 100644
--- a/recipes-qt/qwt/qwt-qt5_6.1.3.bb
+++ b/recipes-qt/qwt/qwt-qt5_6.1.4.bb
@@ -14,8 +14,8 @@ SRC_URI = " \
14 ${SOURCEFORGE_MIRROR}/qwt/qwt-${PV}.tar.bz2;name=qwt \ 14 ${SOURCEFORGE_MIRROR}/qwt/qwt-${PV}.tar.bz2;name=qwt \
15 file://0001-Remove-rpath-from-binaries-they-point-to-buuild-area.patch \ 15 file://0001-Remove-rpath-from-binaries-they-point-to-buuild-area.patch \
16" 16"
17SRC_URI[qwt.md5sum] = "19d1f5fa5e22054d22ee3accc37c54ba" 17SRC_URI[qwt.md5sum] = "4fb1852f694420e3ab9c583526edecc5"
18SRC_URI[qwt.sha256sum] = "f3ecd34e72a9a2b08422fb6c8e909ca76f4ce5fa77acad7a2883b701f4309733" 18SRC_URI[qwt.sha256sum] = "1529215329e51fc562e0009505a838f427919a18b362afff441f035b2d9b5bd9"
19 19
20S = "${WORKDIR}/qwt-${PV}" 20S = "${WORKDIR}/qwt-${PV}"
21 21
@@ -25,7 +25,11 @@ EXTRA_QMAKEVARS_PRE += " \
25" 25"
26 26
27do_configure_prepend() { 27do_configure_prepend() {
28 sed -i 's:/usr/local/qwt-$$QWT_VERSION:${prefix}:' ${S}/*.pri 28 sed -i \
29 -e 's:/usr/local/qwt-$$QWT_VERSION:${prefix}:' \
30 -e 's:^QWT_INSTALL_LIBS.*:QWT_INSTALL_LIBS = ${libdir}:' \
31 ${S}/*.pri
32 export QWT_INSTALL_LIBS=${libdir}
29} 33}
30 34
31do_install_append() { 35do_install_append() {