PySide6.QtWebEngineQuick.QtWebEngineQuick¶
- class QtWebEngineQuick¶
Helper functions for the Qt WebEngine (Qt Quick) module. More…
Synopsis¶
Static functions¶
def
initialize()
Note
This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE
Detailed Description¶
The QtWebEngineQuick namespace is part of the Qt WebEngine module.
- static initialize()¶
Sets up an OpenGL Context that can be shared between threads. This has to be done before QGuiApplication is created and before window’s QPlatformOpenGLContext is created.
This has the same effect as setting the Qt::AA_ShareOpenGLContexts attribute with QCoreApplication::setAttribute before constructing QGuiApplication.