[SOLVED] How can i resolve LNK:2019 error for external library
Im using external header and cpp files.
headers' directory is ../../../include/foo1/foo2
sources' directory is ../../../src/foo1/foo2
so i added to pro file
INCLUDEPATH += ../../../include/foo1/foo2
DEPENDPATH += ../../../src/foo1/foo2
But im getting LNK:201 unresolved symbol error. How can i fix it.
You need to link your application to the library
How can i do this?
if in pro file which keyword do i have to use? LIBS += ??
@LIBS += -lyour_library_name -Lpath_to_your_library@