Go to the documentation of this file.
65 #ifndef COMMON_QDEBUG_H
66 #define COMMON_QDEBUG_H
71 #define EXT_DEBUG_BODY(msg) __FILE__ << "(" << __LINE__ << "):" << __FUNCTION__ << msg
74 #define QTRACE(msg) ((void)0)
75 #define QDEBUG(msg) ((void)0)
76 #define QDEBUG_ACCURATE(msg) ((void)0)
79 #define QTRACE(msg) ((void)0)
83 #define QDEBUG(msg) qDebug() << __FUNCTION__ << msg
87 #endif // XSENS_RELEASE
89 #define QWARNING(msg) qWarning() << EXT_DEBUG_BODY(msg)
90 #define QCRITICAL(msg) qCritical() << EXT_DEBUG_BODY(msg)
91 #define QFATAL(msg) do not use this macro! qFatal has weird side-effects!