summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorPierre Rossi <pierre.rossi@digia.com>2014-02-14 11:08:24 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-02-14 13:18:26 +0100
commitc974b9c213e267c203fce1f588f667156bbca445 (patch)
treef1e99e641b8754d91f62a2d4f82ad7e705b93a22 /examples
parenta0f963cdf96f673a51022e356f9c44920a6fb4a2 (diff)
Make Qt 5.2 a minimum requirement
Cleanup version ifdefs and v8-private dependencies. Change-Id: Iac393c06dfba02499e60d713d9f4d04ef0c9e617 Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com> Reviewed-by: Andras Becsi <andras.becsi@digia.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/quick/quicknanobrowser/main.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/examples/quick/quicknanobrowser/main.cpp b/examples/quick/quicknanobrowser/main.cpp
index 0f0278c22..6c2f91de6 100644
--- a/examples/quick/quicknanobrowser/main.cpp
+++ b/examples/quick/quicknanobrowser/main.cpp
@@ -53,14 +53,12 @@ int main(int argc, char **argv)
{
Application app(argc, argv);
-#if (QT_VERSION >= QT_VERSION_CHECK(5, 2, 0))
// This is currently needed by all QtWebEngine application using the HW accelerated QQuickWebView.
// It enables sharing between the QOpenGLContext of all QQuickWindows of the application.
// We have to do so until we expose a public API for it, or chose enable it by default in Qt 5.3.0.
QOpenGLContext shareContext;
shareContext.create();
QSGContext::setSharedOpenGLContext(&shareContext);
-#endif
ApplicationEngine appEngine;