hi all,
I hv some problem in opening the webpage using qtwebkit module..
I am using internet in a NAT environment.
i used the following code:
Qt Code:
{ QNetworkProxy proxy; proxy.setHostName("10.8.58.40"); proxy.setPort(8080); QNetworkAccessManager *manager=new QNetworkAccessManager(this); manager->setProxy(proxy); QUrl url; url.setUrl("http://www.google.co.in"); QWebPage *page=new QWebPage(); page->mainFrame()->load(url); QWebView *view = new QWebView(this); view->setPage(page); view->show(); }To copy to clipboard, switch view to plain text mode
Bookmarks