Please nominate your Qt Champions for 2021! https://forum.qt.io/topic/132134/looking-for-the-2021-qt-champions
http proxy problem of QWebEngineView
Peng last edited by Peng
Hi, I'm trying to port my Qt application from Webkit to WebEngine, but I'm failing to find a way to set proxy for QWebEngineView.
I hava tried to set my Application's proxy as follows. But it's also failed to access the web page.
m_networkAccessManager = new QNetworkAccessManager;
m_networkProxy.setType(QNetworkProxy::HttpProxy); m_networkProxy.setHostName(tr("web-proxy.corp.xx.com")); m_networkProxy.setPort(8080); m_networkProxy.setUser(""); m_networkProxy.setPassword(""); m_networkAccessManager->setProxy(m_networkProxy); QNetworkProxy::setApplicationProxy(m_networkProxy);
Is this an issue caused by the way I doing this or is this a bug ?
Hi and welcome to devnet,
This thread might be of interest
Hope it helps
Peng last edited by
Thanks for your information. I have tried to set the proxy as the way you gave me. But the QWebEngineView can't access to web site too.
raidsan last edited by
QWebEngineView use IE's proxy settings, just like google chrome