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. Qt Creator + clangd: syntax highlighting broken after update
Forum Updated to NodeBB v4.3 + New Features

Qt Creator + clangd: syntax highlighting broken after update

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
3 Posts 2 Posters 478 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.
  • gde23G Offline
    gde23G Offline
    gde23
    wrote on last edited by gde23
    #1

    Hello,

    after updating Qt-Creator the syntax highlighting is broken. It shows an error on almost every second line, however the project compiles without problems so its all false alerts.

    syntax.jpeg

    What could be the reason?

    Qt5.12.2 on Debian

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

      There was an issue with Qt Creator 8.0.0 and clangd 15, which got fixed in Qt Creator 8.0.1 if I remember correctly.

      Which versions of Qt Creator and clangd are you using?

      1 Reply Last reply
      0
      • gde23G Offline
        gde23G Offline
        gde23
        wrote on last edited by
        #3

        Just uninstalled / reinstalled the latest version (8.0.2) via webinstaller but it did not fix the problem.
        However I noticed, that when I open any of the example projects the highlighting works as it should.
        I'm using CMake for my project so maybe clangd is missing some includes or something like that?

        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