WebEngineView and Network Proxy
-
Hello, can someone explain me how to use a proxy server with WebEngineView in qml?
I wrote this in main.c:
QNetworkProxy proxy(QNetworkProxy::HttpProxy,"proxyip",port,"user","pass");
QNetworkProxy::setApplicationProxy(proxy);also i wrote
QQmlApplicationEngine engine;
engine.networkAccessManager()->setProxy(proxy);i can access internet with XmlListModel but as i try to display a page into WebEngineView, setting the url property, WebEngineView try to use system settings and does not read the proxy settings from application.
Thank you.
-
Hi,
I'm struggling with the same problem, I guess we'll have to wait for Qt 5.6 as "Support for following global Qt proxy settings" is in the release notes for Qt Web Engine there (or use the alpha).
Lasse