To use sample.lib in the directory 3rdParty/lib All you have to do is add the following line to your .pro file:
Qt Code:
  1. LIBS += -L./3rdParty/lib -lsample
To copy to clipboard, switch view to plain text mode 
You could run into problems if the library links to another version of the MSVC runtime libraries than you are using. The compiler will warn you about that, though .