[Qt-creator] Compilation Database project not showing files
Christian Kandeler
christian.kandeler at qt.io
Mon Jun 16 10:22:09 CEST 2025
On 6/15/25 3:49 PM, Andrzej Telszewski wrote:
> [ ...]
> Actually, only a few files are presented in the project explorer.
> (In the full contents compile_commands.json there are a couple more of
> them.)
>
> What could be the reason?
>
Your compilation database is anchored at the build directory, so only
generated files show up. Set the real root directory from the context
menu in the project tree.
Christian
More information about the Qt-creator
mailing list