View Full Version : multiple project problem( subdir)

28th January 2016, 12:03
my project free view like following

Audio and BaseObj are both static lib

2 problems:

1 mainwindow class

Audioeffect is in audio project and will use BaseObj
TcppktTask is in BaseObj
if I delete taskpkttask object, compiler will link error about Audioeffect
If audioeffect and tcppkttask are both exist compiler will success
it looks like when only use audio lib ,not auto link BaseObj
can solve this problem?

2 mainapp.pro

if last two line
LIBS+=-Lxxxxx -lSoundTouch

remove to front
Unix!=Macclesfield:LIBS+=............ -lBaseObj

Compiler will link error about asound and soundtouch