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.