summaryrefslogtreecommitdiffstats
path: root/deps/qca-qt5/qca_qiodevice.patch
diff options
context:
space:
mode:
Diffstat (limited to 'deps/qca-qt5/qca_qiodevice.patch')
-rw-r--r--deps/qca-qt5/qca_qiodevice.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/deps/qca-qt5/qca_qiodevice.patch b/deps/qca-qt5/qca_qiodevice.patch
new file mode 100644
index 0000000..e6b18a2
--- /dev/null
+++ b/deps/qca-qt5/qca_qiodevice.patch
@@ -0,0 +1,23 @@
+From: Hrvoje Senjan <hrvoje.senjan@gmail.com>
+Date: Sat, 17 Jan 2015 19:12:18 +0000
+Subject: Add missing QIODevice include
+X-Git-Url: http://quickgit.kde.org/?p=qca.git&a=commitdiff&h=7207e6285e932044cd66d49d0dc484666cfb0092
+---
+Add missing QIODevice include
+
+Fixes build with Qt 5.5
+---
+
+
+--- a/include/QtCrypto/qca_basic.h
++++ b/include/QtCrypto/qca_basic.h
+@@ -35,6 +35,8 @@
+
+ #include "qca_core.h"
+
++#include <QIODevice>
++
+ // Qt5 comes with QStringLiteral for wrapping string literals, which Qt4 does
+ // not have. It is needed if the headers are built with QT_NO_CAST_FROM_ASCII.
+ // Defining it here as QString::fromUtf8 for convenience.
+