PDA

View Full Version : PRI and PRO and multiple applications



qlands
23rd December 2011, 21:04
Hi,

I am programming a series of command line small applications that share some common code.

How can I generate a .pro (or .pri) so the qmake makes makeFiles for all of them and then builds all the applications?

Thanks,
Carlos.

Lykurg
24th December 2011, 08:17
I am programming a series of command line small applications that share some common code.

Then create a library for that which you bind in your other applications.


How can I generate a .pro (or .pri) so the qmake makes makeFiles for all of them and then builds all the applications?See the SUBDIRS variable or include() in the qmake documentation.