File 004-run_control_signal-18.0.0.patch of Package qtcreator

diff -uprN qt-creator-opensource-src-18.0.0-orig/src/plugins/projectexplorer/projectexplorer.cpp qt-creator-opensource-src-18.0.0/src/plugins/projectexplorer/projectexplorer.cpp
--- qt-creator-opensource-src-18.0.0-orig/src/plugins/projectexplorer/projectexplorer.cpp	2025-10-28 12:28:21.000000000 +0100
+++ qt-creator-opensource-src-18.0.0/src/plugins/projectexplorer/projectexplorer.cpp	2025-11-01 12:03:25.518191497 +0100
@@ -2534,6 +2534,8 @@ void ProjectExplorerPluginPrivate::execu
         return;
     }
 
+    emit m_instance->aboutToExecuteRunControl(runControl, runMode);
+
     startRunControl(runControl);
 }
 
diff -uprN qt-creator-opensource-src-18.0.0-orig/src/plugins/projectexplorer/projectexplorer.h qt-creator-opensource-src-18.0.0/src/plugins/projectexplorer/projectexplorer.h
--- qt-creator-opensource-src-18.0.0-orig/src/plugins/projectexplorer/projectexplorer.h	2025-10-28 12:28:21.000000000 +0100
+++ qt-creator-opensource-src-18.0.0/src/plugins/projectexplorer/projectexplorer.h	2025-11-01 12:03:25.519244624 +0100
@@ -180,6 +180,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);
openSUSE Build Service is sponsored by