Registered Member
|
I'm using kate to work on a Qt project. I have the LSP plugin installed. It analyzes the code, but gets stuck because it apparently can't find common Qt headers.
For example, in a file with
it reports
This does make some sense, as the file is QtCore/qstring.h, but I would guess it would be intelligent enough to realize this, given that the project compiles fine (but with GCC). Is there any configuration I should fix for LSP to find the headers? |
Registered Member
|
Is compile_commands.json generated by your build tool (cmake/meson etc) ?
|
Registered Member
|
Indeed, that was the problem. Making sure it was generated by adding
|
Registered users: Bing [Bot], Google [Bot], kesang, Yahoo [Bot]