Re: [Development] Configuring Qt VS Tools to auto generate .qm files from .ts files

2020-05-13 Thread Miguel Costa
erlin, Registergericht: Amtsgericht Charlottenburg, HRB 144331 B From: Development on behalf of David C. Partridge Sent: Wednesday, May 13, 2020 12:46 PM To: development@qt-project.org Subject: [Development] Configuring Qt VS Tools to auto generate .qm files from

Re: [Development] Configuring Qt VS Tools to auto generate .qm files from .ts files

2020-05-13 Thread Konstantin Ritt
in your .pro file: CONFIG += lrelease QMAKE_LRELEASE_FLAGS += -removeidentical LRELEASE_DIR = $$OUT_PWD/GeneratedFiles/i18n EXTRA_TRANSLATIONS += \ $$files($$[QT_INSTALL_TRANSLATIONS]/*.qm) \ $$files($$PWD/i18n/*.ts) Regards, Konstantin ср, 13 мая 2020 г. в 13:47, David C. Partri

[Development] Configuring Qt VS Tools to auto generate .qm files from .ts files

2020-05-13 Thread David C. Partridge
I posted a question about this here: and was directed here when I didn't get an answer there. I wanted Qt VS Tools to automatically build .ts files (ideally in a defined location such as ".\GeneratedFiles\i18n"). What I can