How to Unzip a zip file with qt c++?
Unsolved
General and Desktop
-
How to Unzip the folder in Qt? and also I want to know after extracting the total folder.
-
How to Unzip the folder in Qt? and also I want to know after extracting the total folder.
@Ramkumar-Mohan Simple search gives you: https://forum.qt.io/topic/74306/how-to-manage-zip-file
-
This can be easily done using QMicroz.
QMicroz::extract("path_to_zip_file");
or even:
QMicroz::extract("path_to_zip_file", "output_folder_path");
If you need to extract the archive to a memory buffer:
BufFileList buf_data; QMicroz qmz("zip_file"); if (qmz) buf_data= qmz.extract_to_ram();