Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-18264

Compile error tooltip layouts text wrongly.

XMLWordPrintable

    • 98346aaab1b4016a1e44aef715761552a3b80775 (qt-creator/qt-creator/master)

      The gcc compiler outputs error messages like:

      ../SpeedTest/main.cpp:57:48: error: no matching function for call to 'QVector<NoPimpl>::insert(int&, SimplePimpl)'
          vecNP.insert(foundId, SimplePimpl(val,0.));
                                                   ^

      using ASCII art for the '^' position taking monospaced font into account.

      A shortcut to see the error output of the compiler is to hover the mouse pointer over the "red exclamation mark". This pops up a tooltip showing the error text of the compiler.
      However, this tooltip text is rendered with proportional font, destroying the ASCII art of the text: the '^' indicator points to the wrong place ....

      Using the same font as in the output panel should solve the issue.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            kandeler Christian Kandeler
            moellney Michael Möllney
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes