Commit 6571c85f authored by Tim Jenssen's avatar Tim Jenssen
Browse files

fix that windows can find the file



added missing .exe file suffix

Change-Id: I537736a95de778e0a498c37d21baf0d717eb8c4d
Reviewed-by: default avatarChristian Stenger <christian.stenger@theqtcompany.com>
parent 295ad02f
......@@ -34,6 +34,7 @@
#include <texteditor/texteditor.h>
#include <utils/fileutils.h>
#include <utils/hostosinfo.h>
#include <QIcon>
......@@ -334,7 +335,7 @@ static void addProjectInformation(TestConfiguration *config, const QString &file
ProjectExplorer::BuildTargetInfoList appTargets = target->applicationTargets();
foreach (const ProjectExplorer::BuildTargetInfo &bti, appTargets.list) {
if (bti.isValid() && bti.projectFilePath.toString() == proFile) {
targetFile = bti.targetFilePath.toString();
targetFile = Utils::HostOsInfo::withExecutableSuffix(bti.targetFilePath.toString());
targetName = bti.targetName;
break;
}
......
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