En esta página

QtWebEngineQuick Namespace

Funciones de ayuda para el módulo Qt WebEngine (Qt Quick). Más...

Cabecera: #include <QtWebEngineQuick>
CMake: find_package(Qt6 REQUIRED COMPONENTS WebEngineQuick)
target_link_libraries(mytarget PRIVATE Qt6::WebEngineQuick)
qmake: QT += webenginequick

Funciones

void initialize()

Descripción detallada

El espacio de nombres QtWebEngineQuick forma parte del módulo Qt WebEngine.

Documentación de funciones

void QtWebEngineQuick::initialize()

Establece un Contexto OpenGL que puede ser compartido entre hilos. Esto debe hacerse antes de crear QGuiApplication y antes de crear el QPlatformOpenGLContext de window.

Esto tiene el mismo efecto que establecer el atributo Qt::AA_ShareOpenGLContexts con QCoreApplication::setAttribute antes de construir QGuiApplication.

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.