mirror of
https://github.com/thead-yocto-mirror/meta-qt5
synced 2026-09-06 06:04:35 +02:00
qtquickcontrols: fix compilation of examples/texteditor
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>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
committed by
Martin Jansa
parent
3af44d648a
commit
1ac2f2220e
@@ -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
|
||||
|
||||
@@ -13,4 +13,8 @@ DEPENDS += "qtdeclarative"
|
||||
|
||||
RDEPENDS_${PN}-dev = ""
|
||||
|
||||
SRC_URI += " \
|
||||
file://0001-texteditor-fix-invalid-use-of-incomplete-type-class-.patch \
|
||||
"
|
||||
|
||||
SRCREV = "93d06fb27d7eae9290db33b6684916a225939f0b"
|
||||
|
||||
Reference in New Issue
Block a user