Looking simple compress/decompress code
-
wrote on 12 May 2011, 07:39 last edited by
I have some file and I need simple compress/decompress code. Is there any Qt solution ? There is one more thing I need then open file by some of well known archivers.
-
wrote on 12 May 2011, 07:48 last edited by
Look at quazip library. I think it should help you.
Also if you need compression for internal usages (for example storing big chunks of text data to reuse them later in your app) you can use qCompress function. -
wrote on 12 May 2011, 08:29 last edited by
QByteArray has compress and decompress methods. I think they use libz, but am not sure how good the results are compared to other compression tools or whether normal compression tools can be used to extract the data again.
-
wrote on 12 May 2011, 08:33 last edited by
We've been over this before. It is even a "FAQ":http://developer.qt.nokia.com/faq/answer/how_to_compress_data_with_qt entry. Please search the resources before asking again.
4/4