#include <QtCore/qwaitcondition.h> #ifndef QWAITCONDITION_H #ifndef QT_NO_THREAD class QWaitCondition{ /* Some contents are skipped to improve readability */ public: QWaitCondition(); /* ... */ }; #else #endif // QT_NO_THREAD #endif // QWAITCONDITION_H