[Qt-interest] What's the difference between a .pro and a .pri file?

Tony Rietwyk tony.rietwyk at rightsoft.com.au
Wed Jan 14 11:45:20 CET 2009


Sam wrote:

> ...and how (why) do you create a .pri file?
> 
> Just realised I've never understood this, and can't any information
> about .pri files on the web.
> 
> Sam Dutton

Hi Sam, 

AFAIK a .pri file is just a .pro file that is intended to be included
directly, or indirectly in a .pro file. In my case, this basically means
each source folder has a .pri file matching its contents. Each project then
includes the relevent .pri files. 

Regards, 

Tony Rietwyk




More information about the Qt-interest-old mailing list