QT下对资源的压缩解压缩,修改过,无需编译成库

上传者: zcj331 | 上传时间: 2023-03-02 08:27:42 | 文件大小: 287KB | 文件类型: ZIP
QT下对资源的压缩解压缩,这个是Quazip源码和zlib源码,用法如下: Quazip+zlib下载地址 点击这里 下面开始讲使用方法: 1:点击上面的连接,下载下来,解压到工程目录底下。(quazip和zlib两个文件夹) 2:在你心间的QT 工程右击添加现有文件,将这两个文件夹的内容添加上去。 3:调用头文件,如下: #include "zlib/zlib.h" #include "quazip/JlCompress.h" 4:使用接口: // 压缩文件夹 JlCompress::compressDir("/usr/local/123.zip", "/usr/local/abc"); // 解压缩文件夹 JlCompress::extractDir("/usr/local/123.zip", "/usr/local/abc");

文件下载

资源详情

[{"title":"( 61 个子文件 287KB ) QT下对资源的压缩解压缩,修改过,无需编译成库","children":[{"title":"zlib_quazip直接导入工程","children":[{"title":"quazip","children":[{"title":"quagzipfile.cpp <span style='color:#111;'> 4.38KB </span>","children":null,"spread":false},{"title":"quazip.h <span style='color:#111;'> 25.27KB </span>","children":null,"spread":false},{"title":"JlCompress.cpp <span style='color:#111;'> 15.80KB </span>","children":null,"spread":false},{"title":"quacrc32.h <span style='color:#111;'> 1.35KB </span>","children":null,"spread":false},{"title":"zlib.h <span style='color:#111;'> 79.47KB </span>","children":null,"spread":false},{"title":"zip.c <span style='color:#111;'> 70.05KB </span>","children":null,"spread":false},{"title":"quazipdir.cpp <span style='color:#111;'> 16.49KB </span>","children":null,"spread":false},{"title":"quazipfile.h <span style='color:#111;'> 20.00KB </span>","children":null,"spread":false},{"title":"quazipnewinfo.h <span style='color:#111;'> 8.38KB </span>","children":null,"spread":false},{"title":"gojobzip.h <span style='color:#111;'> 9.93KB </span>","children":null,"spread":false},{"title":"ioapi.h <span style='color:#111;'> 7.17KB </span>","children":null,"spread":false},{"title":"quazip_global.h <span style='color:#111;'> 1.72KB </span>","children":null,"spread":false},{"title":"quazipfileinfo.cpp <span style='color:#111;'> 6.46KB </span>","children":null,"spread":false},{"title":"quaadler32.cpp <span style='color:#111;'> 1.35KB </span>","children":null,"spread":false},{"title":"unzip.c <span style='color:#111;'> 71.34KB </span>","children":null,"spread":false},{"title":"quagzipfile.h <span style='color:#111;'> 3.70KB </span>","children":null,"spread":false},{"title":"zip.h <span style='color:#111;'> 16.43KB </span>","children":null,"spread":false},{"title":"quazipdir.h <span style='color:#111;'> 8.32KB </span>","children":null,"spread":false},{"title":"quaziodevice.cpp <span style='color:#111;'> 8.72KB </span>","children":null,"spread":false},{"title":"qioapi.cpp <span style='color:#111;'> 11.22KB </span>","children":null,"spread":false},{"title":"quazipfile.cpp <span style='color:#111;'> 14.36KB </span>","children":null,"spread":false},{"title":"JlCompress.h <span style='color:#111;'> 5.12KB </span>","children":null,"spread":false},{"title":"quazipfileinfo.h <span style='color:#111;'> 6.07KB </span>","children":null,"spread":false},{"title":"quaadler32.h <span style='color:#111;'> 1.42KB </span>","children":null,"spread":false},{"title":"unzip.h <span style='color:#111;'> 17.27KB </span>","children":null,"spread":false},{"title":"quaziodevice.h <span style='color:#111;'> 3.26KB </span>","children":null,"spread":false},{"title":"quacrc32.cpp <span style='color:#111;'> 1.30KB </span>","children":null,"spread":false},{"title":"zconf.h <span style='color:#111;'> 13.64KB </span>","children":null,"spread":false},{"title":"quachecksum32.h <span style='color:#111;'> 2.23KB </span>","children":null,"spread":false},{"title":"quazipnewinfo.cpp <span style='color:#111;'> 10.56KB </span>","children":null,"spread":false},{"title":"crypt.h <span style='color:#111;'> 4.83KB </span>","children":null,"spread":false},{"title":"quazip.cpp <span style='color:#111;'> 21.85KB </span>","children":null,"spread":false}],"spread":false},{"title":"zlib","children":[{"title":"adler32.c <span style='color:#111;'> 4.85KB </span>","children":null,"spread":false},{"title":"uncompr.c <span style='color:#111;'> 1.96KB </span>","children":null,"spread":false},{"title":"zlib.h <span style='color:#111;'> 85.83KB </span>","children":null,"spread":false},{"title":"deflate.h <span style='color:#111;'> 12.47KB </span>","children":null,"spread":false},{"title":"inflate.c <span style='color:#111;'> 52.26KB </span>","children":null,"spread":false},{"title":"trees.h <span style='color:#111;'> 8.27KB </span>","children":null,"spread":false},{"title":"trees.c <span style='color:#111;'> 43.22KB </span>","children":null,"spread":false},{"title":"inftrees.c <span style='color:#111;'> 12.72KB </span>","children":null,"spread":false},{"title":"infback.c <span style='color:#111;'> 22.18KB </span>","children":null,"spread":false},{"title":"gzread.c <span style='color:#111;'> 18.26KB </span>","children":null,"spread":false},{"title":"compress.c <span style='color:#111;'> 2.47KB </span>","children":null,"spread":false},{"title":"crc32.c <span style='color:#111;'> 12.87KB </span>","children":null,"spread":false},{"title":"inffixed.h <span style='color:#111;'> 6.18KB </span>","children":null,"spread":false},{"title":"inffast.h <span style='color:#111;'> 427B </span>","children":null,"spread":false},{"title":"gzclose.c <span style='color:#111;'> 678B </span>","children":null,"spread":false},{"title":"README <span style='color:#111;'> 5.06KB </span>","children":null,"spread":false},{"title":"inffast.c <span style='color:#111;'> 13.14KB </span>","children":null,"spread":false},{"title":"gzlib.c <span style='color:#111;'> 16.03KB </span>","children":null,"spread":false},{"title":"zutil.h <span style='color:#111;'> 6.61KB </span>","children":null,"spread":false},{"title":"CMakeLists.txt <span style='color:#111;'> 2.43KB </span>","children":null,"spread":false},{"title":"crc32.h <span style='color:#111;'> 29.85KB </span>","children":null,"spread":false},{"title":"zconf.h <span style='color:#111;'> 15.24KB </span>","children":null,"spread":false},{"title":"ChangeLog <span style='color:#111;'> 74.61KB </span>","children":null,"spread":false},{"title":"gzwrite.c <span style='color:#111;'> 15.83KB </span>","children":null,"spread":false},{"title":"inflate.h <span style='color:#111;'> 6.25KB </span>","children":null,"spread":false},{"title":"gzguts.h <span style='color:#111;'> 6.40KB </span>","children":null,"spread":false},{"title":"inftrees.h <span style='color:#111;'> 2.86KB </span>","children":null,"spread":false},{"title":"deflate.c <span style='color:#111;'> 69.80KB </span>","children":null,"spread":false},{"title":"zutil.c <span style='color:#111;'> 7.24KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明