#include <QtCore/qglobal.h> #ifndef QGLOBAL_H #if defined(__cplusplus) enum QtMsgType{ /* Some contents are skipped to improve readability */ QtWarningMsg = 1, /* ... */ }; #endif /* __cplusplus */ #endif /* QGLOBAL_H */