#ifndef DEBUGUTIL_H #define DEBUGUTIL_H #include <QDebug> #ifndef NODEBUG #define Debug(x) qDebug() << #x << ":" << (x); #else #define Debug(x) #endif // DEBUG #endif // DEBUGUTIL_H