I call the amazon.fr url as follows :

Qt Code:
  1. //*****************************************************************************
  2. void ApplicationWindow::amazonFrLogin()
  3. //*****************************************************************************
  4. {
  5. QMessageBox::critical( this, "Mutant", "enter amazonFrLogin" );
  6. // target url
  7. QUrl url("[URL="http://www.amazon.fr"]http://www.amazon.fr[/URL]");
  8.  
  9. http = new QHttp(this);
  10. connect(http, SIGNAL(done(bool)), this, SLOT(getLogin(bool)));
  11. // remember to set the host
  12. http->setHost(url.host());
  13.  
  14. // the resulting data will be stored in the buffer
  15. buffer = new QBuffer(this);
  16. http->get(url.toString(), buffer);
  17. }
  18. //*****************************************************************************
  19. void ApplicationWindow::getLogin( bool error )
  20. //*****************************************************************************
  21. {
  22. QMessageBox::critical( this, "Mutant", "enter getLogin" );
To copy to clipboard, switch view to plain text mode 

I get when I execute :
"Mutant", "enter amazonFrLogin"

But never "Mutant", "enter getLogin" as if the call failed somewhere.
So the application goes back to the main loop and waits.

I have use this piece of code before so I know it works.
What can be wrong ?