I have a Qt based client / server application. The client application compresses the data using a call qCompress, and the server unpacks it using the method qUncompress.
Now I need to write a new client application in Java that communicates with the same server. For proper decompression, I need to make sure that I use the same compression as qCompress.
Web browsing, it seems Qt can use ZIP compression. I looked at classes related to java-zip. However, I am not sure if this will work. For example, a constructor ZipEntryrequires a name as a parameter. However, Qt does not require any names as a parameter.
I would appreciate it if you could confirm if Java zip classes are compatible with Qt compression / compression. If they are compatible, what will be the value of my parameter for the constructor ZipEntry? Regards.
Peter source
share