#include <QtCore/qglobal.h> #ifndef QGLOBAL_H #ifndef Q_CONSTRUCTOR_FUNCTION #define Q_CONSTRUCTOR_FUNCTION(AFUNC) static const int AFUNC ## __init_variable__ = AFUNC(); #endif #endif /* QGLOBAL_H */