> On Apr 16, 2014, at 3:10 PM, Andr? Hartmann <[email protected]> > wrote: > > > Hi Alfonso, > > > >> On a somewhat related topic, is it possible to use ANSI escape codes > >> to color-code the output from my external tool in the General Messages > >> output pane? > > > > With this change: https://codereview.qt-project.org/#change,64183 > > > > at least ANSI escape code support for compile and application output > > pane was added. I'm not sure how easy it is to extend this to the > > "General Messages" pane. > > Actually there is > https://bugreports.qt-project.org/browse/QTCREATORBUG-9686 too, which > would solve your issue by using the app output panes instead ;) > It?s a non-trivial task though (but more or less mechanical work, I > guess), since the whole ?app output? infrastructure needs to move to the > core plugin for this to happen. > > Br, Eike > > > and would like to enable similar source file/line number linking > >> functionality. > > > > I'm interested in this, too. > > > > Best regards, > > Andre > > > >> Hi, > >> > >> I have noticed that when a Q_ASSERT statement fails when running an > >> application in Qt Creator, Qt Creator kindly makes a link out of the > >> file/line number where the failure occurred in the Application Output > >> pane. This is very helpful, as one can click on this link and it jumps > >> you to the exact line where the Q_ASSERT is. > >> > >> I am working on integrating an external tool I have developed into Qt > >> Creator and would like to enable similar source file/line number linking > >> functionality. Since the output of this external tool is displayed in > >> the General Messages output pane, it would need to be linkable from that > >> output pane. Is this possible? If so, is there some special syntax I > >> need to use when outputting the linkable text using qDebug()? > >> > >> On a somewhat related topic, is it possible to use ANSI escape codes to > >> color-code the output from my external tool in the General Messages > >> output pane? > >> > >> Thanks! > >> > >> Alfonso
Thanks Andre and Eike for the information. It looks like there may be some non-trivial work to do to get the ANSI escape colors working for external tool output. What about linking to source/line numbers? Is this currently possible in the General Messages output pane? If so, what syntax would I need to use to create a link? Thanks, Alfonso _______________________________________________ Qt-creator mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/qt-creator
