View Full Version : how to make tarrball from qt ?
sanjuchopracool
25th November 2011, 03:57
I use linux , and most of the application comes in tarball like package.tar.gz,how to make these compressed package from qt ??
ChrisW67
25th November 2011, 05:57
You could use zlib and libtar (or something similar) to handle the data in-program or, because you are on Linux, use QProcess to execute the standard tar/gzip utilities. The TAR file format (http://en.wikipedia.org/wiki/Tar_%28file_format%29) is quite simple, so you could write your own TAR handler in conjunction with zlib (or the qUncompress() function with some fiddling). Other compression options will require other libraries.
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.