I just started using Qt and noticed that in each example code folder there is a .pro
file (and there is also a makefile created too... why?). What is the purpose of the .pro
file?
Asked
Active
Viewed 1.9k times
5

ymoreau
- 3,402
- 1
- 22
- 60

Trevor Boyd Smith
- 18,164
- 32
- 127
- 177
-
Read the answer to your other question, where we already explained this. http://stackoverflow.com/questions/1368534/qt-question-why-does-qt-use-its-own-make-tool-qmake – Thomi Sep 03 '09 at 07:47
1 Answers
9
It's a multiplatform project file which qmake
turns into platform-specific makefiles. The main reason for its existence is easier configuration and compilation of multiplatform projects. Compare e.g. to autotools-generated configure
scripts and makefiles commonly seen in unixland.

laalto
- 150,114
- 66
- 286
- 303