[Qt-creator] Shared project settings for CMake project

Tobias Hunger Tobias.Hunger at qt.io
Fri Mar 29 13:50:22 CET 2019

Hi Toralf,

On Fri, 2019-03-29 at 11:29 +0100, Toralf Lund wrote:
> Is there a way to share Qt Creator project settings when working on a 
> CMake project? I'm thinking about something like what's described for 
> QMake projects in 
> https://doc.qt.io/qtcreator/creator-sharing-project-settings.html. The 
> idea would be to check the "shared" config into a GIT repository.
> It looks like the CMake equivalent to a .pro.user file is 
> CMakeLists.txt.user, so you might think CMakeList.txt.share would have 
> the same role as the .pro.shared file. I tried creating such a file, 
> though, and as far as I could tell, it was not read at start-up.

It *should* be read, but many settings are not easily transferable between
different Qt Creator instances and these tend to get silently dropped.

Basically anything with a UUID in the path to the setting will not work anywhere
but no your own machine. This effects everything below a Kit/Target, incl. all
Build-/Deploy- and RunConfigurations.

Best Regards,

Tobias Hunger, Senior Software Engineer | The Qt Company
The Qt Company GmbH, Rudower Chaussee 13, D-12489 Berlin
Geschäftsführer: Mika Pälsi, Juha Varelius, Mika Harjuaho. Sitz der
Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 144331 B

More information about the Qt-creator mailing list