summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/global/qlogging/tst_qlogging.pro
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@nokia.com>2012-02-03 09:35:22 +0100
committerQt by Nokia <qt-info@nokia.com>2012-02-09 18:11:21 +0100
commitbe98fa32c7d56ea91359b647a329356fa44eca04 (patch)
tree7d3941bcfe07aebb95e74e7344c774f36eaccf17 /tests/auto/corelib/global/qlogging/tst_qlogging.pro
parente7e87993042ac9a4fd899da5ea0340322b47d9ff (diff)
Allow customization of qDebug output at runtime
Check the QT_OUTPUT_PATTERN environment variable in the default message handler to customize the output of messages. Following place holders are right now supported: %{message}, %{type}, %{file}, %{line}, %{function} The original cleanupFuncinfo was written by Thiago Macieira. Change-Id: I6ad25baaa0e6a1c9f886105d2a93ef3310e512a9 Reviewed-by: Olivier Goffart <ogoffart@woboq.com> Reviewed-by: David Faure <faure@kde.org>
Diffstat (limited to 'tests/auto/corelib/global/qlogging/tst_qlogging.pro')
-rw-r--r--tests/auto/corelib/global/qlogging/tst_qlogging.pro4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/corelib/global/qlogging/tst_qlogging.pro b/tests/auto/corelib/global/qlogging/tst_qlogging.pro
new file mode 100644
index 0000000000..60377e0fdc
--- /dev/null
+++ b/tests/auto/corelib/global/qlogging/tst_qlogging.pro
@@ -0,0 +1,4 @@
+CONFIG += testcase parallel_test
+TARGET = tst_qlogging
+QT = core testlib
+SOURCES = tst_qlogging.cpp