summaryrefslogtreecommitdiff
blob: 37f803312c282560ceb546a361dd7945b177aadb (plain)
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
From 244e55632cef86ecd363eb8df3f2352569f804f4 Mon Sep 17 00:00:00 2001
From: Hector Martin <marcan@marcan.st>
Date: Sun, 31 May 2020 21:24:52 +0900
Subject: [PATCH 1/2] Fix build with Qt 5.15

---
 QtCollider/primitives/prim_QPen.cpp       | 1 +
 QtCollider/widgets/QcGraph.cpp            | 1 +
 QtCollider/widgets/QcLevelIndicator.cpp   | 1 +
 QtCollider/widgets/QcMultiSlider.cpp      | 1 +
 QtCollider/widgets/QcScopeShm.cpp         | 1 +
 QtCollider/widgets/soundfileview/view.cpp | 1 +
 6 files changed, 6 insertions(+)

diff --git a/QtCollider/primitives/prim_QPen.cpp b/QtCollider/primitives/prim_QPen.cpp
index 8d531214d..4ba24519d 100644
--- a/QtCollider/primitives/prim_QPen.cpp
+++ b/QtCollider/primitives/prim_QPen.cpp
@@ -27,6 +27,7 @@
 #include "PyrKernel.h"
 
 #include <QPainter>
+#include <QPainterPath>
 #include <QVector2D>
 #include <QVector3D>
 #include <cmath>
diff --git a/QtCollider/widgets/QcGraph.cpp b/QtCollider/widgets/QcGraph.cpp
index 70215ae94..79e71d1ad 100644
--- a/QtCollider/widgets/QcGraph.cpp
+++ b/QtCollider/widgets/QcGraph.cpp
@@ -24,6 +24,7 @@
 #include "../style/routines.hpp"
 
 #include <QPainter>
+#include <QPainterPath>
 #include <QMouseEvent>
 #include <QApplication>
 #include <QtCore/qmath.h>
diff --git a/QtCollider/widgets/QcLevelIndicator.cpp b/QtCollider/widgets/QcLevelIndicator.cpp
index 19c7d4874..8a60f354a 100644
--- a/QtCollider/widgets/QcLevelIndicator.cpp
+++ b/QtCollider/widgets/QcLevelIndicator.cpp
@@ -23,6 +23,7 @@
 #include "../QcWidgetFactory.h"
 
 #include <QPainter>
+#include <QPainterPath>
 
 QC_DECLARE_QWIDGET_FACTORY(QcLevelIndicator);
 
diff --git a/QtCollider/widgets/QcMultiSlider.cpp b/QtCollider/widgets/QcMultiSlider.cpp
index 046b18739..381ddd404 100644
--- a/QtCollider/widgets/QcMultiSlider.cpp
+++ b/QtCollider/widgets/QcMultiSlider.cpp
@@ -26,6 +26,7 @@
 #include <QApplication>
 #include <QMouseEvent>
 #include <QPainter>
+#include <QPainterPath>
 
 #include <cmath>
 
diff --git a/QtCollider/widgets/QcScopeShm.cpp b/QtCollider/widgets/QcScopeShm.cpp
index bb44623f4..edd38ef57 100644
--- a/QtCollider/widgets/QcScopeShm.cpp
+++ b/QtCollider/widgets/QcScopeShm.cpp
@@ -25,6 +25,7 @@
 #include "../debug.h"
 
 #include <QPainter>
+#include <QPainterPath>
 #include <QTimer>
 #include <QResizeEvent>
 #include <QWindow>
diff --git a/QtCollider/widgets/soundfileview/view.cpp b/QtCollider/widgets/soundfileview/view.cpp
index a3eca811f..baba0b245 100644
--- a/QtCollider/widgets/soundfileview/view.cpp
+++ b/QtCollider/widgets/soundfileview/view.cpp
@@ -24,6 +24,7 @@
 
 #include <QGridLayout>
 #include <QPainter>
+#include <QPainterPath>
 #include <QApplication>
 #include <QPaintEvent>
 #include <QCursor>
-- 
2.26.2