Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
Qt Creator 4.11.0
-
None
-
2e4ed0696ba3aba95d189c7de80853c8a1f53aca (qt-creator/qt-creator/4.12)
Description
I have a project where a lot of my source files are linked to a different directory.
My "compile_commands.json" file has the symbolic link path, but when I open the project in Qt Creator the file will be shown with the "real" path, as if
realpath --relative-to=$(pwd) /full/path/taken/from/compile_commands.json/file
had been called on the file.
This is confusing, as the filenames is not always the same, i.e.
src/source.cpp -> ../path/to/some_feature.cpp
The above example will show up in Qt Creator as
path/to/some_feature.cpp
where I expect
src/source.cpp