Hi all,

I put common functions in a dynamical linked library for my main app. The strings and forms of main app are translated and will be loaded with QTranslator::load(...) and installed with QApplication::installTranslator(...), it works. But the translated strings and forms in the lib are not used, always english only! App and lib translation loading and installing are the same:

Qt Code:
  1. QTranslator translator;
  2. translator.load("german.qm");
  3.  
  4. QApplication::installTranslator(&translator);
To copy to clipboard, switch view to plain text mode 

Why are the strings and forms from lib in english only? Any hints?

Thanks!
Chris