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-qmldumpThe location depends on the platform. On Linux and other Unix platforms, the files are located in
~/.config/QtProjectand~/.local/share/data/QtProject/qtcreator.On Mac OS, the files are located in
~/.config/QtProjectand~/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\QtProjectand<drive>:\Users\<username>\AppData\Local\QtProject.On Windows XP, the files are located in
<drive>:\Documents and Settings\<username>\Application Data\QtProjectand<drive>:\Documents and Settings\<username>\Local Settings\Application Data\QtProject.
3 Comments
$CREATOR_INSTALL_DIR/share/QtProject/qtcreator and in %APPDATA%/QtProject/qtcreator: stackoverflow.com/a/13986917/2404492. The first fileset is created by sdktool and QtCreator copies it to the second one, appending manually added data.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.
1 Comment
\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.