summaryrefslogtreecommitdiffstats
path: root/basicsuite/shared/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'basicsuite/shared/main.cpp')
-rw-r--r--basicsuite/shared/main.cpp5
1 files changed, 2 insertions, 3 deletions
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();