I cannot load website into my QWebView, QNetworkReply is returning me the error: Network Access is disabled. Loading files from local works.
I am using Qt5. Does anyone know why is connection disabled and how this line affects this situation:
QNetworkProxyFactory::setUseSystemConfiguration(false);
My eth0 connection works properly, and I am able to ping any website.
From the Qt doc :
calling setUseSystemConfiguration() overrides any application proxy or proxy factory that was previously set.
So be careful to not have set any other proxy before.Moreover, if you want to check the Network access, you might do it that way :
and in your slot :
And for the reply, you can check in the slot
replyFinished()
if there was an error during the process.