[Interest] Debugging tip for QNetworkReply

Markus madmax1701 at gmail.com
Mon May 5 18:55:01 CEST 2014

Am 02.05.2014 19:45, schrieb Jason Kretzer:
> QFile file(filename);
>      file.open(QIODevice::WriteOnly);
>      file.write(reply->readAll());
>      file.close();

First check if the file is open to write, then write the socket data 
into a QByteArray, check the size of the QByteArray and then write it to 
the file.


More information about the Interest mailing list