summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@qt.io>2019-07-05 11:00:33 +0200
committerMarc Mutz <marc.mutz@kdab.com>2019-07-07 06:02:14 +0000
commit82a298e364b950aa28d0a801bcdab276cc49c3f1 (patch)
tree99b80c6217056d712b5d1d88dfb58312218a61d8
parenta0cc254c5b0a300772bba886b48b73929636c281 (diff)
downloadqtlocation-82a298e364b950aa28d0a801bcdab276cc49c3f1.tar.gz
Add correct header for QSGPlainTexture
Guard with QT_HAS_INCLUDE, because the header isn't there, yet, but adding it is blocked by the missing include here. Task-number: QTBUG-76928 Change-Id: Iaa4e67a73662de26b600207852e4668762cf5d96 Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
-rw-r--r--src/plugins/geoservices/mapboxgl/qsgmapboxglnode.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/geoservices/mapboxgl/qsgmapboxglnode.cpp b/src/plugins/geoservices/mapboxgl/qsgmapboxglnode.cpp
index ed594b56..2370e2cc 100644
--- a/src/plugins/geoservices/mapboxgl/qsgmapboxglnode.cpp
+++ b/src/plugins/geoservices/mapboxgl/qsgmapboxglnode.cpp
@@ -38,6 +38,10 @@
#include "qsgmapboxglnode.h"
#include "qgeomapmapboxgl.h"
+#if QT_HAS_INCLUDE(<QtQuick/private/qsgplaintexture_p.h>)
+#include <QtQuick/private/qsgplaintexture_p.h>
+#endif
+
#include <QtGui/QOpenGLContext>
#include <QtGui/QOpenGLFunctions>