"QXT" is just for historical reasons the using of a macro instead of qDebug allows us to #define if we really want to debug a particular file or feature and also transparently outputting other valuable data like file/class names without cluttering the debug statement.