如题,我想读取一个zip压缩文件里面的东西,或者把他解压出来就行了,Qt用什么库???我是windows平台不要给我一些linux里面才有的库。。。。
------解决方案--------------------
只要是C++写的就可以 你到网上找找看
------解决方案--------------------
你不号称在Windows平台下吗?
------解决方案--------------------
谢谢分享,有用。
------解决方案--------------------
学习下~~
------解决方案--------------------
单纯的zip还是rar还是tar.gz?
貌似这几个分别有不同的解决方案
QByteArray qUncompress ( const QByteArray & data )
Uncompresses the data byte array and returns a new byte array with the uncompressed data.
Returns an empty QByteArray if the input data was corrupt.
This function will uncompress data compressed with qCompress() from this and any earlier Qt version, back to Qt 3.1 when this feature was added.
Note: If you want to use this function to uncompress external data that was compressed using zlib, you first need to prepend a four byte header to the byte array containing the data. The header must contain the expected length (in bytes) of the uncompressed data, expressed as an unsigned, big-endian, 32-bit integer.
See also qCompress().
------解决方案--------------------
楼主在用Qt作symbian开发?