.pro files and subdirs
I want a project structure as follows -
Where each of the sub projects contains a .pro file that generates an executable and the MainProject also has .pro file that produces an executable.
I am aware of the subdirs templates but his does not allow the MainProject to produce an exe.
Is there a way of achieving this?
It may work like this:
TEMPLATE = subdirs
CONFIG += ordered
SUBDIRS += SubProject1 SubProject2 SubProject3 MainProject
in MainProject.pro you say TEMPLATE = app
and he will be executable (http://qt-project.org/doc/qt-4.8/qmake-project-files.html)
I'll give it a go