milou: Fix build error
Summary:
To fix:
error: 'QTextStream' was not declared in this scope
QTextStream stream(&file)
apply a patch that has been accepted (but not merged) in the upstream
project.
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Reviewers: vkrause
Reviewed By: vkrause
Subscribers: broulik
Differential Revision: https://phabricator.kde.org/D14170
This commit is contained in:
committed by
Volker Krause
parent
a6f0ac13c8
commit
6cbdda0832
@@ -16,6 +16,7 @@ DEPENDS = " \
|
||||
|
||||
SRC_URI = " \
|
||||
git://git.kde.org/${BPN};nobranch=1 \
|
||||
file://0001-textplugin-Fix-missing-QTextStream-include.patch \
|
||||
"
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
From 160dde9c82ba170bd5b1600d3c85536194b35ed3 Mon Sep 17 00:00:00 2001
|
||||
From: Alistair Francis <alistair.francis@wdc.com>
|
||||
Date: Tue, 5 Jun 2018 11:47:08 -0700
|
||||
Subject: [PATCH] textplugin: Fix missing QTextStream include
|
||||
|
||||
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
|
||||
Upstream-Status: Submitted [https://phabricator.kde.org/D13874]
|
||||
---
|
||||
lib/previews/textplugin.cpp | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/lib/previews/textplugin.cpp b/lib/previews/textplugin.cpp
|
||||
index 895f4d9..fdc6c72 100644
|
||||
--- a/lib/previews/textplugin.cpp
|
||||
+++ b/lib/previews/textplugin.cpp
|
||||
@@ -26,7 +26,7 @@
|
||||
#include <QQmlEngine>
|
||||
#include <QQmlComponent>
|
||||
#include <QQmlContext>
|
||||
-
|
||||
+#include <QTextStream>
|
||||
#include <QStandardPaths>
|
||||
|
||||
TextPlugin::TextPlugin(QObject* parent, const QVariantList&)
|
||||
--
|
||||
2.17.0
|
||||
|
||||
Reference in New Issue
Block a user