Use the .pro file path as buildSystemTarget in qmake based RunConfigs

That's what it is documented to be: It is set up from a
BuildTargetInfo::targetName containing the .pro file name.

Change-Id: Iabd1061960897125e1b09902d55661d42f481e26
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
hjk
2018-01-11 16:49:10 +01:00
parent 3c75d3aec1
commit 3f7f5b9a95
4 changed files with 4 additions and 5 deletions

View File

@@ -267,7 +267,7 @@ QVariantMap IosRunConfiguration::toMap() const
QString IosRunConfiguration::buildSystemTarget() const
{
return static_cast<QmakeProject *>(target()->project())->mapProFilePathToTarget(m_profilePath);
return m_profilePath.toString();
}
QString IosRunConfiguration::disabledReason() const