calling Qapplication.exec in a loop is not giving proper results. can somebody give me some other idea to do the below thing..thanks
something like this
public static void main(String args[]) {
QNetworkProxy proxy = new QNetworkProxy(ProxyType.HttpProxy,Proxyname, port);
QNetworkProxy.setApplicationProxy(proxy);
for(int i=0; i<2;i++){
QApplication.initialize(args);
HelloWebKit widget = new HelloWebKit();
widget.show();
QApplication.exec();
}
}