slackbuilds_ponce/office/qpdfview-qt5/qt-5.15.patch
Matteo Bernardini 2d01c10f36 office/qpdfview-qt5: Patched for qt-5.15.x.
Thanks to kgha on LQ!

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
2021-04-17 23:56:16 -05:00

24 lines
767 B
Diff

Index: qpdfview-0.4.18/sources/djvumodel.cpp
===================================================================
--- qpdfview-0.4.18.orig/sources/djvumodel.cpp
+++ qpdfview-0.4.18/sources/djvumodel.cpp
@@ -29,6 +29,7 @@ along with qpdfview. If not, see <http:
#include <cstdio>
#include <QFile>
+#include <QPainterPath>
#include <qmath.h>
#if defined(Q_OS_WIN) && defined(DJVU_STATIC)
Index: qpdfview-0.4.18/sources/model.h
===================================================================
--- qpdfview-0.4.18.orig/sources/model.h
+++ qpdfview-0.4.18/sources/model.h
@@ -27,6 +27,7 @@ along with qpdfview. If not, see <http:
#include <QtPlugin>
#include <QWidget>
#include <QVector>
+#include <QPainterPath>
class QAbstractItemModel;
class QColor;