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 | |
parent | 3af44d648aec077ba313079645be1465c0a8869b (diff) | |
download | meta-qt5-1ac2f2220eb497f8be6e07331470187aedf7e323.tar.gz |
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>
-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 @@ | |||
1 | From c39a563984693efac577adb137115693634c038f Mon Sep 17 00:00:00 2001 | ||
2 | From: Denys Dmytriyenko <denys@ti.com> | ||
3 | Date: Thu, 31 Mar 2016 19:57:01 -0400 | ||
4 | Subject: [PATCH] texteditor: fix invalid use of incomplete type 'class QDebug' | ||
5 | |||
6 | Upstream-Status: Pending | ||
7 | |||
8 | Signed-off-by: Denys Dmytriyenko <denys@ti.com> | ||
9 | --- | ||
10 | examples/quick/controls/texteditor/src/documenthandler.cpp | 1 + | ||
11 | 1 file changed, 1 insertion(+) | ||
12 | |||
13 | diff --git a/examples/quick/controls/texteditor/src/documenthandler.cpp b/examples/quick/controls/texteditor/src/documenthandler.cpp | ||
14 | index 2e9987a..c8bf419 100644 | ||
15 | --- a/examples/quick/controls/texteditor/src/documenthandler.cpp | ||
16 | +++ b/examples/quick/controls/texteditor/src/documenthandler.cpp | ||
17 | @@ -44,6 +44,7 @@ | ||
18 | #include <QtGui/QTextCursor> | ||
19 | #include <QtGui/QFontDatabase> | ||
20 | #include <QtCore/QFileInfo> | ||
21 | +#include <QtCore/QDebug> | ||
22 | |||
23 | DocumentHandler::DocumentHandler() | ||
24 | : m_target(0) | ||
25 | -- | ||
26 | 2.2.0 | ||
27 | |||
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" | |||
13 | 13 | ||
14 | RDEPENDS_${PN}-dev = "" | 14 | RDEPENDS_${PN}-dev = "" |
15 | 15 | ||
16 | SRC_URI += " \ | ||
17 | file://0001-texteditor-fix-invalid-use-of-incomplete-type-class-.patch \ | ||
18 | " | ||
19 | |||
16 | SRCREV = "93d06fb27d7eae9290db33b6684916a225939f0b" | 20 | SRCREV = "93d06fb27d7eae9290db33b6684916a225939f0b" |