IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

QtWebEngineQuick Namespace

Helper functions for the Qt WebEngine (Qt Quick) module.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

QtWebEngineQuick Namespace

  • Header: QtWebEngineQuick

  • CMake:

    find_package(Qt6 REQUIRED COMPONENTS WebEngineQuick)

    target_link_libraries(mytarget PRIVATE Qt6::WebEngineQuick)

  • qmake: QT += webenginequick

  • Group: QtWebEngineQuick is part of qtwebengine-namespaces

Detailed Description

The QtWebEngineQuick namespace is part of the Qt WebEngine module.

Function Documentation

 

void 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 Qt::AA_ShareOpenGLContexts attribute with QCoreApplication::setAttribute before constructing QGuiApplication.

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+