#include <QtCore/qthreadstorage.h> #ifndef QTHREADSTORAGE_H #ifndef QT_NO_THREAD class QThreadStorageData{ /* Some contents are skipped to improve readability */ public: int id; /* ... */ }; #endif // QT_NO_THREAD #endif // QTHREADSTORAGE_H