Skip to content
Snippets Groups Projects
Commit 321f67ff authored by Tobias Hunger's avatar Tobias Hunger
Browse files

Qbs: Create run configurations for everything


Qbs can no longer tell us which projects produce an installed
executable, so just create run configurations for everything.

Change-Id: Ifd2b5941d0909b63a64139d91a970fb75f0c3b78
Reviewed-by: default avatarJoerg Bornemann <joerg.bornemann@digia.com>
parent 71d23d94
No related branches found
No related tags found
No related merge requests found
......@@ -563,10 +563,11 @@ QList<Core::Id> QbsRunConfigurationFactory::availableCreationIds(ProjectExplorer
if (!project || !project->qbsProject().isValid())
return result;
foreach (const qbs::ProductData &product, project->qbsProjectData().allProducts()) {
if (!project->qbsProject().targetExecutable(product, qbs::InstallOptions()).isEmpty())
result << Core::Id::fromString(QString::fromLatin1(QBS_RC_PREFIX) + product.name());
}
// Create one RC per product. There is no information on what those products actually
// are or whether they are going to get installed before a project is built.
foreach (const qbs::ProductData &product, project->qbsProjectData().allProducts())
result << Core::Id::fromString(QString::fromLatin1(QBS_RC_PREFIX) + product.name());
return result;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment