[Qtwebengine] Qt:WebBrowser1.0: how to configure proxy

Kai Koehne Kai.Koehne at qt.io
Fri May 5 16:43:15 CEST 2017

> -----Original Message-----
> From: QtWebEngine [mailto:qtwebengine-bounces+kai.koehne=qt.io at qt-
> project.org] On Behalf Of Ruei, Eric
> Sent: Friday, May 05, 2017 4:18 PM
> To: qtwebengine at qt-project.org
> Subject: [Qtwebengine] Qt:WebBrowser1.0: how to configure proxy
> To whom it may concern:
> I have finally been able to run the touch-friendly QT WebBrower after our
> yocto build problems are resolved.
> The browser works well and it is very much user-friendly. The only issue is
> that I am not able to setup the web proxy which is not one of the settings
> options.

It's true that the Qt WebBrowser does still miss a settings dialog for custom
proxy settings. Also, it does not feature a UI yet to ask for username and 
password. Feel free to open a suggestion for this.

Anyhow, it should pick up the system browser settings (http_proxy environment 
variable) automatically, as long as you have configured Qt with -system-proxies 
(default since Qt 5.8).

> I try to use the chromium command-line option –proxy-server, but it does
> not work, either.
> When I configure and save the proxy setting at one Qt Browser such as the
> QT Webwidgt brower,  the same setting is used by other Qt browser such as
> Qt webenginewidget demo browser.

This is weird, because these are application specific. Anyhow, I'm not sure
which application you mean by 'Qt Webwidget Browser'.


More information about the QtWebEngine mailing list