私はこの種の経験がなくて申し訳ありませんが、Win 10 で Qt 5.6 で Quazip を使用する方法を見つけるためにインターネットをしばらく検索してきました。 Qt Creator で使用します。
これまでのところ、Quazip をダウンロードして、.pro ファイルに pri ファイルを含めてみました。
include(quazip-0.7.2/quazip.pri)
次に、次のすべてのインスタンスを置き換えました。
#include "zlib.h"
と
#include <zlib.h>
に
#include <QtZlib/zlib.h>
これを行った後、いくつかのエラーとともに多くのコンパイラ警告が表示されます。
私のエラーは次のとおりです。
QuaZIODevice::staticMetaObject': definition of dllimport static data member not allowed
QuaGzipFile::staticMetaObject': definition of dllimport static data member not allowed
QuaZipFile::staticMetaObject': definition of dllimport static data member not allowed
15 件の警告すべてに次の内容が含まれています。
inconsistent dll linkage
この件に関して何かお役に立てば幸いです。