Package: marble / 4:17.08.3-3.2

qt5.11.patch Patch series | download
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
Author: Reiner Herrmann <reiner@reiner-h.de>
Description: Fix build with Qt 5.11

--- a/src/plugins/render/gpsinfo/GpsInfo.cpp
+++ b/src/plugins/render/gpsinfo/GpsInfo.cpp
@@ -21,6 +21,8 @@
 #include "ViewportParams.h"
 #include "GeoDataAccuracy.h"
 
+#include <QIcon>
+
 namespace Marble
 {
 
--- a/src/plugins/render/speedometer/Speedometer.cpp
+++ b/src/plugins/render/speedometer/Speedometer.cpp
@@ -19,6 +19,8 @@
 #include "MarbleGraphicsGridLayout.h"
 #include "ViewportParams.h"
 
+#include <QIcon>
+
 namespace Marble
 {
 
--- a/src/lib/marble/RenderPlugin.h
+++ b/src/lib/marble/RenderPlugin.h
@@ -14,6 +14,9 @@
 #ifndef MARBLE_RENDERPLUGIN_H
 #define MARBLE_RENDERPLUGIN_H
 
+#include <QAction>
+#include <QActionGroup>
+#include <QStandardItem>
 #include <QObject>
 #include <QString>
 #include <QRegion>
@@ -22,10 +25,6 @@
 #include "marble_export.h"
 
 
-class QAction;
-class QActionGroup;
-class QStandardItem;
-
 namespace Marble
 {
 
--- a/src/plugins/render/satellites/SatellitesPlugin.cpp
+++ b/src/plugins/render/satellites/SatellitesPlugin.cpp
@@ -25,6 +25,7 @@
 
 #include "ui_SatellitesConfigDialog.h"
 
+#include <QAction>
 #include <QUrl>
 #include <QMouseEvent>