Talk:How to link to a dll

From Qt Wiki
Jump to navigation Jump to search

From .pro file, it is clear that the post is for statically-loaded DLL. Hence, there are some notices in the caveat.

Copy all binary files from dll target release/debug directory to the same directory as dll caller's executable resides. These include .lib, .exp files.

Copy dll header file to the same directory as dll caller's source code resides.

Then build and it will work.

Please let me know freely if divergence exists.