diff --git a/lib/jkqtcommon/jkqtpdebuggingtools.cpp b/lib/jkqtcommon/jkqtpdebuggingtools.cpp index 69b90cac5a..4cd27e823e 100644 --- a/lib/jkqtcommon/jkqtpdebuggingtools.cpp +++ b/lib/jkqtcommon/jkqtpdebuggingtools.cpp @@ -21,7 +21,7 @@ #include "jkqtcommon/jkqtpdebuggingtools.h" #include #include - +#include namespace JKQTPAutoOutputTimer_private { thread_local int global_indent=0; @@ -33,9 +33,9 @@ JKQTPAutoOutputTimer::JKQTPAutoOutputTimer(const QString& _message) : this->indent=QString(JKQTPAutoOutputTimer_private::global_indent, QLatin1Char(' ')); JKQTPAutoOutputTimer_private::global_indent+=4; #if QT_VERSION >= 0x040800 - qDebug()<indent<<"TIMER_START: "<indent+"TIMER_START: "+message; #else - qDebug()<indent<<"TIMER_START: "<indent+"TIMER_START: "+message; #endif start(); } @@ -43,9 +43,9 @@ JKQTPAutoOutputTimer::JKQTPAutoOutputTimer(const QString& _message) : JKQTPAutoOutputTimer::~JKQTPAutoOutputTimer() { #if QT_VERSION >= 0x040800 - qDebug()<indent<<"TIMER_END: "<indent+"TIMER_END: "+message+" DUR: "<indent<<"TIMER_END: "<indent+"TIMER_END: "+message+" DUR: "<= 0x040800 - qDebug()<indent<<"TIMER_MESSAGE: "<message<<" "<indent+"TIMER_MESSAGE: "+this->message+" "+message+" DUR: "<indent<<"TIMER_MESSAGE: "<message<<" "<indent+"TIMER_MESSAGE: "+this->message+" "+message+" DUR: "<