diff options
author | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2016-11-24 17:36:47 +0200 |
---|---|---|
committer | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2016-11-28 18:18:42 +0200 |
commit | 11281d15e9c36b82dda3361c518161fb11c13ef9 (patch) | |
tree | 3fc4b38bf40e25d83648697b273ef83c12dc1496 /platform/qt/src/qmapboxgl.cpp | |
parent | bc48cb777b066259ebec65a9baf50c5a10614a9f (diff) | |
download | qtlocation-mapboxgl-11281d15e9c36b82dda3361c518161fb11c13ef9.tar.gz |
[qt] Use QOpenGLWidget instead of QGLWidget from Qt 5.4 onwards
Diffstat (limited to 'platform/qt/src/qmapboxgl.cpp')
-rw-r--r-- | platform/qt/src/qmapboxgl.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/qt/src/qmapboxgl.cpp b/platform/qt/src/qmapboxgl.cpp index e1a8a463ef..dfd6ff58d8 100644 --- a/platform/qt/src/qmapboxgl.cpp +++ b/platform/qt/src/qmapboxgl.cpp @@ -25,6 +25,7 @@ #include <QGuiApplication> #include <QWindow> #include <QOpenGLFramebufferObject> +#include <QOpenGLContext> #else #include <QCoreApplication> #endif |