You are not logged in.

Dear visitor, welcome to QtForum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Wednesday, July 5th 2017, 12:29pm

Network Settings to bypass proxy for local addresses

Hi,
I am using QWebEnginePage and QWebEngineView to invoke HTML url from a server in local network. The HTML in turn requires to load content from internet and hence needs proxy.
The issue which I am facing is that I before invoking web url if I enable proxy by following code I am not able to access server. and it I disable proxy then I cannot load internet content in page.
Same thing works fine from internet browser with setting to ignore local addresses.
Not able to find way to do same in QT.
Can anyone please help.

code to enable/disable proxy :
QNetworkProxy::setUseSystemConfiguration(true/false);

~SS