QtWebView 名稱空間提供的函數,使之更易於設置和使用 WebView . 更多...
| 頭: |
#include <QtWebView>
|
| CMake: |
find_package(Qt6 REQUIRED COMPONENTS WebView)
target_link_libraries(mytarget PRIVATE Qt6::WebView)
|
| qmake: |
QT += webview
|
| void | 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
實例被創建。