Intellisense doesn't mark undefined variables



  • 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.


  • Qt Champions 2016

    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.


  • Qt Champions 2016

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



  • 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!


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.