Quantcast
Channel: QtWebEngine
Viewing all articles
Browse latest Browse all 13965

how to use QNetworkAccessManager::setProxyFactory ( QNetworkProxyFactory * factory ) ?

$
0
0
I want to get the webpage source code of http://www.youtube.com/ ,but youtube is blocked in my country ,so I decided to access it by a proxy server – hostname : 127.0.0.1 port :8087 according to the documentation I think use void QNetworkAccessManager::setProxyFactory ( QNetworkProxyFactory * factory ) is a good choice for me ,but I don’t know how to associate this function with my proxy server at all ,I googled a lot ,but found it very hard to find an example on how to using this function ,anyone can show me how to use it with my needs here ? only showing me how to use this function is enough ,I know how to get the webpage source code

Viewing all articles
Browse latest Browse all 13965

Trending Articles