I found how to use .ts files in CMake:
SET(TRANS localization/en_en.ts)
QT5_ADD_TRANSLATION(QM ${TRANS})
(and added to executable files).
And when I run lupdate from the Qt menu, I have the following: lupdate warning: no TS files specified. Only diagnostics will be produced.
So how can I update * .ts for a simple CMake project?
source
share