I can't figure out how to create an archieve of several files using QtIOCompressor (Qt solution). It is quite clear how to store bytearray, and samples also show how to extract the files from the archieve.

But it is unclear how to store files in the archieve.

Please mention here if there is another way of creating archieves in Qt. The only thing I found is QtIOCompressor, and for extracting files it does what I need.

Any help/hints will be greatly appreciated. Thanks.