Qbs: Add Qbs install step

Change-Id: I0fb96cf2f3ba90d226203703f755025020680ac2
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
This commit is contained in:
Tobias Hunger
2013-04-12 16:19:52 +02:00
parent 8ac0f17efd
commit e3ecf4232c
9 changed files with 672 additions and 0 deletions

View File

@@ -195,6 +195,13 @@ qbs::CleanJob *QbsProject::clean(const qbs::CleanOptions &opts)
return qbsProject()->cleanAllProducts(opts);
}
qbs::InstallJob *QbsProject::install(const qbs::InstallOptions &opts)
{
if (!qbsProject())
return 0;
return qbsProject()->installAllProducts(opts);
}
QString QbsProject::profileForTarget(const ProjectExplorer::Target *t) const
{
return m_manager->profileForKit(t->kit());