QtWebEngineQuick Namespace

Qt WebEngine (Qt Quick) モジュールのヘルパー関数です。さらに...

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

機能

void initialize()

詳細な説明

QtWebEngineQuick 名前空間はQt WebEngine モジュールの一部です。

関数のドキュメント

void QtWebEngineQuick::initialize()

スレッド間で共有できるOpenGL Contextを設定します。これは、QGuiApplication が作成される前と、window の QPlatformOpenGLContext が作成される前に行う必要があります。

これはQGuiApplication を構築する前にQCoreApplication::setAttributeQt::AA_ShareOpenGLContexts 属性を設定するのと同じ効果があります。

© 2025 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.