Qt: *.pro vs *.pri

后端 未结 3 940
猫巷女王i
猫巷女王i 2020-12-02 18:09

What is the difference between *.pro and *.pri configuration files for qmake?

What should go into a *.pro file and what should go into a *

3条回答
  •  我在风中等你
    2020-12-02 18:46

    The format of the .pri files is exactly the same as the format of the .pro files. The main difference is one of intent; a .pro is what most people would expect to run qmake on directly, while a .pri is to be included by a .pro. When you instruct qmake to include another file, it just processes the commands in that file as if it were in the current file.

    For Reference: *.pro vs *.pri

提交回复
热议问题