qpdfview: fix build

This commit is contained in:
Jerome Duval
2021-01-15 09:38:39 +01:00
parent f01c108da7
commit 80603f6ac9

View File

@@ -1,4 +1,4 @@
From 364e06c1cd7f028715cd2779b237e82b25556fe8 Mon Sep 17 00:00:00 2001
From c75c6606e3ad5c701cf6ab78c2b68dad1abdc3cd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Zolt=C3=A1n=20Mizsei?= <zmizsei@extrowerk.com>
Date: Tue, 11 Jul 2017 14:16:23 +0200
Subject: Haiku build fix
@@ -18,5 +18,27 @@ index 509f6e2..4893525 100644
--
2.23.0
2.30.0
From ec4088665b53ea9e343997d319c2b1db89944fb9 Mon Sep 17 00:00:00 2001
From: Jerome Duval <jerome.duval@gmail.com>
Date: Fri, 15 Jan 2021 09:38:14 +0100
Subject: Patch for newer Qt versions
diff --git a/sources/model.h b/sources/model.h
index 6363c32..dc10a8c 100644
--- a/sources/model.h
+++ b/sources/model.h
@@ -27,6 +27,7 @@ along with qpdfview. If not, see <http://www.gnu.org/licenses/>.
#include <QtPlugin>
#include <QWidget>
#include <QVector>
+#include <QPainterPath>
class QAbstractItemModel;
class QColor;
--
2.30.0