summaryrefslogtreecommitdiffstats
path: root/src/plugins/geoservices
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2022-07-29 00:26:26 +0200
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2022-07-29 06:52:09 +0200
commit43dde53b5b0dfae14bf0bde97bf4709344131acd (patch)
treee09596ef1720c40bc7e7a576f64bbb4ae957b380 /src/plugins/geoservices
parent46c9adfd30636a4b13f5b66bbe019e51033a5f0b (diff)
More include cleanup
Remove includes of private headers from other modules where possible. Get rid of some duplicate includes, and try to group includes by module, with private includes in a separate block for better visibility where we have dependencies to private APIs. Pick-to: 6.2 Change-Id: Ia6419bee2a2c50463dcc515f3f1590a749dfabc1 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/plugins/geoservices')
-rw-r--r--src/plugins/geoservices/mapboxgl/qgeomapmapboxgl.cpp1
-rw-r--r--src/plugins/geoservices/mapboxgl/qsgmapboxglnode.h1
-rw-r--r--src/plugins/geoservices/nokia/qgeotiledmappingmanagerengine_nokia.cpp3
3 files changed, 2 insertions, 3 deletions
diff --git a/src/plugins/geoservices/mapboxgl/qgeomapmapboxgl.cpp b/src/plugins/geoservices/mapboxgl/qgeomapmapboxgl.cpp
index e2a56611..51450fd5 100644
--- a/src/plugins/geoservices/mapboxgl/qgeomapmapboxgl.cpp
+++ b/src/plugins/geoservices/mapboxgl/qgeomapmapboxgl.cpp
@@ -56,7 +56,6 @@
#include <QtLocation/private/qgeoprojection_p.h>
#include <QtQuick/QQuickWindow>
#include <QtQuick/QSGImageNode>
-#include <QtQuick/private/qsgtexture_p.h>
#include <QtQuick/private/qsgcontext_p.h> // for debugging the context name
#include <QMapboxGL>
diff --git a/src/plugins/geoservices/mapboxgl/qsgmapboxglnode.h b/src/plugins/geoservices/mapboxgl/qsgmapboxglnode.h
index 02fae833..d0b69140 100644
--- a/src/plugins/geoservices/mapboxgl/qsgmapboxglnode.h
+++ b/src/plugins/geoservices/mapboxgl/qsgmapboxglnode.h
@@ -44,7 +44,6 @@
#include <QtQuick/QQuickWindow>
#include <QtQuick/QSGRenderNode>
#include <QtQuick/QSGSimpleTextureNode>
-#include <QtQuick/private/qsgtexture_p.h>
#include <QtOpenGL/QOpenGLFramebufferObject>
#include <QMapboxGL>
diff --git a/src/plugins/geoservices/nokia/qgeotiledmappingmanagerengine_nokia.cpp b/src/plugins/geoservices/nokia/qgeotiledmappingmanagerengine_nokia.cpp
index 80fe533e..831aad02 100644
--- a/src/plugins/geoservices/nokia/qgeotiledmappingmanagerengine_nokia.cpp
+++ b/src/plugins/geoservices/nokia/qgeotiledmappingmanagerengine_nokia.cpp
@@ -37,7 +37,6 @@
**
****************************************************************************/
-#include <QtPositioning/private/qwebmercator_p.h>
#include "qgeocameracapabilities_p.h"
#include "qgeotiledmappingmanagerengine_nokia.h"
#include "qgeotiledmap_nokia.h"
@@ -54,6 +53,8 @@
#include <QtCore/qmath.h>
#include <QtCore/qstandardpaths.h>
+#include <QtPositioning/private/qwebmercator_p.h>
+
QT_BEGIN_NAMESPACE
QGeoTiledMappingManagerEngineNokia::QGeoTiledMappingManagerEngineNokia(