Qt Creator 项目在构建之间删除 Makefile
我似乎在我的 QtCreator 项目中提升了一个设置。我的项目构建文件夹中有一个修改过的 makefile,我正在使用该 makefile 链接到一些外部库,并指向其他包含文件等。看起来在构建之间,或者在清理期间,或者其他什么情况下,Qt 正在删除该文件,我必须返回并重新添加包含内容,以便我手动添加。我做错了什么?我怎样才能阻止它这样做呢?
I somehow seem to have jacked up a setting in my QtCreator project. I have a modified makefile in my projects build folder, and I am using that makefile to link in some external libraries, and point to other include files, etc. It seems like in between builds, or during cleans, or something, Qt Is deleting that file, and I have to go back in and re-add the includes and such that I added manually. What am I doing wrong? How can I keep it from doing that?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Qt 主要使用项目文件 (*.pro),它用于生成 Makefile 或 Visual-Studio 项目文件。在项目文件夹中查找扩展名为 .pro 的文件。您要么必须了解如何处理项目文件,要么找到通过项目选项卡在 QtCreator 中输入此信息的方法。
Qt mostly works with project files (*.pro) which it uses to generate Makefiles or Visual-Studio project files. Look for a file with the extension .pro in your project folder. You either have to lean how to handle project files or find ways to enter this information in QtCreator via the project tab.