Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where does QtCreator store data about Kits?

Tags:

qt-creator

For a particular project, QtCreator stores information about the build configurations for each kit that project uses in its *.creator.user file. Some kits are automatically detected; kits can also be manually defined by going to Options-->Build & Run-->Kits and selecting Add. However, I can't figure out where QtCreator actually stores information about available kits. Deleting all *.creator.user files that make use of a particular kit does not remove the kit from the list of kits, and I can't find the names of any custom kits I've defined anywhere in the Qt folder on my computer (I'm using Qt5 RC2, so I'm looking in Qt5/QtCommercial5.0.0-rc2/Tools/QtCreator/share and subdirectories thereof). Any suggestions?

like image 425
Kyle Strand Avatar asked Dec 20 '12 23:12

Kyle Strand


1 Answers

The SDK stores a set of files in $CREATOR_INSTALL_DIR/share/QtProject/qtcreator. These are used by everybody using this instance of creator.

The user-specific files are in your home directory in ~/.config/QtProject/qtcreator (or %APPDATA%/QtProject/qtcreator on windows, don't know about Mac).

The kits are in a file called profiles.xml (I first called this whole thing profiles, but since that conflicts with the .pro-files qmake uses it got renamed). Toolchains are in toolchains.xml, Qt versions in qtversions.xml.

The .user-files only contain data for the project it is related to. Basically everything set in "Projects" mode ends up in the .user file.

like image 132
Tobias Hunger Avatar answered Sep 27 '22 16:09

Tobias Hunger