QtWebView Namespace

The QtWebView namespace provides functions that makes it easier to set-up and use the WebView. More...

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

Functions

void initialize()

Detailed Description

Function Documentation

void QtWebView::initialize()

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

Note: The initialize() function needs to be called immediately before the QGuiApplication instance is created.

© 2023 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.