Peter Levine
Peter Levine
@AdelKS It looks like I might have overlooked the necessity of certain tools by placing all of them behind a default-disabled `tools` USE flag. clandbackend should be governed by the...
Can you confirm in **Tools -> Options -> C++ -> Clangd** that **Path to executable** is `/usr/lib/llvm/14/bin/clangd` and **Insert header files on completion** is checked?
I have run into this: [QTCREATORBUG-27623: clangd says it can't find stddef.h](https://bugreports.qt.io/browse/QTCREATORBUG-27623?gerritReviewStatus=All).
> Hello, enabling the `tools` use flag did not solve the issue. However, putting this in ` ~/.config/clangd` Sorry. I was conflating things. I'm able to reproduce the issue. For...
OK. It should be fixed. Please test when you get a chance.
clangd on my end is set to version 14. It may be that you changed/added/removed a clang version? If so, rebuild qt-creator and report if that resolves the issue. Also,...
Added `qt-creator-8.0.0_beta1.ebuild`. > Weirdly enough, my configuration in the `~/.config` was borked, so I deleted it and all good now. I reproduced the issue. There appears to be a problem...
Actually, `ClangdPath=` is messed up in qt-creator-8.0.0_beta1, too.
The problem with qt-creator-8.0.0_beta1 is https://github.com/qt-creator/qt-creator/commit/23fceb9ef36a70ca1520ef45baff07a7af46aecd#diff-ef1f834cd227f9e22fae1b5fc32863f5fabd634f255b4d8fab7e36f8249fc3c1R408. It looks for the clang includes relative to clangd at `../lib/clang/${clang_version}/include`. Because in `sys-devel/clang` Gentoo sets `-DCLANG_RESOURCE_DIR="../../../../lib/clang/${clang_version}"`, and AFAICT is the only distro to...
https://bugs.gentoo.org/853967