Skip to contentSkip to conversation

qtwebengine_git: Add include <QtGui/qcolor.h> at qquickwebengineview_p.h to fix compile error

PATCH New Eric Ruei 1 participant 1 message Nov 7, 2016

lore
Share & tools
lore

Eric Ruei

author
#0 lore raw

PATCH 1/1 qtwebengine_git: Add include <QtGui/qcolor.h> at qquickwebengineview_p.h to fix compile error

---
 ...quickwebengineview_p.h-add-include-QtGui-.patch | 26 ++++++++++++++++++++++
 .../recipes-qt/qt5/qtwebengine_git.bbappend        |  6 +++++
 2 files changed, 32 insertions(+)
 create mode 100644 meta-arago-distro/recipes-qt/qt5/qtwebengine/0001-WebEngine-qquickwebengineview_p.h-add-include-QtGui-.patch
 create mode 100644 meta-arago-distro/recipes-qt/qt5/qtwebengine_git.bbappend
meta-arago-distro/recipes-qt/qt5/qtwebengine/0001-WebEngine-qquickwebengineview_p.h-add-include-QtGui-.patch new file +26 -0
new file mode 100644
index 0000000..f572f63
@@ -0,0 +1,26 @@
+From 07eeb01ea39e0fa2f9d30900c07fd0345d32562b Mon Sep 17 00:00:00 2001
+From: Eric Ruei <[email protected]>
+Date: Thu, 1 Sep 2016 17:49:56 -0400
+Subject: [PATCH] WebEngine qquickwebengineview_p.h add include
+ <QtGui/qcolor.h>
+
+Signed-off-by: Eric Ruei <[email protected]>
+---
+ src/webengine/api/qquickwebengineview_p.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/webengine/api/qquickwebengineview_p.h b/src/webengine/api/qquickwebengineview_p.h
+index 98d0bbc..93ef9e4 100644
+--- a/src/webengine/api/qquickwebengineview_p.h
++++ b/src/webengine/api/qquickwebengineview_p.h
+@@ -51,6 +51,7 @@
+ #include <private/qtwebengineglobal_p.h>
+ #include "qquickwebenginescript_p.h"
+ #include <QQuickItem>
++#include <QtGui/qcolor.h>
+ 
+ QT_BEGIN_NAMESPACE
+ 
+-- 
+1.9.1
+
meta-arago-distro/recipes-qt/qt5/qtwebengine_git.bbappend new file +6 -0
new file mode 100644
index 0000000..935e744
@@ -0,0 +1,6 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+PR_append = ".arago0"
+
+SRC_URI += " \
+    file://0001-WebEngine-qquickwebengineview_p.h-add-include-QtGui-.patch \
+"
Signature · 1 line
1.9.1