summaryrefslogtreecommitdiffstats
path: root/tools/configure
diff options
context:
space:
mode:
Diffstat (limited to 'tools/configure')
-rw-r--r--tools/configure/configureapp.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/tools/configure/configureapp.cpp b/tools/configure/configureapp.cpp
index 45c9f5c063..8c06a158cf 100644
--- a/tools/configure/configureapp.cpp
+++ b/tools/configure/configureapp.cpp
@@ -2603,9 +2603,12 @@ void Configure::detectArch()
// find the executable that was generated
QFile exe("arch.exe");
if (!exe.open(QFile::ReadOnly)) { // no Text, this is binary
- cout << "Could not find output file: " << qPrintable(exe.errorString()) << endl;
- dictionary["DONE"] = "error";
- return;
+ exe.setFileName("arch");
+ if (!exe.open(QFile::ReadOnly)) {
+ cout << "Could not find output file: " << qPrintable(exe.errorString()) << endl;
+ dictionary["DONE"] = "error";
+ return;
+ }
}
QByteArray exeContents = exe.readAll();
exe.close();