> Another consideration is that tr() is only available in classes derived > from > QObject - but since normally the strings you want to translate are > generated > in Gui-classes this is normally the case. iirc tr is a static method of QObject, ie QObject::tr() should be possible regardless of inheritance.