From 4fd60a19be65a894a4280bfcfaaca153779d43db Mon Sep 17 00:00:00 2001
From: Tobias Hunger <tobias.hunger@nokia.com>
Date: Tue, 9 Feb 2010 18:07:00 +0100
Subject: [PATCH] Add runconfigurations when creating a target

---
 src/plugins/qt4projectmanager/qt4target.cpp | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/plugins/qt4projectmanager/qt4target.cpp b/src/plugins/qt4projectmanager/qt4target.cpp
index 76835ef0a4f..48eab94ecbe 100644
--- a/src/plugins/qt4projectmanager/qt4target.cpp
+++ b/src/plugins/qt4projectmanager/qt4target.cpp
@@ -143,6 +143,10 @@ Qt4Target *Qt4TargetFactory::create(ProjectExplorer::Project *parent, const QStr
             t->addQt4BuildConfiguration("Release", version, QtVersion::QmakeBuildConfig(0));
     }
 
+    QStringList pathes = qt4project->applicationProFilePathes();
+    foreach (const QString &path, pathes)
+        t->addRunConfigurationForPath(path);
+
     return t;
 }
 
-- 
GitLab