[Interest] deploying translatations when cross-compiling

Bob Hood bhood2 at comcast.net
Sun May 8 15:35:18 CEST 2016


On 5/8/2016 5:06 AM, Boudewijn Rempt wrote:
> I'm building my project on Linux, using mxe, for Windows. When I package
> everything up, I copy all the Qt translations into a "translations folder
> in the folder where my application exe is, but the Qt transaltions aren't
> used:
>
>
> krita/bin/krita.exe
> krita/bin/translations/qtbase_ja.qm
> etc.
>
> What else do I need to do to make sure Qt finds its own translations? I
> don't have the windeployqt utiliy on Linux.
>

You could manually create a "qt.conf" file in the bin/ folder, and have it 
point at the translations folder, e.g.:

     [Paths]
     Prefix = .
     Translations = translations




More information about the Interest mailing list