[Qt-creator] Clang Tools filling up /tmp
Benjamin TERRIER
b.terrier at gmail.com
Mon Feb 10 11:50:37 CET 2025
Hi,
I'm using Qt Creator to work on Qt WebEngine, including the src/3rd-party
which is quite big as it contains chromium.
This poses some unique challenges compared to my usual projects.
For instance, I had to disable clangd as it consumed all my RAM.
The last hurdle I encounter is coming from the Clang Tools static analysis
plugin.
I have not found a way to disable it on a per project basis and even when
disabling all diagnostics
it still generates compile_commands.json files under:
- /tmp/QtCreator.xyz/Clang-Tidy.xyz/compile_commands.json
- /tmp/QtCreator.xyz/Clazy.xyz/compile_commands.json
The issue is that each of this file is 8GB+ and I end up with /tmp
completely filled even when using a 16GB tmpfs.
Is there a way to prevent these compile_commands.json files from being
generated without disabling the Clang Tools plugin, as I use it for all of
my other projects?
Regards
Benjamin Terrier
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20250210/34b03fb2/attachment.htm>
More information about the Qt-creator
mailing list