MCU Support: Show deployment issues in issues pane

MCU deployment issues will be shown in the Issues output pane.

Change-Id: I5b3751d65a8e46e24a68591f9a0c6f7f77492324
Reviewed-by: Sivert Krøvel <sivert.krovel@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
Andrii Semkiv
2025-02-19 16:02:31 +01:00
parent f94679b61a
commit 6ac1a9ba7f

View File

@@ -100,6 +100,11 @@ DeployMcuProcessStep::DeployMcuProcessStep(ProjectExplorer::BuildStepList *bc, I
cmdLine.addArg(directory); cmdLine.addArg(directory);
return cmdLine; return cmdLine;
}); });
connect(this, &BuildStep::addOutput, this, [](const QString &str, OutputFormat fmt) {
if (fmt == OutputFormat::ErrorMessage)
showError(str);
});
} }
// Workaround for QDS-13763, when UL-10456 is completed this can be removed with the next LTS // Workaround for QDS-13763, when UL-10456 is completed this can be removed with the next LTS