[Qt-creator] Compilation Database project not showing files
Andrzej Telszewski
andrzej at telszewski.com
Mon Jun 16 10:45:39 CEST 2025
On 16/06/2025 10:22, Christian Kandeler via Qt-creator wrote:
> 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.
>
That worked, thank you! :)
More information about the Qt-creator
mailing list