Helper functions for the Qt WebEngine (Qt Quick) module. More…
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
The QtWebEngineQuick namespace is part of the Qt WebEngine module.
- static PySide6.QtWebEngineQuick.QtWebEngineQuick.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
AA_ShareOpenGLContexts attribute with QCoreApplication::setAttribute before constructing