I implemented a simple interface to connect to Google Map API.
The connection starts by creating
Qt Code:
  1. manager = new QNetworkAccessManager(this);
  2.  
  3. this->page()->mainFrame()->addToJavaScriptWindowObject("Map", this);
  4.  
  5.  
  6. connect(this,SIGNAL(urlChanged(const QUrl&)),SLOT(waitPage()));
  7. connect(page()->mainFrame(), SIGNAL(javaScriptWindowObjectCleared()),
  8. this, SLOT(populateJavaScriptWindowObject()));
  9.  
  10. connect(manager, SIGNAL(finished(QNetworkReply*)), this, SLOT(replyFinished(QNetworkReply*)));
  11. connect(this,SIGNAL(reloadMap()), this,SLOT(loadCoordinates()));
To copy to clipboard, switch view to plain text mode 
The code works fine, but some users said to me that they could not connect and the map does not show at all.
I guess that some of them use Proxy to connect to Internet.Shall I implement a Proxy also in QNetworkAccessManager?
regards