[Qt-interest] Downloading in a QSplashScreen

Girish Ramakrishnan girish at forwardbias.in
Thu Apr 30 11:28:27 CEST 2009


Luper Rouch wrote:
> I'm trying to download a file from a QSplashScreen.
> 
> I use the QNetworkAccessManager API to do that, created my request,
> connected the reply's signals (downloadProgress(), readyRead(), etc...),
> but the signals are not emitted.
> 
> I tried to add a QApplication::processEvents() call after connecting the
> signals, and even set up a timer to call it periodically, but the
> download does not start.
> 
> How to use QNetworkAccessManager outside of the main loop ?
> 

You can use QNetworkAccessManager outside the main loop using
processEvents(), like you described above. There is something wrong in
your code.

Girish



More information about the Qt-interest-old mailing list