I want to store any data from QNetworkReply
-
Hi
I want to store any data from QNetworkReply in directory ( like c:/armin/myApp )
But i don't know which what member i should choose in QIODevice ?Are you looking for a general access to QNetworkReply to store the reply completely?
The important information from a QNetworkReply you can pick directly from its interface routines and store it through any stream possibility (e.g. std::ofstream, QTextStream, ...).There is no direct routine to store the network completely.
-
@Armin As you want to store ANY data you need http://doc.qt.io/qt-5/qdatastream.html to write binary data.