Where does Qt Creator save its settings?

QtQt Creator

Qt Problem Overview


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?

Qt Solutions


Solution 1 - Qt

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.

Solution 2 - Qt

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

Solution 3 - Qt

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.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionlaurentView Question on Stackoverflow
Solution 1 - QtBillView Answer on Stackoverflow
Solution 2 - QtCyrionView Answer on Stackoverflow
Solution 3 - QtlaurentView Answer on Stackoverflow