Qt WebEngine QML Types

The QML types can be imported into your application using the following import statements in your .qml file:

#include <QtWebEngineQuick>

To link against the module using build with qmake, add the following QT variable to your qmake .pro file:

QT += webenginequick

For build with CMake use the find_package() command to locate the needed module components in the Qt6 package and target_link_libraries() to link against the module:

find_package(Qt6 COMPONENTS WebEngineQuick REQUIRED)
target_link_libraries(target PRIVATE Qt::WebEngineQuick)

AuthenticationDialogRequest

A request for providing authentication credentials required by proxies or HTTP servers

ColorDialogRequest

A request for selecting a color by the user

ContextMenuRequest

A request for showing a context menu

FileDialogRequest

A request for letting the user choose a (new or existing) file or directory

FindTextResult

A utility type for encapsulating the result of a string search on a page

FullScreenRequest

A utility type for the WebEngineView::fullScreenRequested() signal

JavaScriptDialogRequest

A request for showing an alert, a confirmation, or a prompt dialog from within JavaScript to the user

QuotaRequest

A utility type for the WebEngineView::quotaRequested() signal

RegisterProtocolHandlerRequest

Type enables accepting or rejecting requests from the registerProtocolHandler API

TooltipRequest

A request for showing a tooltip to the user

WebEngine

Provides access to the default settings and profiles shared by all web engine views

WebEngineAction

An action that represents a WebEngineView::WebAction

WebEngineCertificateError

A utility type for ignoring certificate errors or rejecting erroneous certificates

WebEngineClientCertificateOption

Represents a client certificate option

WebEngineClientCertificateSelection

Provides a selection of client certificates

WebEngineDownloadRequest

Provides information about a download

WebEngineHistory

Provides data models that represent the history of a web engine page

WebEngineHistoryModel

A data model that represents the history of a web engine page

WebEngineLoadingInfo

A utility type for the WebEngineView::loadingChanged signal

WebEngineNavigationRequest

Represents a request for navigating to a web page as part of WebEngineView::navigationRequested()

WebEngineNotification

Encapsulates the data of an HTML5 web notification

WebEngineProfile

Contains settings, scripts, and visited links common to multiple web engine views

WebEngineSettings

Allows configuration of browser properties and attributes

WebEngineView

A WebEngineView renders web content within a QML application

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