You can generate a compile_commands.json with Qt Creator?! What?
Unsolved
Showcase
-
Very cool to see this feature implemented. It must've been added some time within the last few months?
Build >> Generate Compilation Database
I'm curious. Is there any ways to use this new utility from the command line? (I know you could use utilities like Bear, but if I could get this working with Qt's own utility, I feel it will be more seamless)
Emacs Qt development here I come!
Edit: [VRonin] removed links
-
@WilliamMadyam said in You can generate a compile_commands.json with Qt Creator?! What?:
I'm curious. Is there any ways to use this new utility from the command line?
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON
So adding such a flag to the IDE isn't really a big deal... and it's there since CMake 3.5 so it's not new either :)