开发者

Qt + Zlib => error LNK2005: _deflate_copyright already defined in QtCored.lib(deflate.obj) zlibstat.lib

When I link my application I receive the following message:

error LNK2005: _deflate_copyright already defined in QtCored.lib(deflate.obj) zlibstat.lib

I'm not sure of the problem, but... I use QT and ZLib. Both are "static libraries". The problem is that the QTCore.lib contains ZLib too!

Project Qt: contains its own v开发者_JAVA技巧ersion on ZLib. Project GenericLib: use an external ZLib.lib (cannot be linked to Qt). Project main: use Qt + Generic lib.

As I say, I'm not sure that it is the problem. But, anyway, if someone has an idea to help me?

Thanks for your help.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜