aboutsummaryrefslogtreecommitdiffstats
path: root/src/app
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@theqtcompany.com>2016-08-01 10:45:07 +0200
committerChristian Kandeler <christian.kandeler@qt.io>2016-08-03 12:42:04 +0000
commita6680038451246455b49f1d367002be0a940aeac (patch)
tree3107036699adc6d5daf01e77fbf45231900cf780 /src/app
parent55ee0375255d8ef2a3faa5c3471068eedcb15f23 (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.cpp3
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()));