I have a large project with a QMake project file that defines all the project components using the 'sub-date' template Does. At present, I define translation files in the QMake files of each sub-project, which results in different translation files for each sub-project, which is quickly cumbersome to maintain it.
How do I create a single translation file with all the translation strings for Lupadet to all sub-projects?
First of all your pro files to supporters And primary files then all the pre files in a global pro file and generates a language file for that pro file.
The Special Language Pro file looks like this:
TEMPLATE = app DEPENDPATH + = Proj1 Proj2 Proj3 includes (Proj1 / Proj1.pri) (Proj2 / Proj2.pri) included (ProJ3 / ProJ3.pri) translate = en.ts fr ts.name.t ja.main.ts nl.main.ts
a script easily This project can generate language files for you.
No comments:
Post a Comment