Problem with QTCreator 13 and Clangd
Moved
Unsolved
Qt Creator and other tools
-
I have installed Qt Creator [13.0.0 Based on Qt 6.4.2 (GCC 13.2.0, x86_64)] on Ubuntu 24 from
apt install qtcreator
.Now the first problem is,
clangd
could not index my project properly. After trying many things, I gave up and used Bear to create acompile_commands.json
from mybear -- make
, and replaced the one inside .qtc_clangd/ so that at least I get all the highlights and etc correctly.There are still two main problems:
- Every time I restart the QTCreator, the old
compile_commands.json
is restored and I have to copy the new one again. Is there any way to avoid this? - If I now right-click on
Find References to Symbol Under Cursor
it only finds whatever is on the same folder, but doesn't look globally. It is probably related to 1 of course.
It would be very nice to get some help! :)
- Every time I restart the QTCreator, the old
-
C Christian Ehrlicher moved this topic from General and Desktop on