QTextStream and file.tar.gz
-
Hi
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.
Thanks.
-
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.