Hi all,
I have a problem in linking the .o object library in my QT project.
So this is what I wrote in the .pro file
LIBS += $$_PRO_FILE_PWD_/libs/triangle.o
INCLUDEPATH += $$_PRO_FILE_PWD_/libs
DEPENDPATH += $$_PRO_FILE_PWD_/libs
In the $$_PRO_FILE_PWD_/libs directory has two files: “triangle.o”, “triangle.h” and “triangle.c” (triangle.o is compiled in my machine so it should be compatible with my machine).
But the QT Creator said “symbols not found”, which means the definition of the functions declared in “trianle.h” cannot be found.
Does anyone know why? Thanks a lot.
↧