#include <QtCore/qdebug.h> #ifndef QDEBUG_H #if !defined(QT_NO_DEBUG_STREAM) class QDebug{ /* Some contents are skipped to improve readability */ private: struct QDebug::Stream* stream; /* ... */ }; #else // QT_NO_DEBUG_STREAM #endif #endif // QDEBUG_H