Another solution, in order to use Qt5-based and maintained code, is to port to KCompressionDevice from the KArchive framework http://inqlude.org/libraries/karchive.html
This is LGPL too.