summaryrefslogtreecommitdiff
path: root/src/plugins/geoservices/mapboxgl/qgeomapmapboxgl.cpp
diff options
context:
space:
mode:
authorLauri Laanmets <lauri.laanmets@eesti.ee>2021-09-30 18:51:18 +0300
committerIvan Solovev <ivan.solovev@qt.io>2021-11-09 10:28:38 +0100
commitd25bffff3453338405feb4470249998e4622612c (patch)
tree3c76d45a78fe69f28005a6eb3ee8108d5b79b61d /src/plugins/geoservices/mapboxgl/qgeomapmapboxgl.cpp
parent92392b471cbcfcf386cd0ba7c99fc4a9297f018a (diff)
downloadqtlocation-d25bffff3453338405feb4470249998e4622612c.tar.gz
Code clean-up to be able to compile for Qt 6
Various minor changes about includes and re-definitions, etc, to make the compiler happy. Leaving QGeoRoutingManager doc sample code Q_OBJECT AutoMoc error for a separate patch. This is part of a bigger work to port QtLocation maps to Qt6. Task-number: QTBUG-96795 Change-Id: Ic1d22cec18660a7a01dbafe89f134bdd04574851 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'src/plugins/geoservices/mapboxgl/qgeomapmapboxgl.cpp')
-rw-r--r--src/plugins/geoservices/mapboxgl/qgeomapmapboxgl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/geoservices/mapboxgl/qgeomapmapboxgl.cpp b/src/plugins/geoservices/mapboxgl/qgeomapmapboxgl.cpp
index 66763af3..92c50e94 100644
--- a/src/plugins/geoservices/mapboxgl/qgeomapmapboxgl.cpp
+++ b/src/plugins/geoservices/mapboxgl/qgeomapmapboxgl.cpp
@@ -43,7 +43,7 @@
#include <QtCore/QByteArray>
#include <QtCore/QCoreApplication>
#include <QtGui/QOpenGLContext>
-#include <QtGui/QOpenGLFramebufferObject>
+#include <QtOpenGL/QOpenGLFramebufferObject>
#include <QtLocation/private/qdeclarativecirclemapitem_p.h>
#include <QtLocation/private/qdeclarativegeomapitembase_p.h>
#include <QtLocation/private/qdeclarativepolygonmapitem_p.h>