[oe] [meta-qt5][PATCH] add patch to allow qtwebengine build for linux-oe-g++ platform

Frieder Schrempf frieder.schrempf at online.de
Mon Dec 1 15:26:35 UTC 2014


---
 .../0001-allow-build-for-linux-oe-g-platform.patch |   25 ++++++++++++++++++++
 recipes-qt/qt5/qtwebengine_git.bb                  |    1 +
 2 files changed, 26 insertions(+)
 create mode 100644 recipes-qt/qt5/qtwebengine/0001-allow-build-for-linux-oe-g-platform.patch

diff --git a/recipes-qt/qt5/qtwebengine/0001-allow-build-for-linux-oe-g-platform.patch b/recipes-qt/qt5/qtwebengine/0001-allow-build-for-linux-oe-g-platform.patch
new file mode 100644
index 0000000..05177b1
--- /dev/null
+++ b/recipes-qt/qt5/qtwebengine/0001-allow-build-for-linux-oe-g-platform.patch
@@ -0,0 +1,25 @@
+From a84b72bc45024a57ad75df8c10abfa0a9eb7f726 Mon Sep 17 00:00:00 2001
+From: Frieder Schrempf <frieder.schrempf at online.de>
+Date: Mon, 1 Dec 2014 14:34:40 +0000
+Subject: [PATCH 1/1] allow build for linux-oe-g++ platform
+
+---
+ tools/qmake/mkspecs/features/functions.prf |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/tools/qmake/mkspecs/features/functions.prf b/tools/qmake/mkspecs/features/functions.prf
+index 491a640..0bb2145 100644
+--- a/tools/qmake/mkspecs/features/functions.prf
++++ b/tools/qmake/mkspecs/features/functions.prf
+@@ -7,7 +7,7 @@ defineTest(isPlatformSupported) {
+ 
+   linux-g++*:!isGCCVersionSupported():return(false)
+   !isPythonVersionSupported(): return(false)
+-  linux-g++*|win32-msvc2013|macx-clang: return(true)
++  linux-g++*|linux-oe-g++*|win32-msvc2013|macx-clang: return(true)
+   boot2qt: return(true)
+ 
+   warning("Qt WebEngine can currently only be built for Linux (GCC), Windows (MSVC 2013), OS X (XCode 5.1+) or Qt for Device Creation".)
+-- 
+1.7.9.5
+
diff --git a/recipes-qt/qt5/qtwebengine_git.bb b/recipes-qt/qt5/qtwebengine_git.bb
index 84012f8..8225456 100644
--- a/recipes-qt/qt5/qtwebengine_git.bb
+++ b/recipes-qt/qt5/qtwebengine_git.bb
@@ -8,6 +8,7 @@ SRC_URI += " \
     git://gitorious.org/qt/qtwebengine-chromium.git;name=chromium;branch=${QT_MODULE_BRANCH_CHROMIUM};destsuffix=git/src/3rdparty \
     file://0001-functions.prf-Don-t-match-QMAKE_EXT_CPP-or-QMAKE_EXT.patch \
     file://0002-functions.prf-Try-to-add-_moc-suffix.patch \
+    file://0001-allow-build-for-linux-oe-g-platform.patch \
 "
 SRCREV_qtwebengine = "03a52863226aeb774721db610ba831808b30836a"
 SRCREV_chromium = "66388297cf2ca42049fb099237134ec33465e2f5"
-- 
1.7.9.5




More information about the Openembedded-devel mailing list