View Full Version : making new project qt4

4th October 2006, 10: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:

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?

18th June 2009, 14: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