From 55284ba124077b64d92d55d9db07a8d2a973f573 Mon Sep 17 00:00:00 2001 From: Jarek Kobus Date: Fri, 2 Dec 2022 14:56:08 +0100 Subject: [PATCH] CMakeBuildStep: Don't use stdError Emit addOutput() signal directly. This will add a newline after the message. Use OutputFormat::ErrorMessage instead of OutputFormat::Stderr. Change-Id: Id5e95dd00dca5e57b67c583a1b11071bf4101880 Reviewed-by: Qt CI Bot Reviewed-by: Cristian Adam --- src/plugins/cmakeprojectmanager/cmakebuildstep.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/plugins/cmakeprojectmanager/cmakebuildstep.cpp b/src/plugins/cmakeprojectmanager/cmakebuildstep.cpp index 1b642778629..39b0cc2b1db 100644 --- a/src/plugins/cmakeprojectmanager/cmakebuildstep.cpp +++ b/src/plugins/cmakeprojectmanager/cmakebuildstep.cpp @@ -352,7 +352,8 @@ void CMakeBuildStep::handleProjectWasParsed(bool success) } else if (success) { runImpl(); } else { - AbstractProcessStep::stdError(Tr::tr("Project did not parse successfully, cannot build.")); + emit addOutput(Tr::tr("Project did not parse successfully, cannot build."), + OutputFormat::ErrorMessage); emit finished(false); } }