Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QTextStream and file.tar.gz
zerg2011 last edited by
I have compressed file : file,tar.gz ( file.tar.Z as a variant )
Is there any solution in Qt that allows to read file in such formats and get uncompressed content without utils like tar and gzip .
I try to use QTextStream , but I don't know what codec should be used.
andre last edited by
You cannot use QTextStream directly. Instead, take a look at the "FAQ":http://qt-project.org/faq/answer/how_to_compress_data_with_qt here. There are also already quite a number of topics on the forum on using compression and decompression and/or archiving.