Commit 48302117 authored by Joerg Bornemann's avatar Joerg Bornemann

WinRt: simplify project file path retrieval

Change-Id: If2542b0c22728ae2567e4d42de3a7f7d6830c350
Reviewed-by: default avatarOliver Wolff <oliver.wolff@digia.com>
parent 715aeb40
...@@ -38,7 +38,6 @@ ...@@ -38,7 +38,6 @@
#include <projectexplorer/buildtargetinfo.h> #include <projectexplorer/buildtargetinfo.h>
#include <projectexplorer/ioutputparser.h> #include <projectexplorer/ioutputparser.h>
#include <projectexplorer/kitinformation.h> #include <projectexplorer/kitinformation.h>
#include <coreplugin/idocument.h>
#include <utils/fileutils.h> #include <utils/fileutils.h>
#include <qtsupport/profilereader.h> #include <qtsupport/profilereader.h>
#include <proparser/qmakevfs.h> #include <proparser/qmakevfs.h>
...@@ -63,7 +62,7 @@ WinRtPackageDeploymentStep::WinRtPackageDeploymentStep(BuildStepList *bsl) ...@@ -63,7 +62,7 @@ WinRtPackageDeploymentStep::WinRtPackageDeploymentStep(BuildStepList *bsl)
bool WinRtPackageDeploymentStep::init() bool WinRtPackageDeploymentStep::init()
{ {
Utils::FileName proFile = Utils::FileName::fromString(project()->document()->filePath()); Utils::FileName proFile = Utils::FileName::fromString(project()->projectFilePath());
const QString targetPath const QString targetPath
= target()->applicationTargets().targetForProject(proFile).toString() = target()->applicationTargets().targetForProject(proFile).toString()
+ QLatin1String(".exe"); + QLatin1String(".exe");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment