qtzip
do souboru .pro pridat
QT += gui-private
#include <QCoreApplication> #include "QtGui/private/qzipwriter_p.h" #include <iostream> using namespace std; int main(int argc, char *argv[]) { // QCoreApplication a(argc, argv); QByteArray data = "nejaky text"; QZipWriter w ("pokus.zip"); w.addFile ("abc.txt", data); w.close(); cout << "O.K." << endl; // return a.exec(); }
qtzip.txt · Last modified: 2021/10/22 21:00 by 127.0.0.1