From 028886b79d0f52818f7ae4cea0e1487f0338f41f Mon Sep 17 00:00:00 2001 From: Andras Becsi Date: Thu, 11 Sep 2014 14:33:20 +0200 Subject: webengine: update demo for QtWebEngine in Qt 5.4 Change-Id: Ic731441399f78e2044555bfc4860b499c425bee2 Reviewed-by: Jocelyn Turcotte --- basicsuite/shared/main.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'basicsuite/shared/main.cpp') diff --git a/basicsuite/shared/main.cpp b/basicsuite/shared/main.cpp index d5b203f..00284b3 100644 --- a/basicsuite/shared/main.cpp +++ b/basicsuite/shared/main.cpp @@ -50,9 +50,8 @@ int main(int argc, char **argv) #if defined(USE_QTWEBENGINE) // This is currently needed by all QtWebEngine applications using the HW accelerated QQuickWebView. // It enables sharing the QOpenGLContext of all QQuickWindows of the application. - // We have to do so until we expose a public API for it in Qt or choose to enable it - // by default earliest in Qt 5.4.0. - QWebEngine::initialize(); + // We have to do so until we expose public API for it in Qt or choose to enable it by default. + QtWebEngine::initialize(); #endif QString path = app.applicationDirPath(); -- cgit v1.2.3