[Solved] how to code a .pro file to compile 2 applications with 2 different target folders
-
My project workspace is set up like the following:
@
mainfolder
main.cpp
app1.cpp
app1.h
app1.pro
app2folder
main.cpp
app2.cpp
app2.h
app2.pro
@
How can I code the app1.pro file so that when you run "make release" it automatically compiles app1 in the mainfolder and then compiles app2 in the app2folder? -
You could use the "subdirs template of qmake":http://doc.qt.nokia.com/4.7/qmake-variable-reference.html#subdirs
-
Take a look at "that tutorial":http://developer.qt.nokia.com/wiki/IncludingProFiles