I'm not familiar with QT but have to work with a QT project(.pro
) recently. I hope to generate a compile_commands.json
for this project, so I can read codes inside emacs's lsp mode. Unfortunately, I cannot find any way.
Build/Generate Compilation Database
for "yourprojectname"