texworks/0001-Fix-build-for-qt-5.15.patch

25 lines
609 B
Diff
Raw Permalink Normal View History

From 4c10d9859765ae76efb8fd86d44a033003bec7e7 Mon Sep 17 00:00:00 2001
From: Qiyu Yan <yanqiyu@fedoraproject.org>
Date: Sun, 13 Sep 2020 14:46:24 +0800
Subject: [PATCH] Fix build for qt 5.15
---
modules/QtPDF/src/PDFBackend.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/QtPDF/src/PDFBackend.cpp b/modules/QtPDF/src/PDFBackend.cpp
index 0305d87a..0a28c491 100644
--- a/modules/QtPDF/src/PDFBackend.cpp
+++ b/modules/QtPDF/src/PDFBackend.cpp
@@ -15,6 +15,7 @@
#include <PDFBackend.h>
#include <QPainter>
#include <QApplication>
+#include <QPainterPath>
namespace QtPDF {
--
2.26.2