1 2 3 4 5 6 7 8 9
#ifndef MYGETTEXT_H #define MYGETTEXT_H /* this is for the Qt based translations */ extern const char *trGettext(const char *); #define translate(_context, arg) trGettext(arg) #define QT_TRANSLATE_NOOP(_context, arg) arg #endif // MYGETTEXT_H