In the tab 'Kits' look at the kit you configured you project with, and make sure the compiler is set there.