Hi,
the problenm is the 7z command not QProcess
try with
Qt Code:
list << "a" << "-t7z" << "-mx9" << "/home/user/Desktop/Desktop.7z" << "/home/user/Desktop/file1.pdf" << "/home/user/Desktop/file2.doc";To copy to clipboard, switch view to plain text mode
note "-mx9" instead of "mx9"
Bookmarks