[Qt-creator] Custom lines formatting in Compile Output
mateusz at loskot.net
Mon Dec 9 10:46:23 CET 2013
On 9 December 2013 09:01, Tobias Hunger <tobias.hunger at digia.com> wrote:
>> On Sun, Dec 8, 2013 at 11:52 PM, Mateusz Loskot <mateusz at loskot.net
>> <mailto:mateusz at loskot.net>> wrote:
>> I can't figure out how to customise format of lines appended by my
>> custom IOutputParser::stdError/stdOutput.
> IOutputParsers are a very differet beast from the OutputFormaters. The
> former are meant to extract warning/error lines and do not do any
> formating. The latter obviously do.
>> For example, how can I print a line in green?
> I am not sure we support this, yet in Compile Output. Basically the
> compile output is meant to be simple: Red lines are those we got from
> stderr, black lines those from stdout. That is all we do there.
Ok, I'll make use of the red lines only then.
If anything has status pass/ok in my output, I'll leave it black w/o
any extra formatting.
Mateusz Łoskot, http://mateusz.loskot.net
More information about the Qt-creator