Merge topic 'Qt-AUTOUIC-file-origin'

2fed8e17 QtAutogen: Issue error message with origin file (#15342).
This commit is contained in:
Brad King 2015-02-04 12:30:12 -05:00 committed by CMake Topic Stage
commit be072d3fe1
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;