Hi all, So I've been doing some work with PlasMate's publisher widget, and was wondering what is the correct way to do a zip (afaik plasmoid packages are basically zipped archives right?). Right now I'm basically calling a 'zip -r', my code looks like this:
QStringList argv("zip"); argv.append("-r"); argv.append(targetFile.path()); argv.append("."); KProcess p; p.setProgram(argv); p.setWorkingDirectory(toExport.path()); p.execute(); Is this an acceptable approach? In particular does this have portability issues and such? Thanks :) -- ---- Jason "moofang" Lim Yuen Hoe http://yuenhoe.co.cc/ _______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel