Qt WebEngine Core C++ Classes

Provides public API shared by both QtWebEngine and QtWebEngineWidgets. More...

This module was introduced in Qt 5.6.

Classes

QWebEngineCertificateError

Information about a certificate error

QWebEngineClientCertificateSelection

QWebEngineClientCertSelection class wraps a client certificate selection

QWebEngineClientCertificateStore

In-memory store for client certificates

QWebEngineContextMenuRequest

Request for populating or extending a context menu with actions

QWebEngineCookieStore

Access to Chromium's cookies

QWebEngineCookieStore::FilterRequest

QWebEngineCookieStore::FilterRequest struct is used in conjunction with QWebEngineCookieStore::setCookieFilter() and is the type filterCallback operates on

QWebEngineDownloadRequest

Information about a download

QWebEngineFindTextResult

Encapsulates the result of a string search on a page

QWebEngineFullScreenRequest

Enables accepting or rejecting requests for entering and exiting the fullscreen mode

QWebEngineHistory

Represents the history of a web engine page

QWebEngineHistoryItem

Represents one item in the history of a web engine page

QWebEngineHistoryModel

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

QWebEngineHttpRequest

Holds a request to be sent with WebEngine

QWebEngineLoadingInfo

A utility type for the WebEngineView::loadingChanged signal

QWebEngineNavigationRequest

A utility type for the QWebEnginePage::navigationRequested signal

QWebEngineNewWindowRequest

A utility type for the QWebEnginePage::newWindowRequested() signal

QWebEngineNotification

Encapsulates the data of an HTML5 web notification

QWebEnginePage

Object to view and edit web documents

QWebEngineProfile

Web engine profile shared by multiple pages

QWebEngineQuotaRequest

Enables accepting or rejecting requests for larger persistent storage than the application's current allocation in File System API

QWebEngineRegisterProtocolHandlerRequest

Enables accepting or rejecting requests from the registerProtocolHandler API

QWebEngineScript

Encapsulates a JavaScript program

QWebEngineScriptCollection

Represents a collection of user scripts

QWebEngineSettings

Object to store the settings used by QWebEnginePage

QWebEngineUrlRequestInfo

Information about URL requests

QWebEngineUrlRequestInterceptor

Abstract base class for URL interception

QWebEngineUrlRequestJob

Represents a custom URL request

QWebEngineUrlScheme

Configures a custom URL scheme

QWebEngineUrlSchemeHandler

Base class for handling custom URL schemes

Detailed Description

To include the definitions of the module's classes, use the following directive:

#include <QtWebEngineCore>

If you use qmake to build your projects, Qt WebEngine Core is usually indirectly included through the Qt WebEngine or Qt WebEngine Widgets modules.

To link against the module using build with qmake, add this line to your qmake project file:

QT += webenginecore

However, webenginecore is implied by adding webenginequick or webenginewidgets.

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 WebEngineCore REQUIRED)
target_link_libraries(target PRIVATE Qt::WebEngineCore)

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