Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Qt Creator ANSI colors
HeresJonny last edited by
The program I am writing outputs messages to STDOUT in color. This works great in the terminal, but I am seeing the actual ANSI codes in the Application Output window. For example:
The \e shows up for me as the mathematical >= symbol. Could I have some font or locale setting that might be interfering with this working properly? From what I understand at https://codereview.qt-project.org/#/c/64183/ this should just work.
I'd be fine giving up and checking "Run in Terminal", but that isn't an option when you are deploying and running remotely. (And no, the color issue isn't specific to running remotely, it doesn't work when I run locally either.)
I'm running Qt Creator 3.2.2 on Arch, but I've noticed it on previous versions I used to run on Gentoo as well.
You might have found a bug/misbehavior. You should consider preparing an example that shows that and open a new report.