[[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 23:00 by 88.103.111.44
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki