diff options
Diffstat (limited to 'platform/qt/test/headless_backend_qt.cpp')
-rw-r--r-- | platform/qt/test/headless_backend_qt.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/platform/qt/test/headless_backend_qt.cpp b/platform/qt/test/headless_backend_qt.cpp index 1992cab2fa..00b519d5bf 100644 --- a/platform/qt/test/headless_backend_qt.cpp +++ b/platform/qt/test/headless_backend_qt.cpp @@ -1,6 +1,5 @@ #include <mbgl/gl/headless_backend.hpp> -#include <QApplication> #include <QGLContext> #include <QGLWidget> @@ -40,13 +39,6 @@ bool HeadlessBackend::hasDisplay() { void HeadlessBackend::createContext() { assert(!hasContext()); - - static const char* argv[] = { "mbgl" }; - static int argc = 1; - static auto* app = new QApplication(argc, const_cast<char**>(argv)); - - Q_UNUSED(app); - impl.reset(new QtImpl); } |