Skip to contentSkip to conversation

add patch to allow qtwebengine build for linux-oe-g++ platform

PATCH In review Frieder Schrempf 2 participants 2 messages Dec 1, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 add patch to allow qtwebengine build for linux-oe-g++ platform

---
 .../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
recipes-qt/qt5/qtwebengine/0001-allow-build-for-linux-oe-g-platform.patch new file +25 -0
new file mode 100644
index 0000000..05177b1
@@ -0,0 +1,25 @@
+From a84b72bc45024a57ad75df8c10abfa0a9eb7f726 Mon Sep 17 00:00:00 2001
+From: Frieder Schrempf <[email protected]>
+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
+
recipes-qt/qt5/qtwebengine_git.bb +1 -0
index 84012f8..8225456 100644
@@ -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"
Signature · 1 line
1.7.9.5
Acked-by on v1 1/1
#1 lore raw
Quoted 57 lines · Frieder Schrempf
---
 .../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
recipes-qt/qt5/qtwebengine/0001-allow-build-for-linux-oe-g-platform.patch new file +25 -0
new file mode 100644
index 0000000..05177b1
@@ -0,0 +1,25 @@
+From a84b72bc45024a57ad75df8c10abfa0a9eb7f726 Mon Sep 17 00:00:00 2001
+From: Frieder Schrempf <[email protected]>
+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
+
recipes-qt/qt5/qtwebengine_git.bb +1 -1
index 84012f8..8225456 100644
@@ -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

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Signature · 3 lines
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750