File 006-run_control_signal-4.15.1.patch of Package qtcreator
diff -uprN qt-creator-opensource-src-4.15.1-orig/src/plugins/projectexplorer/projectexplorer.cpp qt-creator-opensource-src-4.15.1/src/plugins/projectexplorer/projectexplorer.cpp
--- qt-creator-opensource-src-4.15.1-orig/src/plugins/projectexplorer/projectexplorer.cpp 2021-06-08 14:11:07.000000000 +0200
+++ qt-creator-opensource-src-4.15.1/src/plugins/projectexplorer/projectexplorer.cpp 2021-06-12 11:44:01.231593061 +0200
@@ -2599,6 +2599,8 @@ void ProjectExplorerPluginPrivate::execu
return;
}
+ emit m_instance->aboutToExecuteRunControl(runControl, runMode);
+
startRunControl(runControl);
}
diff -uprN qt-creator-opensource-src-4.15.1-orig/src/plugins/projectexplorer/projectexplorer.h qt-creator-opensource-src-4.15.1/src/plugins/projectexplorer/projectexplorer.h
--- qt-creator-opensource-src-4.15.1-orig/src/plugins/projectexplorer/projectexplorer.h 2021-06-08 14:11:07.000000000 +0200
+++ qt-creator-opensource-src-4.15.1/src/plugins/projectexplorer/projectexplorer.h 2021-06-12 11:44:01.231593061 +0200
@@ -201,6 +201,8 @@ signals:
void runActionsUpdated();
+ void aboutToExecuteRunControl(ProjectExplorer::RunControl* runControl, Utils::Id runMode);
+
private:
static bool coreAboutToClose();
void handleCommandLineArguments(const QStringList &arguments);