QtWebView Namespace
Der QtWebView-Namensraum stellt Funktionen zur Verfügung, die das Einrichten und die Verwendung von WebView erleichtern .
Kopfzeile: | #include <QtWebView> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS WebView) target_link_libraries(mytarget PRIVATE Qt6::WebView) |
qmake: | QT += webview |
Funktionen
void | initialize() |
Dokumentation der Funktionen
void QtWebView::initialize()
Diese Funktion initialisiert Ressourcen oder setzt Optionen, die von den verschiedenen Back-Ends benötigt werden.
Hinweis: Die Funktion initialize()
muss unmittelbar vor der Erstellung der Instanz QGuiApplication aufgerufen werden.
© 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.