diff options
Diffstat (limited to 'platform/qt/test')
-rw-r--r-- | platform/qt/test/qmapboxgl.test.cpp | 5 | ||||
-rw-r--r-- | platform/qt/test/qmapboxgl.test.hpp | 5 |
2 files changed, 0 insertions, 10 deletions
diff --git a/platform/qt/test/qmapboxgl.test.cpp b/platform/qt/test/qmapboxgl.test.cpp index 2a56b346a3..de0314f0ee 100644 --- a/platform/qt/test/qmapboxgl.test.cpp +++ b/platform/qt/test/qmapboxgl.test.cpp @@ -4,9 +4,6 @@ #include <QMapbox> -// We're using QGLFramebufferObject, which is only available in Qt 5 and up. -#if QT_VERSION >= 0x050000 - #include <QOpenGLContext> #include <QOpenGLFunctions> @@ -76,5 +73,3 @@ TEST_F(QMapboxGLTest, TEST_DISABLED_ON_CI(styleUrl)) { map.setStyleUrl(QString()); runUntil(QMapboxGL::MapChangeDidFailLoadingMap); } - -#endif diff --git a/platform/qt/test/qmapboxgl.test.hpp b/platform/qt/test/qmapboxgl.test.hpp index 04d63610ca..43a7c123b7 100644 --- a/platform/qt/test/qmapboxgl.test.hpp +++ b/platform/qt/test/qmapboxgl.test.hpp @@ -3,9 +3,6 @@ #include <QApplication> #include <QMapboxGL> -// We're using QGLFramebufferObject, which is only available in Qt 5 and up. -#if QT_VERSION >= 0x050000 - #include <QGLWidget> #include <QGLFramebufferObject> @@ -32,5 +29,3 @@ private slots: void onMapChanged(QMapboxGL::MapChange); void onNeedsRendering(); }; - -#endif |