阅读背景:

QMake:自动编译目录中的所有文件

来源:互联网 

For my Qt project, I use a .pro file that includes a separate .pri file for the various header, source, form and resource files. However, every time I add a new file I need to manually add it to the .pri file. This is tedious and error-prone. Is there a way to "magically" add all files from a directory, either directly in the .pri file or by telling qmake to run a separate script beforehand?For my Qt project, I use a .pro file that inclu




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: