diff options
author | Denys Dmytriyenko <denys@ti.com> | 2016-03-31 20:47:23 -0400 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2016-04-20 10:52:24 +0200 |
commit | 1ac2f2220eb497f8be6e07331470187aedf7e323 (patch) | |
tree | 927deec7fb11ace97c8183118be1522f5fb4b7b1 /recipes-qt | |
parent | 3af44d648aec077ba313079645be1465c0a8869b (diff) |
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>
Diffstat (limited to 'recipes-qt')
-rw-r--r-- | recipes-qt/qt5/qtquickcontrols/0001-texteditor-fix-invalid-use-of-incomplete-type-class-.patch | 27 | ||||
-rw-r--r-- | recipes-qt/qt5/qtquickcontrols_git.bb | 4 |
2 files changed, 31 insertions, 0 deletions
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 00000000..10793e6d --- /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 1e25d6e0..6f0379ed 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" |