Use LIBS += etc.
If you are using Qt Creator, right click on your project and click add library.. that will guide you with your library. Don;t make changes to makefile if you are using qmake.
Makefile is generated and will overwrite all changes you have made to it.
Bookmarks