header file of lib not finded in the application
-
Hello ,
I try to create library and use it in an application.
I create a dynamique lib with qtCreator call 'testSo' and create a new project 'testLib '.In 'testLib.pro' file i add :
INCLUDEPATH += /home/bruno/Projets/build-testSo-Desktop-Release
LIBS += -L/home/bruno/Projets/build-testSo-Desktop-Release -ltestso // i try also with libtestSO , libtestso, testsobut when i try to do #include "testso.h" in testlib.h qtCreator doesn't find this file.
-
Hello ,
I try to create library and use it in an application.
I create a dynamique lib with qtCreator call 'testSo' and create a new project 'testLib '.In 'testLib.pro' file i add :
INCLUDEPATH += /home/bruno/Projets/build-testSo-Desktop-Release
LIBS += -L/home/bruno/Projets/build-testSo-Desktop-Release -ltestso // i try also with libtestSO , libtestso, testsobut when i try to do #include "testso.h" in testlib.h qtCreator doesn't find this file.
@Brashen said in header file of lib not finded in the application:
INCLUDEPATH += /home/bruno/Projets/build-testSo-Desktop-Release
Why do you set build folder as include path?
Is the header file located in this folder?