According to qlogging.h
#define qDebug QMessageLogger(__FILE__, __LINE__, Q_FUNC_INFO).debug
but when I use it, the file name, line, function is not displayed.
qDebug()<< "abc";
qDebug()<< "";
I searched for a while, it seems I did not have such a problem as described above.
I am using ubuntu14.04, g ++ version 4.8.2, qt5.3 build from git.
source
share