I have DLL, which has got class I need to link it with EXE, where to add lib file?
I have DLL, which has got class I need to link it with EXE, where to add lib file?
Put your DLL in the same directory as your executable.
Huh? If I put .lib file to the same directory as the executable, it doesn't do anything. I must compile .lib file with executable...but I must reference on this file, or not?
You need to add all paths and libraries your executable references in your project file, just like any other library.
You need to configure your .pro file. For example if you have a library you want to use called MyLibrary, then edit your project as follows.
Qt Code:
LIBS += -L<directory_with_library> -lMyLibraryTo copy to clipboard, switch view to plain text mode
Q7Goodies - The sweetest way to add Windows 7 features to your Qt application
Bookmarks