I'm using Qt Creator 2.6.0 on Mac OS 10.8.2, and I've created a myproject.pro.shared
file in the same folder as myproject.pro
. I copied the example XML from https://qt-project.org/doc/qtcreator-2.6/creator-sharing-project-settings.html to the myproject.pro.shared
file. I deleted my ~/.config/QtProject/
folder and I do not have a myproject.pro.user
file.
When I launch Qt Creator and open the project file, the settings specified in myproject.pro.shared
are not used. For example, myproject.pro.shared
specifies TabSize
of 14, yet under Projects > Editor, "Editor settings" still says "Global", and Tab size is not 14.
How can I get this working, so that default settings are populated the first time I open a project on a new workstation?
I was missing this line:
After adding it, Qt Creator defaults to use the custom configuration with the correct settings.
Here's my working, annotated
.pro.shared
file: