Closed xlazom00 closed 1 year ago
Well, apparently there’s nothing I can do about it since Qt 6 seems to consider Zlib a private implementation detail not to be used externally.
@stachenov private from Qt perspective mean that you can use that but API isn't stable and they don't guarantee anything. But I think quazip can still support and use that. private is common qt feature
Technically, if the library is still there in one form or the other, CMake could find it, in worst case with a custom Find.cmake script. However, if upstream stays as is, the more pragmatic decision is to simply disable this flag for Qt6. Especially with tools like conan, installing your own zlib is not a big deal.
Can't build with QUAZIP_USE_QT_ZLIB on qt6 on windows
cmake log
They moved cmake to Qt6ZlibPrivate
And I also raised this bug https://bugreports.qt.io/browse/QTBUG-104475