Do you have also *.lib (or lib*.a if you use MinGW) file with the same name as this *.dll file?
If yes then you have to link to this .lib (.a) and then just put the .dll in your exec dir.
To link against some library you have to do something like this in your .pro file:
INCLUDEPATH += path/to/library/includes
LIBS += -Lpath/to/lib/or/a/file -lnameofthelibrary
INCLUDEPATH += path/to/library/includes
LIBS += -Lpath/to/lib/or/a/file -lnameofthelibrary
To copy to clipboard, switch view to plain text mode
notice -L for the path to library dir and -l to the librtary itself.
next thing is that your dll contains letter "d" at the end of the name (before .dll) and it usually means that it is compiled in debug mode, so use it in debug mode of your application, but try to compile also the release version to link to the release version of your application. then you can do something like this (in .pro file):
CONFIG(debug, debug|release):LIBS += -lnamewithd
CONFIG(release, debug|release):LIBS += -lonlyname
CONFIG(debug, debug|release):LIBS += -lnamewithd
CONFIG(release, debug|release):LIBS += -lonlyname
To copy to clipboard, switch view to plain text mode
Bookmarks