LIBS += -L/some/search/path -lname
LIBS += -L/some/search/path -lname
To copy to clipboard, switch view to plain text mode
will do the right thing on whatever platform AFAICT. If you are explicitly naming a library file then you should use the actual name of the file:
LIBS += /some/search/path/libname.so // UNIX shared library
LIBS += /some/search/path/libname.a // UNIX static library
LIBS += /some/search/path/name.dll // windows dynamic library
LIBS += /some/search/path/name.lib // windows import or static library
LIBS += some Mac specific file naming ...
LIBS += /some/search/path/libname.so // UNIX shared library
LIBS += /some/search/path/libname.a // UNIX static library
LIBS += /some/search/path/name.dll // windows dynamic library
LIBS += /some/search/path/name.lib // windows import or static library
LIBS += some Mac specific file naming ...
To copy to clipboard, switch view to plain text mode
with appropriate selection by build environment.
Bookmarks