diff options
author | Pierre Rossi <pierre.rossi@digia.com> | 2014-02-14 11:08:24 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-02-14 13:18:26 +0100 |
commit | c974b9c213e267c203fce1f588f667156bbca445 (patch) | |
tree | f1e99e641b8754d91f62a2d4f82ad7e705b93a22 /examples | |
parent | a0f963cdf96f673a51022e356f9c44920a6fb4a2 (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.cpp | 2 |
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; |