zip and unzip .txt files

i want to know how zip and unzip functionalities,i'm having five text files,when the user clicks on a button thse five textfiles has to be zipped,when the user clicks on another button,these files has to be unzip.

Re: zip and unzip .txt files

----------------------------------------------------------feel free to press the like button on the right side to thank the user that helped you.please mark posts as solved if you found a solution.@SimonHain on twitter

Re: zip and unzip .txt files

----------------------------------------------------------feel free to press the like button on the right side to thank the user that helped you.please mark posts as solved if you found a solution.@SimonHain on twitter

Re: zip and unzip .txt files

i didn't check the APIs of the zip libraries, but usually you put some QBytes in a method and get some QBytes out (which represent the zipped content).Create a file with the same name and the zip extension and write the QBytes in it.

----------------------------------------------------------feel free to press the like button on the right side to thank the user that helped you.please mark posts as solved if you found a solution.@SimonHain on twitter