From 2fed8e173cbd8c897b0cf2fd46ec72fedc3c43ed Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Tue, 3 Feb 2015 22:52:17 +0100 Subject: [PATCH] QtAutogen: Issue error message with origin file (#15342). --- Source/cmQtAutoGenerators.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/cmQtAutoGenerators.cxx b/Source/cmQtAutoGenerators.cxx index bf79066c2..e18e75734 100644 --- a/Source/cmQtAutoGenerators.cxx +++ b/Source/cmQtAutoGenerators.cxx @@ -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;