summaryrefslogtreecommitdiff
path: root/platform/qt/include/qmapboxgl.hpp
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <thiago@mapbox.com>2017-01-18 17:03:53 +0100
committerThiago Marcos P. Santos <tmpsantos@gmail.com>2017-01-19 16:34:51 +0100
commit99942558b24300016bc1b24e9b40420ac26fe5c4 (patch)
treed8fc372e508d59ff514f975629801c8b57b975e9 /platform/qt/include/qmapboxgl.hpp
parent7b61324d13fc98e95a4e4aa96267b7eb30870a23 (diff)
downloadqtlocation-mapboxgl-99942558b24300016bc1b24e9b40420ac26fe5c4.tar.gz
[Qt] Fix build when using Qt namespaces
Fix when building with namespaces enabled. http://wiki.qt.io/Qt_In_Namespace
Diffstat (limited to 'platform/qt/include/qmapboxgl.hpp')
-rw-r--r--platform/qt/include/qmapboxgl.hpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/platform/qt/include/qmapboxgl.hpp b/platform/qt/include/qmapboxgl.hpp
index 086601af25..be2d60608b 100644
--- a/platform/qt/include/qmapboxgl.hpp
+++ b/platform/qt/include/qmapboxgl.hpp
@@ -1,18 +1,18 @@
#ifndef QMAPBOXGL_H
#define QMAPBOXGL_H
+#include <QImage>
#include <QMapbox>
#include <QMargins>
#include <QObject>
#include <QPointF>
#include <QSize>
+#include <QString>
+#include <QStringList>
-class QImage;
-class QMargins;
-class QSize;
-class QString;
-class QStringList;
-class QOpenGLFramebufferObject;
+#if QT_VERSION >= 0x050000
+#include <QOpenGLFramebufferObject>
+#endif
class QMapboxGLPrivate;