Fix build with Qt 5.11
authorReiner Herrmann <reiner@reiner-h.de>
Sat, 18 May 2019 07:16:42 +0000 (08:16 +0100)
committerNiels Thykier <niels@thykier.net>
Sat, 18 May 2019 07:16:42 +0000 (08:16 +0100)
Gbp-Pq: Name qt5.11.patch

src/lib/marble/RenderPlugin.h
src/plugins/render/gpsinfo/GpsInfo.cpp
src/plugins/render/satellites/SatellitesPlugin.cpp
src/plugins/render/speedometer/Speedometer.cpp

index 8ccbad4dcf4da9b0666056296d387bc0f2692d73..b9a1d5b9698146d3e9be14e42765c8c61cf8a35e 100644 (file)
@@ -14,6 +14,9 @@
 #ifndef MARBLE_RENDERPLUGIN_H
 #define MARBLE_RENDERPLUGIN_H
 
+#include <QAction>
+#include <QActionGroup>
+#include <QStandardItem>
 #include <QObject>
 #include <QString>
 #include <QRegion>
 #include "marble_export.h"
 
 
-class QAction;
-class QActionGroup;
-class QStandardItem;
-
 namespace Marble
 {
 
index 522e907dbaf8a3cfb1b1cf90d4c143d83d3d08d5..20fd75a4cb9fc5092033686a192c689934f38881 100644 (file)
@@ -21,6 +21,8 @@
 #include "ViewportParams.h"
 #include "GeoDataAccuracy.h"
 
+#include <QIcon>
+
 namespace Marble
 {
 
index 04d8321ec6122ef257fdd355da4216718319d14b..0a43d244015774d0849358ba584041aa186aa04b 100644 (file)
@@ -25,6 +25,7 @@
 
 #include "ui_SatellitesConfigDialog.h"
 
+#include <QAction>
 #include <QUrl>
 #include <QMouseEvent>
 
index 6e9c53217f5b1e10f4eb3b6d7dd5a6539a1631d1..f40a174de3d445d1f13d23ac3b969df91a29eb38 100644 (file)
@@ -19,6 +19,8 @@
 #include "MarbleGraphicsGridLayout.h"
 #include "ViewportParams.h"
 
+#include <QIcon>
+
 namespace Marble
 {