Here is a code snippet writing data to a file: QFile outfile(“file.txt”); if (!outfile.open(QIODevice::Append)) { exit(); } QTextStream out(&outfile); out.setCodec(“UTF-8″); for(int i=0;i<100000;i++) { out<<“somedata”; } outfile.close(); If you press the […]