QtWebView Namespace
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()
该函数初始化不同后端所需的资源或设置选项。
注意: 需要在创建QGuiApplication 实例之前立即调用initialize()
函数。
© 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.