#include <QtCore/qmutex.h> #ifndef QMUTEX_H #ifndef QT_NO_THREAD class QMutex{ /* Some contents are skipped to improve readability */ private: struct QMutexPrivate* d; /* ... */ }; #else // QT_NO_THREAD #endif // QT_NO_THREAD #endif // QMUTEX_H