qt5base-lts/tests/auto
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
..
bic/data Remove QPointerBase bic check. 2013-02-13 15:06:53 +01:00
cmake Merge remote-tracking branch 'origin/stable' into dev 2013-01-28 11:10:29 +01:00
compilerwarnings/data Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
concurrent Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
corelib QT_MESSAGE_OUTPUT: add support for condition depending on the type 2013-02-27 22:29:43 +01:00
dbus Merge remote-tracking branch 'origin/stable' into dev 2013-01-28 11:10:29 +01:00
gui Introduced QWindow::setMask() to expose existing platform functionality. 2013-02-27 09:11:18 +01:00
guiapplauncher Update the documentation after moving examples. 2011-07-05 21:19:08 +02:00
network Add an encrypted() signal to QNetworkAccessManager and QNetworkReply. 2013-02-19 21:37:32 +01:00
opengl Remove duplicated code for handling OpenGL extensions in QtOpenGL 2013-02-17 20:31:30 +01:00
other Check for network module when building according auto tests 2013-02-19 19:20:53 +01:00
printsupport Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
shared Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
sql Merge remote-tracking branch 'origin/stable' into dev 2013-02-18 16:14:52 +01:00
testlib Merge remote-tracking branch 'origin/stable' into dev 2013-01-28 11:10:29 +01:00
tools Don't run qmake test that requires macx makespec on non Mac OS platforms 2013-02-20 00:46:50 +01:00
widgets Merge remote-tracking branch 'origin/stable' into dev 2013-02-20 22:08:29 +01:00
xml Check for network module when building according auto tests 2013-02-19 19:20:53 +01:00
auto.pro Check for printsupport module when building according auto tests 2013-02-19 19:20:58 +01:00
network-settings.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qtest-config.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
test.pl Fix test script 2013-02-27 18:02:22 +01:00