[Qt-creator] Custom lines formatting in Compile Output

Mateusz Loskot mateusz at loskot.net
Sun Dec 8 23:52:44 CET 2013


Hi,

I think I've have learned most of details about Utils::OutputFormatter,
how it relies on the predefined set of OutputFormat enumerators and how
it's used by output window classes.

I can't figure out how to customise format of lines appended by my custom
IOutputParser::stdError/stdOutput.

For example, how can I print a line in green?
Do I need to implement my own OutputFormatter and do setFormatter on an
output window, e.g. Compile Output?

Could anyone help or point me where to look in QtC code to learn it?

Best regards,
-- 
Mateusz Łoskot, http://mateusz. loskot.net
(Sent from mobile, apology for top-posting or broken quotes)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20131208/d98cc14f/attachment.html>


More information about the Qt-creator mailing list