views:

344

answers:

1

Hi All, I have several projects that are load together in QtCreator and they're not grouped under a unique project. I need to create dependencies between these modules and not only considering TARGETDEPS that checks only if the library is present in a directory.

The dependency I request, practically it must emulate the user action in qtcreator of checking in "Edit project settings" the dependency list ay the bottom of the page. So if a module depends from other module , qtcreator first qmake/make/etc.. the other one. How can I do?

thank you daniele

+1  A: 

I never try it myself (because I use Scons for big multi-projects application) but the QMake subdirs target may be what you're looking for:

http://doc.trolltech.com/4.5/qmake-variable-reference.html#subdirs

There is a fairly detailed explanation of how to use it here : http://stackoverflow.com/questions/1417776/how-to-use-qmakes-subdirs-template

esavard