What is the purpose of the *.pro file?

16,349

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.

Share:
16,349
Trevor Boyd Smith
Author by

Trevor Boyd Smith

http://www.linkedin.com/in/trevorboydsmith

Updated on July 28, 2022

Comments

  • Trevor Boyd Smith
    Trevor Boyd Smith almost 2 years

    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?