Details
-
Bug
-
Resolution: Incomplete
-
Not Evaluated
-
None
-
Qt Creator 4.14.0
-
None
Description
Using clang-tidy as external tool via cmake
`set(CMAKE_EXPORT_COMPILE_COMMANDS ON))` and `set (CXX_CLANG_TIDY ...)`
can result in warnings or errors.
Those errors are printed to the compiler-tab with paths, wich may contain `..`.
E.g.: C:\Users\<user>\<project_dir>\<build_dir>\..\project\util\src\my_sourcefile.cpp:29:7
Trying to click on the path opens a window with an exception, that the path does not exist.
This is wrong. It also prevents QtCreator, from highlighting the code.
Edit:
I got some paths, relative to the build dir containing "..", which work.
Also I had paths like C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include\deque:596:15 which does not.
So it seems like, that the Compiler Console Window can't handle absolute paths.