Run lupdate or lrelease from pro file qt 5.10
-
Hello,
i have an qt 5.10 on my embedded linux system and i need to translate some error messages.
My project has multiple sub projects and for every subproject i need a seperate ts / qm file.
CONFIG += lrelease and CONFIG += embed_translations still doesnt exist in qt 5.10. It has been added in qt5.12 so i have to start it manually from the pro file. For example: /path to qt version/lrelease profile.pro- Question: Is this possible and how?
- is lupdate automatically called if lrelease starts
- Are the qm files platform independant?
Thanks :-)
-
Hello,
i have an qt 5.10 on my embedded linux system and i need to translate some error messages.
My project has multiple sub projects and for every subproject i need a seperate ts / qm file.
CONFIG += lrelease and CONFIG += embed_translations still doesnt exist in qt 5.10. It has been added in qt5.12 so i have to start it manually from the pro file. For example: /path to qt version/lrelease profile.pro- Question: Is this possible and how?
- is lupdate automatically called if lrelease starts
- Are the qm files platform independant?
Thanks :-)
@d-rein Why don't you add that functionality to lrelease.prf? You can copy the lrelease.prf of a higher version and copy it to your Qt 5.10, see https://github.com/qt/qtbase/blob/5.15.2/mkspecs/features/lrelease.prf