PKGBUILDs/extra/texmacs/texmacs-qt-5.15.patch
2020-08-03 13:46:15 +00:00

34 lines
1,015 B
Diff

From 3cf56af92326b74538f5e943928199ba6e963d0b Mon Sep 17 00:00:00 2001
From: rezso <rezso@rezso.net>
Date: Wed, 3 Jun 2020 19:33:29 +0200
Subject: [PATCH] Fix build with Qt 5.15
---
src/Plugins/Qt/QTMStyle.cpp | 1 +
src/Plugins/Qt/qt_renderer.cpp | 1 +
2 files changed, 2 insertions(+)
diff --git a/src/Plugins/Qt/QTMStyle.cpp b/src/Plugins/Qt/QTMStyle.cpp
index e1c05ece3..2bc819fac 100644
--- a/src/Plugins/Qt/QTMStyle.cpp
+++ b/src/Plugins/Qt/QTMStyle.cpp
@@ -18,6 +18,7 @@
#include <QStyleOptionMenuItem>
#include <qdrawutil.h>
#include <QPainter>
+#include <QPainterPath>
#include <QMainWindow>
int
diff --git a/src/Plugins/Qt/qt_renderer.cpp b/src/Plugins/Qt/qt_renderer.cpp
index ceba13939..776759bcf 100644
--- a/src/Plugins/Qt/qt_renderer.cpp
+++ b/src/Plugins/Qt/qt_renderer.cpp
@@ -21,6 +21,7 @@
#include <QObject>
#include <QWidget>
#include <QPaintDevice>
+#include <QPainterPath>
#include <QPixmap>
/******************************************************************************