[Development] QT 5.9. Issues with QWebEngine

Sudhir Sharma Sudhir.Sharma at mindtree.com
Wed Jul 12 13:26:43 CEST 2017


Hi Kai,

Thanks for your prompt response.

Before loading any URL In QWebEngine, I am making it use System Proxy Configuration by following code;

QNetworkProxyFactory::setUseSystemConfiguration(true);

After this if I query the proxy, I get correct proxy address which is configured in Web Browser.
But with this setting I cannot load local URLs in QWebEngine.

Regards,
Sudhir

-----Original Message-----
From: Kai Koehne [mailto:Kai.Koehne at qt.io] 
Sent: Wednesday, July 12, 2017 4:37 PM
To: Sudhir Sharma <Sudhir.Sharma at mindtree.com>; development at qt-project.org
Subject: RE: QT 5.9. Issues with QWebEngine

* You are receiving this mail from an external source *

Hi Sudhir,

This is best discussed on bugreports.qt.io, in a bug report for component "WebEngine" in project "Qt".

Please include on how you want to set a (non-local) proxy:
- through the system settings or
- through QNetworkProxy::applicationProxy

Regards

Kai

> -----Original Message-----
> From: Development [mailto:development-bounces+kai.koehne=qt.io at qt-
> project.org] On Behalf Of Sudhir Sharma
> Sent: Mittwoch, 12. Juli 2017 12:18
> To: development at qt-project.org
> Subject: [Development] QT 5.9. Issues with QWebEngine
>
> HI,
>
>
>
> QWebEngine does not take exact proxy settings from System (as done in 
> internet browsers like Chrome)
>
> Internet client is configured to use proxy for internet addresses and 
> bypass it for local addresses.
>
>
>
> But it does not happen. QWebEngine fails to bypass proxy for local urls.
>
>
>
> Scenarios:
>
>
>
> -          Remove proxy in Browser. -> webengine is able to load local urls but
> NOT internet URLs
>
> -          Add proxy in browser -> webengine is able to load  internet URLs but
> NOT local URLs
>
> -          If I set the proxy in browser and check to ignore local addresses,
> browser works fine for both local and internet addresses. I am 
> expecting same functionality from QWebEngine.
>
>
>
> Please suggest if it is possible.
>
>
>
> Regarsds,
>
> Sudhir
>
>
>
>
>
>
> ________________________________
>
>
> http://www.mindtree.com/email/disclaimer.html




More information about the Development mailing list