# # Web engine

The following renderers are used on each platform

Platform | Renderer | Provider | Browser compatibility
--- | --- | --- | ---
GTK | WebKit | WebKit2 |
macOS | WebKit | WebKit.WKWebView (bundled with OS) |
QT | WebKit | QtWebKit |
Windows | Trident | MSHTML via .NET / System.Windows.Forms.WebBrowser | IE11 (Windows 10/8/7)
Windows | CEF | CEF Python | Chrome 66

To change a default renderer set either `PYWEBVIEW_GUI` environment variable or `webview.gui` value in the code. Available values are `cef` (Windows), `qt` (Linux, macOS) and `gtk` (Linux).

For example to use CEF on Windows

    PYWEBVIEW_GUI=cef

or

    import webview
    webview.config.gui = 'cef'

To force QT on Linux systems

    PYWEBVIEW_GUI=qt

or

    import webview
    webview.config.gui = 'qt'

Help us improve this page!