From f5e77e9481ed32564d6692f317dbc387b5b464ce Mon Sep 17 00:00:00 2001 From: Jocelyn Turcotte Date: Tue, 1 Jul 2014 18:24:39 +0200 Subject: Drop 5.2 support We actually already depend on dev (5.4) in other areas. Change-Id: Iab297a51ab06209a96f11f97c74463d38203eda8 Reviewed-by: Andras Becsi --- src/core/content_browser_client_qt.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/core') diff --git a/src/core/content_browser_client_qt.cpp b/src/core/content_browser_client_qt.cpp index c70b2993e..641d05011 100644 --- a/src/core/content_browser_client_qt.cpp +++ b/src/core/content_browser_client_qt.cpp @@ -63,7 +63,6 @@ #include #include -#include #include namespace { @@ -262,11 +261,7 @@ private: void ShareGroupQtQuick::AboutToAddFirstContext() { // This currently has to be setup by ::main in all applications using QQuickWebEngineView with delegated rendering. -#if (QT_VERSION < QT_VERSION_CHECK(5, 3, 0)) - QOpenGLContext *shareContext = QSGContext::sharedOpenGLContext(); -#else QOpenGLContext *shareContext = QOpenGLContextPrivate::globalShareContext(); -#endif if (!shareContext) { qFatal("QWebEngine: OpenGL resource sharing is not set up in QtQuick. Please make sure to call QWebEngine::initialize() or QWebEngineWidgets::initialize() in your main() function."); } -- cgit v1.2.3