Qt Creator 将其设置保存在哪里?

发布于 2024-11-24 17:51:29 字数 73 浏览 0 评论 0原文

我想找到 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

时光与爱终年不遇 2024-12-01 17:51:29

请参阅 QtCreator 快速浏览

Qt Creator 创建以下文件和目录:

<前><代码>QtCreator.db
QtCreator.ini
qt版本.xml
工具链.xml
qt创建者
qtc 调试助手
qtc-qmldump

位置取决于平台。在 Linux 和其他 Unix 上
平台,文件位于 ~/.config/QtProject
~/.local/share/data/QtProject/qtcreator

在 Mac OS 上,这些文件位于 ~/.config/QtProject
~/Library/Application Support/QtProject/Qt Creator

一般来说,在 Windows 上,这些文件位于 %APPDATA%\QtProject%LOCALAPPDATA%\QtProject 中。是的,您可以在资源管理器和各种命令行 shell 中使用这些路径。环境变量(在 % 符号之间)会自动扩展。如果您需要具体路径,请参见下文。

在 Windows 10、8、Vista 和 7 上,这些文件位于
:\Users\<用户名>\AppData\Roaming\QtProject
<驱动器>:\Users\<用户名>\AppData\Local\QtProject

在 Windows XP 上,这些文件位于 :\Documents and Settings\\Application Data\QtProject:\Documents 和Settings\<用户名>\Local Settings\Application Data\QtProject

See QtCreator Quick Tour.

Qt Creator creates the following files and directories:

QtCreator.db
QtCreator.ini
qtversion.xml
toolChains.xml
qtcreator
qtc-debugging-helper
qtc-qmldump

The location depends on the platform. On Linux and other Unix
platforms, the files are located in ~/.config/QtProject and
~/.local/share/data/QtProject/qtcreator.

On Mac OS, the files are located in ~/.config/QtProject and
~/Library/Application Support/QtProject/Qt Creator.

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.

On Windows 10, 8, Vista and 7, the files are located in
<drive>:\Users\<username>\AppData\Roaming\QtProject and
<drive>:\Users\<username>\AppData\Local\QtProject.

On Windows XP, the files are located in <drive>:\Documents and Settings\<username>\Application Data\QtProject and <drive>:\Documents and Settings\<username>\Local Settings\Application Data\QtProject.

冰雪之触 2024-12-01 17:51:29

从版本 2.7 开始,在 Windows 7 和 8 上它是 %APPDATA%/Roaming/QtProject

Starting from version 2.7 it's %APPDATA%/Roaming/QtProject on Windows 7 and 8.

天邊彩虹 2024-12-01 17:51:29

为了完成 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文