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.7k times
4
ymoreau
- 3,113
- 1
- 18
- 50
Trevor Boyd Smith
- 16,711
- 29
- 116
- 163
-
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
8
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
- 144,748
- 64
- 275
- 293