Re: [Development] QT 5.9. Issues with QWebEngine

2017-07-12 Thread Sudhir Sharma
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.koe...@qt.io] 
Sent: Wednesday, July 12, 2017 4:37 PM
To: Sudhir Sharma <sudhir.sha...@mindtree.com>; development@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@qt-
> project.org] On Behalf Of Sudhir Sharma
> Sent: Mittwoch, 12. Juli 2017 12:18
> To: development@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

___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] QT 5.9. Issues with QWebEngine

2017-07-12 Thread Kai Koehne
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@qt-
> project.org] On Behalf Of Sudhir Sharma
> Sent: Mittwoch, 12. Juli 2017 12:18
> To: development@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

___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


[Development] QT 5.9. Issues with QWebEngine

2017-07-12 Thread Sudhir Sharma
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
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development