diff mbox

[oe,meta-qt5,2/2] qtquickcontrols: fix compilation of examples/texteditor

Message ID 1459471643-7183-2-git-send-email-denis@denix.org
State New
Headers show

Commit Message

Denys Dmytriyenko April 1, 2016, 12:47 a.m. UTC
From: Denys Dmytriyenko <denys@ti.com>


git/examples/quick/controls/texteditor/src/documenthandler.cpp:136:12: error: invalid use of incomplete type 'class QDebug'
      qDebug() << "saved to" << localPath;

Signed-off-by: Denys Dmytriyenko <denys@ti.com>

---
 ...fix-invalid-use-of-incomplete-type-class-.patch | 27 ++++++++++++++++++++++
 recipes-qt/qt5/qtquickcontrols_git.bb              |  4 ++++
 2 files changed, 31 insertions(+)
 create mode 100644 recipes-qt/qt5/qtquickcontrols/0001-texteditor-fix-invalid-use-of-incomplete-type-class-.patch

-- 
2.2.0

-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
diff mbox

Patch

diff --git a/recipes-qt/qt5/qtquickcontrols/0001-texteditor-fix-invalid-use-of-incomplete-type-class-.patch b/recipes-qt/qt5/qtquickcontrols/0001-texteditor-fix-invalid-use-of-incomplete-type-class-.patch
new file mode 100644
index 0000000..10793e6
--- /dev/null
+++ b/recipes-qt/qt5/qtquickcontrols/0001-texteditor-fix-invalid-use-of-incomplete-type-class-.patch
@@ -0,0 +1,27 @@ 
+From c39a563984693efac577adb137115693634c038f Mon Sep 17 00:00:00 2001
+From: Denys Dmytriyenko <denys@ti.com>
+Date: Thu, 31 Mar 2016 19:57:01 -0400
+Subject: [PATCH] texteditor: fix invalid use of incomplete type 'class QDebug'
+
+Upstream-Status: Pending
+
+Signed-off-by: Denys Dmytriyenko <denys@ti.com>
+---
+ examples/quick/controls/texteditor/src/documenthandler.cpp | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/examples/quick/controls/texteditor/src/documenthandler.cpp b/examples/quick/controls/texteditor/src/documenthandler.cpp
+index 2e9987a..c8bf419 100644
+--- a/examples/quick/controls/texteditor/src/documenthandler.cpp
++++ b/examples/quick/controls/texteditor/src/documenthandler.cpp
+@@ -44,6 +44,7 @@
+ #include <QtGui/QTextCursor>
+ #include <QtGui/QFontDatabase>
+ #include <QtCore/QFileInfo>
++#include <QtCore/QDebug>
+ 
+ DocumentHandler::DocumentHandler()
+     : m_target(0)
+-- 
+2.2.0
+
diff --git a/recipes-qt/qt5/qtquickcontrols_git.bb b/recipes-qt/qt5/qtquickcontrols_git.bb
index 1e25d6e..6f0379e 100644
--- a/recipes-qt/qt5/qtquickcontrols_git.bb
+++ b/recipes-qt/qt5/qtquickcontrols_git.bb
@@ -13,4 +13,8 @@  DEPENDS += "qtdeclarative"
 
 RDEPENDS_${PN}-dev = ""
 
+SRC_URI += " \
+    file://0001-texteditor-fix-invalid-use-of-incomplete-type-class-.patch \
+"
+
 SRCREV = "93d06fb27d7eae9290db33b6684916a225939f0b"