QTranslator and loading only if program is running under Qt Creator
I have a problem. In Qt Creator I can load another language by QTranslator.load() (it's return true), but when I run program outside Qt Creator I always get false when I'm making load method. What I should make to solve this problem?
Re: QTranslator and loading only if program is running under Qt Creator
You should not use relative paths to translation files.
Re: QTranslator and loading only if program is running under Qt Creator
Thanks. Adding a directory which I recived from QApplication::applicationDirPath() solves problem.