QtAutogen: Issue error message with origin file (#15342).

This commit is contained in:
Stephen Kelly 2015-02-03 22:52:17 +01:00
parent aec11372a5
commit 2fed8e173c
1 changed files with 2 additions and 1 deletions

View File

@ -2243,7 +2243,8 @@ bool cmQtAutoGenerators::GenerateUi(const std::string& realName,
if (!result || retVal)
{
std::cerr << "AUTOUIC: error: process for " << ui_output_file <<
" failed:\n" << output << std::endl;
" needed by\n \"" << realName << "\"\nfailed:\n" << output
<< std::endl;
this->RunUicFailed = true;
cmSystemTools::RemoveFile(ui_output_file);
return false;