I'm pretty new in programming. I have a small project that I want to add a unit test to it. I add a new auto test project as new subprojet to my main project but I don't know how should I introduce and include my classes of another source subproject to unit test. I added include sentence of one of my classes but I got some error:
I added
INCLUDEPATH += ../TraceFileSource
include( ../TraceFileSource/TraceFileSource.pro )
to TraceFileTest.pro but it still dosen't work. I review this answer Qt creator: c++: undefined reference to Class::Function but it dosen't clear for me.Is there an easy way to do this?