diff options
author | David Faure <david.faure@kdab.com> | 2014-12-30 14:33:51 +0100 |
---|---|---|
committer | David Faure <david.faure@kdab.com> | 2014-12-30 16:47:37 +0100 |
commit | 4091202cf19ef8ed2901d026e365aaa7a3049d77 (patch) | |
tree | fb7ee5f0f613edaef53770a366df1c0685baede7 /tools/configure | |
parent | 1196f691120d77ab3be55f21824aba645210fb8c (diff) |
configure.exe: improve error message by adding the filename.
Before:
Could not find output file: No such file or directory
After:
Could not find output file 'arch.exe' or 'arch' in C:/Qt/qt5/qtbase/config.tests/arch : No such file or directory
(it turned out that linking in that directory failed because of a wrong %PATH%)
Change-Id: I948d7f10f7e82f77a08ac9a8db76d97536c42dd0
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tools/configure')
-rw-r--r-- | tools/configure/configureapp.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/configure/configureapp.cpp b/tools/configure/configureapp.cpp index 2bd94c199e..105a9ef04c 100644 --- a/tools/configure/configureapp.cpp +++ b/tools/configure/configureapp.cpp @@ -3172,7 +3172,7 @@ void Configure::detectArch() if (!exe.open(QFile::ReadOnly)) { // no Text, this is binary exe.setFileName("arch"); if (!exe.open(QFile::ReadOnly)) { - cout << "Could not find output file: " << qPrintable(exe.errorString()) << endl; + cout << "Could not find output file '" << qPrintable(arch_exe) << "' or 'arch' in " << qPrintable(newpwd) << " : " << qPrintable(exe.errorString()) << endl; dictionary["DONE"] = "error"; return; } |