[Qt-interest] Building three separate applications using one .pro file
Constantin Makshin
dinosaur-rus at users.sourceforge.net
Tue Apr 21 23:50:55 CEST 2009
My guess is that "PRI" means "PRoject Include". But no matter what it
means, .pri files aren't required by QMake, they just help you to better
structurize your project files and make them cleaner (like .h files used
by a .cpp one).
On Tue, 21 Apr 2009 16:44:41 +0400, Santhosh Y <santhosh at softjin.com>
wrote:
> Oliver.Knoll at comit.ch wrote:
>> Santhosh Y wrote on Tuesday, April 14, 2009 1:13 PM:
>>> ...
>>> Or if any alternative solutions are there, please suggest me.
>> - Have a single *.pro file per executable
>> - Optional: have a single *.pro file for each DLL
>> - Optional: have *.pri files which can be included in the *.pro files
>> (for example for sharing compiler settings etc.)
>> - Have a "root" *.pro file of template=subdirs, which iterates over all
>> necessary projects
>>
>> Also refer to the Qt build system, they do exactly that ;)
>>
>> Cheers, Oliver
>>
> Hi Oliver,
>
> I have seen .pri files inside /gui directory for build purpose.
> Please tell me, why the extension of the files is .pri for listing out
> source and header files.
> What it stands for!
>
> Santhosh.
--
Constantin "Dinosaur" Makshin
More information about the Qt-interest-old
mailing list