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