KDevelop: Ctrl+Click works for headers but not for library function definitions

Hello,

I am using KDevelop with a project that compiles. In my main.c, I can Ctrl+Click to jump to header files, but I cannot Ctrl+Click to go to the definition of functions.

I tried this:

Project → Open Configuration → Language Support → Includes/Imports

..and added all relevant paths. I restarted KDevelop also, but didn’t help.

Does anyone know how to fix this so Ctrl+Click also works for library function definitions?

Thank you.