开发者

Reference the dll file from the qt project

How do i reference the dll file from the qt project. can someone give me开发者_开发问答 the sample .pro file?

Thx.


You should use the .a (if you are using MinGW) that comes with your DLL and add a line like this one your .pro file:

LIBS += "PathToLib/libcryptopp.a"

Please refer to Qt documentation, it's pretty complete: http://doc.trolltech.com/4.6/qmake-variable-reference.html#libs

You could also load dynamically the DLL using QLibrary

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜