I'm not sure how to do this correctly...

I've written a set of libs and compiled them with the Makefile produced from a .pro-file with the following settings:

Qt Code:
  1. TEMPLATE = lib
  2. CONFIG += qt staticlib
  3. ...
  4. ...
To copy to clipboard, switch view to plain text mode 

I've then written a program that wishes to make use of the static libs. That .pro-file looks something like this:

Qt Code:
  1. TEMPLATE = app
  2. CONFIG += debug warn_on console
  3. DEPENDPATH += .
  4. INCLUDEPATH += . $(MYLIB)/headers
  5.  
  6. SOURCES += main.cpp
  7. HEADERS += testclass.h
  8.  
  9. LIBS += -L$(MYLIB)/bin -lmylib
To copy to clipboard, switch view to plain text mode 

Compilation of the test program works fine, but i get symbol referencing errors in the linking process. Have i missed some painfully obvious step here??

thanks in advance!