Details
-
Bug
-
Resolution: Cannot Reproduce
-
Not Evaluated
-
None
-
Qt Creator 5.0.0
-
Kubuntu 21.04
Description
I have a fairly large CMake-based project that uses Boost and quite a few other libraries. Sometimes, when I follow a symbol under cursor (a function call), QtCreator switches to a random other place in the code base (in a different module altogether) where that symbol is used. If I follow the symbol from there, then I might get to the symbol definition.
For example, if I have the cursor at a `boost::intrusive::list<>::splice()` function call and press Ctrl+F12 to follow to its definition, QtCreator actually follows to an unrelated place where the same function (of a different specialization of `boost::intrusive::list<>`) is called. If I press Ctrl+F12 on that call, I then get to the function definition.
This does not happen specifically with Boost functions, it can happen with any same-named functions, even from completely different classes.
My project is not open source, and I can't publish it. I'm also unable to create a small project that reproduces the issue.