-
Bug
-
Resolution: Done
-
P2: Important
-
5.4.2, 5.11.1
-
CentOS 7
This DOES work for lupdate, but appears to not work for lrelease.
I want my independent apps to have their own generated .ts and .qm files. So I put the TRANSLATION keyword in the .pro of those specific apps. Those apps are built through a top level .pro file of type SUBDIR.
I want to run lupdate and lrelease on just the subdir to take care of it all in one shot. lupdate works, but lrelease complains that my subdir .pro has no translations. Error:
lrelease warning: Met no 'TRANSLATIONS' entry in project file <subdir pro file>.
toplevel.pro
TEMPLATE = subdirs SUBDIRS += subapp
subapp.pro
TEMPLATE = app SOURCES += main.cpp / qtclassobject.cpp TRANSLATIONS = subapp_es.ts