WebEngine QML Type | Qt WebEngine 5.9

Qt 5.9 | Qt WebEngine | QML Types | WebEngine QML Type

Qt 5.9.9 Reference Documentation

# WebEngine QML Type

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

Import Statement: | import QtWebEngine 1.5
Since: | QtWebEngine 1.1

- List of all members, including inherited members

## Properties

- defaultProfile : WebEngineProfile
- settings : WebEngineSettings

## Detailed Description

The WebEngine singleton type provides access to the default profile and the default settings shared by all web engine views. It can be used to change settings globally, as illustrated by the following code snippet:

      Component.onCompleted: {
          WebEngine.settings.pluginsEnabled = true;
      }

## Property Documentation

[read-only] defaultProfile : WebEngineProfile

Default profile for all web engine views.

This QML property was introduced in QtWebEngine 1.1.

See also WebEngineProfile.

[read-only] settings : WebEngineSettings

Default settings for all web engine views.

This QML property was introduced in QtWebEngine 1.1.

See also WebEngineSettings.