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

Malte Witt malte.witt at sieb-meyer.de
Wed Jan 14 11:37:58 CET 2009


> ...and how (why) do you create a .pri file?

.pri is just an include file for .pro files. I guess the extension means 
"PRoject Include". You create it just like .pro files - no difference.
In your profile you can use the include()-statement to include any .pri.
This way you can out-source global settings and include them in different 
subprojects :-)

Regards,
Malte



More information about the Qt-interest-old mailing list