just delete the projectname.pro.user and so you can select the kit installed ...easy to go from windows or linux to MacOS this way
@NielsHolst said in Wrong default configuration of clang++ kit on OS X:
I have found the reason why Qt Creator could not configure my project correctly: My .pro file depended on an environment variable. Moving from Windows to Mac and being unable to set an environment variable on the Mac (!), I resorted to set the environment variable from within Qt Creator.
However, to be able to set the environment vaiable in Qt Creator, I had to first open the .pro file and let Qt Creator configure the project. That configuration could not be carried through correctly because the environment variable was not yet defined.
Then when I defined the environment variable, and the .pro file should be OK, Qt Creator kept the faulty configuration.
The way out was to rethink my project file and rid it of its dependency on the environment variable.