diff --git a/src/plugins/python/pythonproject.cpp b/src/plugins/python/pythonproject.cpp index c373b08ac11..69f3b52a0af 100644 --- a/src/plugins/python/pythonproject.cpp +++ b/src/plugins/python/pythonproject.cpp @@ -257,6 +257,7 @@ void PythonBuildSystem::triggerParsing() newRoot->addNestedNode(std::make_unique(filePath, displayName, fileType)); if (fileType == FileType::Source) { BuildTargetInfo bti; + bti.displayName = displayName; bti.buildKey = f; bti.targetFilePath = filePath; bti.projectFilePath = projectFilePath();