#include <QtCore/qglobal.h> #ifndef QGLOBAL_H #if defined(__cplusplus) template < int > class QIntForSize{ /* Some contents are skipped to improve readability */ private: typedef void Type; /* ... */ }; #endif /* __cplusplus */ #endif /* QGLOBAL_H */