PDA

View Full Version : QWebView Issue



ansar
21st January 2010, 10:08
In webView its emitting the signal like loadProgress and loadFinished after loading the URL to the QWebView. In the loadFinished slot its showing the TRUE.i.e is webpage is loaded .But it displays blank screen.
It works fine if I used my proxyNetwork settings , there I need to set the username and password.To avoid this I used

QList<QNetworkProxy> proxies = QNetworkProxyFactory::systemProxyForQuery(query);
and QNetworkProxyFactory::setApplicationProxyFactory()

And onemore problem is is displaying the flash screen.Its just displaying the small blue square with the quition mark on it .(This is when I used my networkProxy settings).


I am using Qt 4.5.3 version.


Thanks.

Tavit
21st January 2010, 10:47
Hi ,
In form load you pass the proxy settings.. Like this way



proxy.setType(QNetworkProxy::HttpProxy);
proxy.setHostName("proxy.abc.com");
proxy.setPort(0000);
proxy.setApplicationProxy(proxy);

I think then that time it showa the html file in Qwebview..

ansar
21st January 2010, 11:07
Tavit,

Thanks for the quick reply.I tried this.But it still the same blank page :(

vishwajeet.dusane
21st January 2010, 14:28
Hi

In QWebView when page in not able to load with any reason, it loads it as blank screen, also required flash plugin is not available thats why it is showing you one small blue icon in it.

so do u want to use default proxy settings ?

ansar
4th February 2010, 14:55
yeah..
how to use the default proxy settings without giving any username and password ?

Thanks