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. "Check code syntax“ not work after new setup!
Qt 6.11 is out! See what's new in the release blog

"Check code syntax“ not work after new setup!

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
3 Posts 2 Posters 840 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.
  • X Offline
    X Offline
    xkung
    wrote on last edited by xkung
    #1

    below is the document url of the feature :

    https://doc.qt.io/qtcreator/creator-checking-code-syntax.html

    below is the screenshots from this document:
    alt text
    alt text

    but, below is my qt creator with error codes :

    20241108165607.png

    20241108165741.png

    what can I do to let qt creator display error and warning annotations?

    thanks!

    1 Reply Last reply
    0
    • cristian-adamC Offline
      cristian-adamC Offline
      cristian-adam
      wrote on last edited by cristian-adam
      #2

      Make sure you use clangd.

      qtcreator-use-clangd.png

      X 1 Reply Last reply
      4
      • cristian-adamC cristian-adam

        Make sure you use clangd.

        qtcreator-use-clangd.png

        X Offline
        X Offline
        xkung
        wrote on last edited by
        #3

        @cristian-adam said in "Check code syntax“ not work after new setup!:

        Make sure you use clangd.

        qtcreator-use-clangd.png

        Too correct Too right, that was indeed the cause of the problem. It's fixed now, thanks a lot!

        1 Reply Last reply
        2
        • aha_1980A aha_1980 has marked this topic as solved on
        • aha_1980A aha_1980 has marked this topic as solved on

        • Login

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