开发者

Does the qmake includes pri files automatically in the pro file

Assume the following directory structure

project/project.pro
project/project.pri

In this case even if the project.pro file does not have a statement like (include project.pri). Does it gets included automatically by qm开发者_运维问答ake.

In the qtcreator sources plugin directory

qt-creator/src/plugins/coreplugin

There is a coreplugin.pri file which is not included in the coreplugin.pro file


I'm fairly confident that it does not get included automatically, and I did a quick test with a .pro and a .pri file that had message calls in them to confirm this.

With regards to the files you're seeing in creator, it's not uncommon to have a .pri file that is designed for other .pro files to include so that you can use the project.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜