From c81a5c06447fe99bd6a40440b40679f37144824e Mon Sep 17 00:00:00 2001 From: David Schulz Date: Tue, 18 Oct 2022 10:05:51 +0200 Subject: [PATCH] Python: trigger parse in build system creator Otherwise we do not have any app targets for the python run configuration after a kit setup. Change-Id: Ib7648a72280a1d68246c11139775a23366fda286 Reviewed-by: Christian Stenger --- src/plugins/python/pythonproject.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/python/pythonproject.cpp b/src/plugins/python/pythonproject.cpp index 70528b0c997..a255c5ab5c2 100644 --- a/src/plugins/python/pythonproject.cpp +++ b/src/plugins/python/pythonproject.cpp @@ -476,7 +476,7 @@ PythonBuildSystem::PythonBuildSystem(Target *target) : BuildSystem(target) { connect(target->project(), &Project::projectFileIsDirty, this, [this] { triggerParsing(); }); - QTimer::singleShot(0, this, &PythonBuildSystem::triggerParsing); + triggerParsing(); } bool PythonBuildSystem::supportsAction(Node *context, ProjectAction action, const Node *node) const