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 컨텍스트를 설정합니다. 이 작업은 QGuiApplication 을 생성하기 전과 윈도우의 QPlatformOpenGLContext 를 생성하기 전에 수행해야 합니다.

이는 QGuiApplication 을 만들기 전에 QCoreApplication::setAttribute 으로 Qt::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.