PDA

View Full Version : What is .pri files ?



burkav84
21st April 2007, 21:12
Hello. What is .pri files ? It's look like a common .pro file, but is there some differences ? In Qt documentation I didn't find any description - can somebody give me a link ?

wysota
21st April 2007, 21:15
It's a file that is included into a .pro file. The name scheme is just a convention, it makes sure qmake is not confused about the file and doesn't treat it as a .pro file by accident.

burkav84
22nd April 2007, 12:05
Is there some description of .pri in Qt documentation ?

wysota
22nd April 2007, 13:26
As I said - it's just a naming convention. Everything that applies to .pro files, applies to .pri files as well. Read about "include()" function in qmake manual.

burkav84
22nd April 2007, 16:51
Thanks a lot :)