# Can't use zlib with Qt MinGW 5.9

• Has anyone had success in using zlib with MinGW-compiled Qt 5.9? I'm able to use it with Qt 5.6 where MinGW was 4.9.2, but with the 5.3.0 MinGW that comes with Qt 5.9 the application just crashes on the inflate method.

I'll work on making a reproducible test case, just throwing the question out there as I've spent many hours trying to get this to work already.

• Nah, I'm compiling zlib myself at all times, and compiling zlib with MinGW 5.3.0 is just not working - application crashes or doesn't decompress right when using `inflate()`