Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt creator: “Ctrl-click” and “Find usage” function
Forum Update on Monday, May 27th 2025

Qt creator: “Ctrl-click” and “Find usage” function

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 3.9k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    shani
    wrote on last edited by shani
    #1

    I have been using Qt creator 4.0.2 with Qt 5.2. I have started to encounter a problem that, when I Ctrl+click on a function definition, it should navigate me to function declaration and vice versa. But it does not seem to work, and the cursor is taken to some other place in the function. Also, when I try to use the function "Find usage" of a certain function, it does not show all the usages of functions. Instead show some other places, where these functions are not used. I encounter this problem only in the file on which I have been working recently, it works fine in other files.

    Secondly, When I am writing the code, sometimes for the same variable it shows different colors (Shown in attached file).

    Image

    Lastly, I have been seeing some strange variable selections. I don't know what these are. You can find the screenshot in attachment.

    Image

    Anybody has encountered the same problem or can tell me how can I fix these issues?

    Thanks.

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi
      That i never saw before.
      Seems the meta info is sort of misaligned.
      You could try delete build folder
      You can also try Clang version
      http://doc.qt.io/qtcreator/creator-clang-codemodel.html

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved