Nesta página

QtWebView Namespace

O namespace QtWebView oferece funções que facilitam a configuração e o uso do WebView. Mais...

Cabeçalho: #include <QtWebView>
CMake: find_package(Qt6 REQUIRED COMPONENTS WebView)
target_link_libraries(mytarget PRIVATE Qt6::WebView)
qmake: QT += webview

Funções

void initialize()

Descrição detalhada

Documentação das funções

void QtWebView::initialize()

Essa função inicializa recursos ou define opções exigidas pelos diferentes back-ends.

Observação: A função ` initialize() ` precisa ser chamada imediatamente antes da criação da instância ` 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.