Unsolved Deploy Qt application with translation files
-
I've inherited a Qt application which includes translations for a couple of languages, and now I'd like to create installers for linux and windows. However, I'm not sure where to store the application's qm files. In windows it's possible to just store the translation files in the same directory where the executable is stored, but the standard practice in linux distributions like Debian involves storing data files in specific paths within the filesystem.
Therefore, what's the best way to deploy Qt applications with translation files?
-
what's the best way to deploy Qt applications with translation files?
If you have access to the source code please check how the application is loading such translation files, or where it's expecting them to be. For instance, it may load the .qm files from the resource system (check if you have a .qrc file) and therefore the .qm files you see end up embedded in the executable