-
Notifications
You must be signed in to change notification settings - Fork 233
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Isolating raw ZLib API? #107
Comments
I think it's quite easy to get rid of But the dependency itself would still be there. QuaZip is nothing more than a convenience wrapper around Minizip, and Minizip's API is exposed everywhere. It wasn't designed as a ZIP library with Minizip as an implementation detail, but rather than as an extension of Minizip. It was probably a design mistake, but now it can't be fixed until at least QuaZip 2.0. And that would require some time which I'm afraid I don't have. And because Minizip itself uses zlib directly, the dependency is unavoidable. So the best I can do is to get rid of unnecessary |
So, just in theory, if someone uses only Qt API, can he drop minizip and zlib headers? |
It should be possible to get rid of those. I think Minizip API is only exposed through error codes, which are just |
Hello!
Is raw ZLib API strictly necessary for using QuaZip? Can it be isolated somehow, to have clean Qt API?
It's possible though that I'm using non-public headers, as some headers like
quagzipfile.h
,quaziodevice.h
include<zlib.h>
directly. The other peculiarity is that package installed by CMake requires ZLib as its dependency unconditionally, even if QuaZip was compiled as shared lib.Thanks
The text was updated successfully, but these errors were encountered: