forked from qt-creator/qt-creator
RunConfiguration: Introduce buildSystemTarget()
Introduce a method that maps a RunConfiguration to the build system target that created the executable. Implement the method in all RunConfigurations where that makes sense (e.g. no CustomExecutables). Change-Id: Ifaac859c2cd9b2806a0d7c185b2239312a67752a Reviewed-by: Christian Kandeler <christian.kandeler@qt.io> Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
@@ -665,7 +665,7 @@ QList<ProjectExplorer::RunConfiguration *> QbsProductNode::runConfigurations() c
|
||||
QbsRunConfiguration *qbsRc = qobject_cast<QbsRunConfiguration *>(rc);
|
||||
if (!qbsRc)
|
||||
continue;
|
||||
if (qbsRc->uniqueProductName() == QbsProject::uniqueProductName(qbsProductData()))
|
||||
if (qbsRc->buildSystemTarget() == QbsProject::uniqueProductName(qbsProductData()))
|
||||
result << qbsRc;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user