PDA

View Full Version : how to use static lib on linux



langziyang
30th October 2012, 06:57
i compiled static taglib,i got libtag.a file.i copy this file to project dir.and i added some code in .pro



TAGLIBDIR = /usr/local
INCLUDEPATH += $$(TAGLIBDIR)/include
LIBS += libtag.a


whe i run my pro.the tell me:


error: libtag.a: No such file or directory


why?and how?