Uploaded image for project: 'VS Code Extension'
  1. VS Code Extension
  2. VSCODEEXT-203

Syntax highlighting doesn't work for Qt related classes with clangd on Ubuntu

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 1.6.0
    • C++
    • None
    • Linux/X11
    • Linux/X11

    Description

      I try to use VS Code with Qt Extension Pack to work with Qt Widgets project, I can build the project and run/debug it successfully but syntax highlighting doesn't work for Qt related classes. My environment is as follows:

      1) Ubuntu 24.04

      2)  VS Code 1.102.0

      3) Qt Extension Pack 1.2.0 ( Qt C++... 1.6.0)

      4) C/C++ extension 1.26.3

      5) clangd extension 0.2.0

      6) CMake Tools extension 1.21.36

      7) I have installed qt-6.4.1 using apt and VS Code successfully find a CMake qt kit from it.

       

      VS Code can't find Qt related header files.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qtvscodeteam Qt VS Code
            jianliang79 liang jian
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes