sorting qmake file

i need to organise my qmake .
i need all the files in other folder.
so i had to add " ../myfolder/myapp/main.cpp" for every file on that folder in the qmake.
i got mess.
i tried to just add the folder by SUBDIRS. but at compilation it could not find the depedencies .