0
我靜態建立quazip庫如下面的文章中提到:linking QuaZip with Qt 4.8.0 into project的Qt:建築quazip/zlib庫錯誤
我得到這些錯誤,當我生成項目:
/QtSDK/QtSources/4.8.0/src/3rdparty/zlib/zconf.h:373:6: error: "_LARGEFILE64_SOURCE" is not defined
In file included from ../../../quazip-0.4.4/quazip/zip.h:56,
from ../../../quazip-0.4.4/quazip/quazip.h:31,
from ../../../quazip-0.4.4/quazip/quazipfile.h:30,
from ../../../quazip-0.4.4/quazip/quazipfile.cpp:24:
/QtSDK/QtSources/4.8.0/src/3rdparty/zlib/zlib.h:1583:32: error: "_FILE_OFFSET_BITS" is not defined
cc1plus: warnings being treated as errors
這些是已知的zlib庫中的錯誤?我正在使用Qt 4.8.0中的zlib庫