summaryrefslogtreecommitdiffstats
path: root/office/ghostwriter/fix-build-with-qt5.15.patch
diff options
context:
space:
mode:
Diffstat (limited to 'office/ghostwriter/fix-build-with-qt5.15.patch')
-rw-r--r--office/ghostwriter/fix-build-with-qt5.15.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/office/ghostwriter/fix-build-with-qt5.15.patch b/office/ghostwriter/fix-build-with-qt5.15.patch
new file mode 100644
index 0000000000..358e8bd21c
--- /dev/null
+++ b/office/ghostwriter/fix-build-with-qt5.15.patch
@@ -0,0 +1,21 @@
+commit ecad6c28195e535ae8ea8a29a91fa14f5e39faa9
+Author: Andrzej Telszewski <andrzej@telszewski.com>
+Date: Wed Apr 7 22:55:57 2021 +0200
+
+ Fix build error with Qt 5.15
+
+ Shamelessly based on upstream patch:
+ https://github.com/wereturtle/ghostwriter/commit/f8f4ec0a1b53d1f3e670817f051c59444851cf7f
+
+diff --git a/src/MarkdownEditor.cpp b/src/MarkdownEditor.cpp
+index 2e4a9a1..45fc3e4 100644
+--- a/src/MarkdownEditor.cpp
++++ b/src/MarkdownEditor.cpp
+@@ -34,6 +34,7 @@
+ #include <QUrl>
+ #include <QPixmap>
+ #include <QPainter>
++#include <QPainterPath>
+ #include <QFileInfo>
+ #include <QDir>
+