forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
scribus-1.5.3-qt-5.11.patch
59 lines (50 loc) · 2.11 KB
/
scribus-1.5.3-qt-5.11.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
From ed5bb7e205e10a2855b2f55d6de9d5702f81633f Mon Sep 17 00:00:00 2001
From: Andreas Sturmlechner <[email protected]>
Date: Mon, 19 Mar 2018 23:52:49 +0100
Subject: [PATCH] Fix build with Qt 5.11 (missing headers)
---
.../plugins/tools/2geomtools/meshdistortion/meshdistortiondialog.cpp | 3 ++-
scribus/plugins/tools/lenseffects/lensdialog.cpp | 1 +
scribus/sclistboxpixmap.h | 2 ++
3 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/scribus/plugins/tools/2geomtools/meshdistortion/meshdistortiondialog.cpp b/scribus/plugins/tools/2geomtools/meshdistortion/meshdistortiondialog.cpp
index 3f0d916b7..645aec8d1 100644
--- a/scribus/plugins/tools/2geomtools/meshdistortion/meshdistortiondialog.cpp
+++ b/scribus/plugins/tools/2geomtools/meshdistortion/meshdistortiondialog.cpp
@@ -26,8 +26,9 @@ for which a new license (GPL+exception) is in place.
#include "meshdistortiondialog.h"
-#include <QPainterPath>
#include <QGraphicsItem>
+#include <QPainterPath>
+#include <QStyleOptionGraphicsItem>
#include "commonstrings.h"
#include "fpointarray.h"
diff --git a/scribus/plugins/tools/lenseffects/lensdialog.cpp b/scribus/plugins/tools/lenseffects/lensdialog.cpp
index cfabc4091..bed8305dc 100644
--- a/scribus/plugins/tools/lenseffects/lensdialog.cpp
+++ b/scribus/plugins/tools/lenseffects/lensdialog.cpp
@@ -27,6 +27,7 @@ for which a new license (GPL+exception) is in place.
#include "lensdialog.h"
#include <cmath>
#include <QRadialGradient>
+#include <QStyleOptionGraphicsItem>
#include "iconmanager.h"
#include "selection.h"
#include "sccolorengine.h"
diff --git a/scribus/sclistboxpixmap.h b/scribus/sclistboxpixmap.h
index a067b7912..ebdae272c 100644
--- a/scribus/sclistboxpixmap.h
+++ b/scribus/sclistboxpixmap.h
@@ -9,11 +9,13 @@ for which a new license (GPL+exception) is in place.
#include <memory>
+#include <QAbstractItemDelegate>
#include <QApplication>
#include <QDebug>
#include <QPainter>
#include <QPixmap>
#include <QScopedPointer>
+#include <QStyleOptionMenuItem>
#include <QVariant>
#include "scguardedptr.h"
--
2.16.2