summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Jenssen <tim.jenssen@theqtcompany.com>2015-01-16 11:55:55 +0100
committerTim Jenssen <tim.jenssen@theqtcompany.com>2015-01-21 09:26:19 +0200
commit6571c85f3d6c3a3f7eb1ff982b1e4df92293e156 (patch)
tree92c8d2b668c939fd5aa6e1ee45f5f6ebb5471716
parent295ad02f7e62b66dfcba73ac56b6c2f2c8ba6036 (diff)
downloadqt-creator-6571c85f3d6c3a3f7eb1ff982b1e4df92293e156.tar.gz
fix that windows can find the file
added missing .exe file suffix Change-Id: I537736a95de778e0a498c37d21baf0d717eb8c4d Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
-rw-r--r--plugins/autotest/testtreemodel.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/autotest/testtreemodel.cpp b/plugins/autotest/testtreemodel.cpp
index e966446e9d..560820c586 100644
--- a/plugins/autotest/testtreemodel.cpp
+++ b/plugins/autotest/testtreemodel.cpp
@@ -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;
}