#include <QtCore/qglobal.h> #ifndef QGLOBAL_H #if defined(__cplusplus) #if defined(QT_NO_THREAD) #else template < typename T > class QGlobalStatic{ /* Some contents are skipped to improve readability */ public: inline QGlobalStatic(); /* ... */ }; #endif #endif /* __cplusplus */ #endif /* QGLOBAL_H */