qmake Code:
  1. LIBS += -Lpath/to/library -lnameoflibrary
To copy to clipboard, switch view to plain text mode