O
O
Oleg Seledets2019-04-20 15:57:00
C++ / C#
Oleg Seledets, 2019-04-20 15:57:00

How can I zip a file through QT?

Hello, there is a task, you need to archive documents using QTCreator, and then get the size of the archive.
It is necessary to use compression methods for rar and zip: high-speed, normal, maximum, as well as self-extracting archive. (the files will be both .txt and .bmp).
I tried using qzipwriter, but there, as I understand it, there is no way to set compression methods.
Is there any library that can help with this? or ready-made examples?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Ronald McDonald, 2019-04-20
@oleja1ee7

using QTCreator

BUT?
On the topic - it is much easier to use the built-in archiver (we just pass the necessary keys to the zip or rar program), but this requires that the archiver be installed in the system.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question