Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Intellisense doesn't mark undefined variables
QtWS25 Last Chance

Intellisense doesn't mark undefined variables

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
intellisense
4 Posts 3 Posters 1.2k 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
    SebastianZ
    wrote on last edited by SebastianZ
    #1

    Hi, I wondered if it is possible to make my QtCreator highlight undefined variables. Somehow he spots a lot of coding Errors but doesn't point me to undefined variables.

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

      Hi
      Not that i have seen. ( in default parser)
      I use ctrl+alt+b to build the file im in and see such things.
      Its pretty fast.

      1 Reply Last reply
      1
      • S SebastianZ

        Hi, I wondered if it is possible to make my QtCreator highlight undefined variables. Somehow he spots a lot of coding Errors but doesn't point me to undefined variables.

        kshegunovK Offline
        kshegunovK Offline
        kshegunov
        Moderators
        wrote on last edited by
        #3

        Which code model are you using? As far as I know the clang code model should be able to catch the undefined variables.

        Read and abide by the Qt Code of Conduct

        1 Reply Last reply
        3
        • S Offline
          S Offline
          SebastianZ
          wrote on last edited by
          #4

          kshegunov, that was the answer I was hoping for =). In fact the clang code model was just deactivated. I checked a box in "help\about plugins..." to activate it, restarted Qt and everything worked fine. Thx a lot!

          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