QtWebView 名称空间

QtWebView 名称空间提供的函数,使之更易于设置和使用 WebView . 更多...

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

函数

void initialize ()

详细描述

函数文档编制

void QtWebView:: initialize ()

This function initializes resources or sets options that are required by the different back-ends.

注意: The initialize() function needs to be called immediately before the QGuiApplication 实例被创建。