PDA

View Full Version : making new project qt4



!Ci
4th October 2006, 09:29
Sometimes I'm making new project - new .pro files using:

qmake-qt4 -project.
When I put all source files in a main directory everything is ok. Now when I moved it to src subdirectory I've got problem with creating project. It creates only one .pro file in main directory. I know I can put there:

SUBDIRDS = src
and make one more .pro file in src with all source files, but can I do it automatically using qmake-qt4 or other tool.
KDevelop makes everything itself, but I think it's implemented in IDE. Am I right or is it there another possibility to do that?

arvind_jki
18th June 2009, 13:32
You don't need to bother about the source directory. QT recursively search for source file available in all the directories recursively, from directory you are.

Just Run:
#qmake -project
#qmake
#make