From be98fa32c7d56ea91359b647a329356fa44eca04 Mon Sep 17 00:00:00 2001 From: Kai Koehne Date: Fri, 3 Feb 2012 09:35:22 +0100 Subject: 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 Reviewed-by: David Faure --- qmake/qmake.pri | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'qmake/qmake.pri') diff --git a/qmake/qmake.pri b/qmake/qmake.pri index 1f59531c42..ba6ab383c7 100644 --- a/qmake/qmake.pri +++ b/qmake/qmake.pri @@ -76,7 +76,8 @@ bootstrap { #Qt code qvector.cpp \ qvsnprintf.cpp \ qxmlstream.cpp \ - qxmlutils.cpp + qxmlutils.cpp \ + qlogging.cpp HEADERS+= \ qbitarray.h \ -- cgit v1.2.3