File 004-run_control_signal-16.0.1.patch of Package qtcreator
diff -uprN qt-creator-opensource-src-16.0.1-orig/src/plugins/projectexplorer/projectexplorer.cpp qt-creator-opensource-src-16.0.1/src/plugins/projectexplorer/projectexplorer.cpp
--- qt-creator-opensource-src-16.0.1-orig/src/plugins/projectexplorer/projectexplorer.cpp 2025-04-10 10:57:18.000000000 +0200
+++ qt-creator-opensource-src-16.0.1/src/plugins/projectexplorer/projectexplorer.cpp 2025-04-14 20:57:31.245447722 +0200
@@ -2461,6 +2461,8 @@ void ProjectExplorerPluginPrivate::execu
return;
}
+ emit m_instance->aboutToExecuteRunControl(runControl, runMode);
+
startRunControl(runControl);
}
diff -uprN qt-creator-opensource-src-16.0.1-orig/src/plugins/projectexplorer/projectexplorer.h qt-creator-opensource-src-16.0.1/src/plugins/projectexplorer/projectexplorer.h
--- qt-creator-opensource-src-16.0.1-orig/src/plugins/projectexplorer/projectexplorer.h 2025-04-10 10:57:18.000000000 +0200
+++ qt-creator-opensource-src-16.0.1/src/plugins/projectexplorer/projectexplorer.h 2025-04-14 20:57:31.246673170 +0200
@@ -179,6 +179,8 @@ signals:
void filesRenamed(const Utils::FilePairs &oldAndNewPaths);
+ void aboutToExecuteRunControl(ProjectExplorer::RunControl* runControl, Utils::Id runMode);
+
private:
static bool coreAboutToClose();
void handleCommandLineArguments(const QStringList &arguments);