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. [SOLVED] Qt Creator - Terminal Text Color
Forum Updated to NodeBB v4.3 + New Features

[SOLVED] Qt Creator - Terminal Text Color

Scheduled Pinned Locked Moved Qt Creator and other tools
4 Posts 2 Posters 5.8k 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.
  • G Offline
    G Offline
    goocreations
    wrote on last edited by
    #1

    I'm running Ubuntu and Qt Creator 2.7.0. The terminal output at the bottom of QT Creator: can it output text colors as specified "here":http://en.wikipedia.org/wiki/ANSI_escape_code#Colors ? I correctly shows up in gnome-terminal and xterm, but when running it in Qt Creator, the characters are not escaped and I get plain output, for example:

    @[1;32mStatus: [1;34mThemeManager[1;37m Theme loaded. [0m@

    Any ideas on how to enable the colors?

    1 Reply Last reply
    0
    • T Offline
      T Offline
      tobias.hunger
      wrote on last edited by
      #2

      Qt Creator does not support ANSI sequences. So you will need to run this in a terminal to see the proper colors.

      1 Reply Last reply
      0
      • G Offline
        G Offline
        goocreations
        wrote on last edited by
        #3

        I've figured that out. There are already a number of requests for this on the Qt bug tracker. We'll have to wait and see what happens. Thanks anyway.

        1 Reply Last reply
        0
        • T Offline
          T Offline
          tobias.hunger
          wrote on last edited by
          #4

          Currently I do not plan on implementing this.

          I recently did a filter to remove ANSI codes from the compiler output and getting that working was annoying enough enough;)

          Full ANSI support is a huge task, and I doubt that it is worth the effort to do it. Maybe if somebody writes a good cross-platform terminal emulator that we can integrate...

          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