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?
3 Answers
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
.

- 95,931
- 16
- 151
- 313

- 11,595
- 6
- 44
- 52
-
2One additional note (years later): if QT creator is running really really slowly (read: 100% cpu) this could resolve that. I had this problem with a centos VM, and deleting these files fixed it. – David D Sep 07 '16 at 20:57
-
Should we delete those two folders to make Qt Creator settings reset? – Franky Feb 28 '17 at 17:14
-
Another note: there are two copies of XML files in `$CREATOR_INSTALL_DIR/share/QtProject/qtcreator` and in `%APPDATA%/QtProject/qtcreator`: https://stackoverflow.com/a/13986917/2404492. The first fileset is created by `sdktool` and QtCreator copies it to the second one, appending manually added data. – Alexandr Zarubkin Jul 26 '19 at 10:49
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.

- 88,262
- 77
- 290
- 428
-
7`\QtCreator\bin\ ` is not a valid path on any major OS. You're using forward slashes, so I assume you're on Windows. Is this relative to the home directory (`%HOMEPATH%\QtCreator\bin\ `) or to the system drive (`%SYSTEMDRIVE%\QtCreator\bin\ `) or to the Qt installation directory ? Please consider completing your answer. – ssc Jun 14 '15 at 08:25