Talk:How to link to a dll

From Qt Wiki
Revision as of 14:41, 24 January 2020 by FirMoon (talk | contribs) (Missing steps in the procedure.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.