forked from qt-creator/qt-creator
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 <christian.stenger@qt.io>
This commit is contained in:
@@ -476,7 +476,7 @@ PythonBuildSystem::PythonBuildSystem(Target *target)
|
|||||||
: BuildSystem(target)
|
: BuildSystem(target)
|
||||||
{
|
{
|
||||||
connect(target->project(), &Project::projectFileIsDirty, this, [this] { triggerParsing(); });
|
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
|
bool PythonBuildSystem::supportsAction(Node *context, ProjectAction action, const Node *node) const
|
||||||
|
Reference in New Issue
Block a user