diff options
author | Christian Kandeler <christian.kandeler@theqtcompany.com> | 2016-08-01 10:45:07 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2016-08-03 12:42:04 +0000 |
commit | a6680038451246455b49f1d367002be0a940aeac (patch) | |
tree | 3107036699adc6d5daf01e77fbf45231900cf780 /src/app | |
parent | 55ee0375255d8ef2a3faa5c3471068eedcb15f23 (diff) |
API: Add installation info to ArtifactData
In turn, remove the existing crutch that was introduced before
qbs.installRoot existed.
Task-number: QBS-906
Change-Id: I98581dde1eb6ba0b649525f9277804eca4610de0
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
Diffstat (limited to 'src/app')
-rw-r--r-- | src/app/qbs/commandlinefrontend.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/app/qbs/commandlinefrontend.cpp b/src/app/qbs/commandlinefrontend.cpp index 7affb7d4f..56b8c1aac 100644 --- a/src/app/qbs/commandlinefrontend.cpp +++ b/src/app/qbs/commandlinefrontend.cpp @@ -507,8 +507,7 @@ void CommandLineFrontend::generate() int CommandLineFrontend::runTarget() { const ProductData productToRun = getTheOneRunnableProduct(); - const QString executableFilePath = m_projects.first().targetExecutable(productToRun, - m_parser.installOptions(m_projects.first().profile())); + const QString executableFilePath = productToRun.targetExecutable(); if (executableFilePath.isEmpty()) { throw ErrorInfo(Tr::tr("Cannot run: Product '%1' is not an application.") .arg(productToRun.name())); |