[Qt-creator] Follow Symbol Under Cursor ALWAYS takes me to the header (QtCreator 4.9)

Nikos Chantziaras realnc at gmail.com
Tue May 21 01:26:31 CEST 2019

Hm. Works fine here. It first takes me to the definition, and if I 
repeat, it then takes me to the declaration. If the function is a 
virtual with multiple override, a menu pops up to let me choose to which 
override to jump to. Works the same with both cmake and qmake projects. 
I'm not seeing any option to control this.

I'm on 4.9.0 on Linux using the clang code model.

On 20/05/2019 21:05, Michael Jackson wrote:
> So far really loving the new features in 4.9 BUT now I have noticed that 
> when I right-click on a method in my code I am taken to the declaration 
> in the header file instead of the definition in the .cpp file? Was there 
> a new setting in 4.9 that controls this? I am pretty sure that 4.8 “did 
> the right thing”. I have tested this on both Windows and macOS (same 
> project each) and the project is a CMake based project. Any insights 
> would be appreciated….

More information about the Qt-creator mailing list