Qt Creator 将其设置保存在哪里?
我想找到 Qt Creator 保存所有设置(文本编辑器首选项、语法突出显示等)的文件夹,以便我可以备份它们。有人知道他们在哪里吗?
I would like to locate the folder where Qt Creator saves all its settings (text editor preferences, syntax highlighting, etc.) so that I can back them up. Does anybody know where they are?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
请参阅 QtCreator 快速浏览。
一般来说,在 Windows 上,这些文件位于
%APPDATA%\QtProject
和%LOCALAPPDATA%\QtProject
中。是的,您可以在资源管理器和各种命令行 shell 中使用这些路径。环境变量(在%
符号之间)会自动扩展。如果您需要具体路径,请参见下文。See QtCreator Quick Tour.
On Windows in general, the files are located in
%APPDATA%\QtProject
and%LOCALAPPDATA%\QtProject
. Yes, you can use these paths in Explorer and in various command line shells. The environment variables (between the%
-signs) are expanded automatically. If you need the concrete paths, see below.从版本 2.7 开始,在 Windows 7 和 8 上它是
%APPDATA%/Roaming/QtProject
。Starting from version 2.7 it's
%APPDATA%/Roaming/QtProject
on Windows 7 and 8.为了完成 Bill 的回答,Qt Creator 还可能在
\QtCreator\bin\
中创建文件 - 这是默认情况下保存所有项目的位置。To complete Bill's answer, Qt Creator might also create files in
\QtCreator\bin\
- this is where it's going to save all your projects by default.