View Full Version : QTranslator and loading only if program is running under Qt Creator
Hostel
30th October 2010, 15:03
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?
wysota
30th October 2010, 15:09
You should not use relative paths to translation files.
Hostel
30th October 2010, 15:15
Thanks. Adding a directory which I recived from QApplication::applicationDirPath() solves problem.
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.