diff --git a/src/plugins/cmakeprojectmanager/fileapidataextractor.cpp b/src/plugins/cmakeprojectmanager/fileapidataextractor.cpp index 70e5900dfcb..7ad7cdd0c54 100644 --- a/src/plugins/cmakeprojectmanager/fileapidataextractor.cpp +++ b/src/plugins/cmakeprojectmanager/fileapidataextractor.cpp @@ -181,8 +181,7 @@ static QVector extractBacktraceInformation( const size_t fileIndex = static_cast(btNode.file); QTC_ASSERT(fileIndex < backtraces.files.size(), break); - const FilePath path = sourceDir.pathAppended(backtraces.files[fileIndex]).absoluteFilePath(); - + const FilePath path = sourceDir.resolvePath(backtraces.files[fileIndex]); if (btNode.command < 0) { // No command, skip: The file itself is already covered:-) continue;