Qt忽略Makefile,.pro.user文件 [英] Qt ignore makefiles, .pro.user files

查看:99
本文介绍了Qt忽略Makefile,.pro.user文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开发基于Qt的项目,并使用Mercurial存储库(bitbucket.org服务)进行版本控制.

I develop Qt-based project and use Mercurial repository (bitbucket.org service) for version control.

每次我在存储库中提交时,都会有一些文件仅在标头中包含日期-时间更改.因此,每次提交时,我都应该检查每个文件是否有重大更改,而不仅仅是时间戳.

Each time I do commit in repository, there are some files which contains only date-time changes in headers. So each commit I should check each file that it has major changes, not only time stamp.

我可以添加makefile文件(Makefile,Makefile.Debug,Makefile.Release)和.pro.user文件扩展名.忽略列表?我的意思是可以通过从Qt Creator中启动qmake工具来重新生成它们吗?

Could I add makefiles (Makefile, Makefile.Debug, Makefile.Release) and .pro.user file ext. to ignore list? I mean is it possible to regenerate them via launching qmake tool from Qt Creator?

推荐答案

通过运行qmake(从命令行或从Qt Creator中)生成Makefile.

Makefiles are generated by running qmake (either from command line or from Qt Creator).

.pro.user文件是由Qt Creator在创建或打开项目时创建的,其中包含诸如给定项目的编辑器配置之类的内容.

.pro.user file is created by Qt Creator when a project is created or opened and contains stuff like editor configuration for a given project.

所有这些文件都不应添加到VSC中,因此您绝对应该忽略它们.

All those files shouldn't be added to VSC, so you should definitely ignore them.

这篇关于Qt忽略Makefile,.pro.user文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆