开发者

Does the qmake includes pri files automatically in the pro file

开发者 https://www.devze.com 2023-04-05 03:08 出处:网络
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 include

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

精彩评论

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

关注公众号