-
Notifications
You must be signed in to change notification settings - Fork 13
/
0002-fix-build-with-Qt-5.15.patch
37 lines (30 loc) · 1.24 KB
/
0002-fix-build-with-Qt-5.15.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
From 81741a875847c806c05f0f3a4610e69b3c3002aa Mon Sep 17 00:00:00 2001
From: Andreas Sturmlechner <[email protected]>
Date: Wed, 20 May 2020 14:12:15 +0200
Subject: Fix build with Qt 5.15 (missing QPainterPath include)
---
librecad/src/lib/engine/lc_splinepoints.cpp | 1 +
librecad/src/lib/gui/rs_painterqt.h | 1 +
2 files changed, 2 insertions(+)
diff --git a/librecad/src/lib/engine/lc_splinepoints.cpp b/librecad/src/lib/engine/lc_splinepoints.cpp
index 5eaed81b8..e6324ec10 100644
--- a/librecad/src/lib/engine/lc_splinepoints.cpp
+++ b/librecad/src/lib/engine/lc_splinepoints.cpp
@@ -21,6 +21,7 @@ along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
**********************************************************************/
+#include <QPainterPath>
#include <QPolygonF>
#include "lc_splinepoints.h"
diff --git a/librecad/src/lib/gui/rs_painterqt.h b/librecad/src/lib/gui/rs_painterqt.h
index 878753cb7..a0b432e06 100644
--- a/librecad/src/lib/gui/rs_painterqt.h
+++ b/librecad/src/lib/gui/rs_painterqt.h
@@ -29,6 +29,7 @@
#define RS_PAINTERQT_H
#include <QPainter>
+#include <QPainterPath>
#include "rs_painter.h"
#include "rs_pen.h"
--
cgit v1.2.3