Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Qt Creator ANSI colors

Qt Creator ANSI colors

Scheduled Pinned Locked Moved Qt Creator and other tools
2 Posts 2 Posters 1.6k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    HeresJonny
    wrote on last edited by
    #1

    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:

    @[36mOpened database[0m@

    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.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      You might have found a bug/misbehavior. You should consider preparing an example that shows that and open a new report.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved