qt5base-lts/tests/auto/corelib/global
Olivier Goffart 123ce761c0 QT_MESSAGE_OUTPUT: add support for condition depending on the type
The motivation is to enable coloration the way KDE currently does.
It can now  be achieved with a QT_MESSAGE_OUTPUT set to
"%{appname}(%{category}) \033[31m%{if-debug}\033[34m%{endif}%{function}\033[0m: %{message}"

I was thinking about supporting directly color using something like
%{begin-category-color} that would be smart and detect if we are running
on a terminal, but it would be less flexible in the way the colors van
be configured.

Changelog: QT_MESSAGE_OUTPUT can contain conditionals based on the type
of the message

Change-Id: Icd8de04734a94a3afcbf542a5b78b290a1914960
Reviewed-by: David Faure (KDE) <faure@kde.org>
2013-02-27 22:29:43 +01:00
..
q_func_info Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qflags Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qgetputenv Add qunsetenv(), next to qputenv() and friends. 2013-02-07 01:22:40 +01:00
qglobal Merge remote-tracking branch 'origin/stable' into dev 2013-01-22 18:40:13 +01:00
qglobalstatic Add a new Q_GLOBAL_STATIC implementation 2013-01-22 17:15:58 +01:00
qlogging QT_MESSAGE_OUTPUT: add support for condition depending on the type 2013-02-27 22:29:43 +01:00
qnumeric Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qrand Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qtendian Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
global.pro Enable endianness conversions on q(u)int8 2012-03-25 13:12:24 +02:00