4.Now you need to copy these files to Tools\mingw directory in your Qt installation.
For example, C:\Qt\Tools\mingw1120_64. _Here mingw1120_64 is the version used with Qt 6.4.2 it maybe different for you if you're
using different version._
Notes:
- If you're using `QUAZIP_USE_QT_ZLIB` disable it, and re-run cmake. (My advice is that, delete everything generated during build and re-launch.)
- Direct link to zlib archive: https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-zlib-1.2.13-3-any.pkg.tar.zst
_Originally posted by @fxdeniz in https://github.com/stachenov/quazip/issues/166#issuecomment-1459071552_
mingw-w64-x86_64-zlib
from MSYS2 repo. Here: https://packages.msys2.org/package/mingw-w64-x86_64-zlib4.Now you need to copy these files to
Tools\mingw
directory in your Qt installation. For example,C:\Qt\Tools\mingw1120_64
. _Heremingw1120_64
is the version used withQt 6.4.2
it maybe different for you if you're using different version._/mingw64/include/zconf.h ----> C:\Qt\Tools\mingw1120_64\include /mingw64/include/zlib.h ----> C:\Qt\Tools\mingw1120_64\include
/mingw64/lib/libz.a ----> C:\Qt\Tools\mingw1120_64\lib /mingw64/lib/libz.dll.a ----> C:\Qt\Tools\mingw1120_64\lib