Force qmake to update QM files.
--HG-- branch : develop
This commit is contained in:
parent
eb0d259f16
commit
2be2c00521
|
@ -2024,6 +2024,12 @@ for(_translation_name, INSTALL_TRANSLATIONS) {
|
|||
|
||||
!exists($${PWD}/$$_translation_name) {
|
||||
system($$shell_path($$[QT_INSTALL_BINS]/$$LRELEASE) $$shell_path($${PWD}/$${TRANSLATIONS_PATH}/$$_translation_name_ts) -qm $$shell_path($${PWD}/$$_translation_name))
|
||||
unix {
|
||||
exists($${OUT_PWD}/$$DESTDIR/valentina) {
|
||||
system(rm -fv $${OUT_PWD}/$$DESTDIR/valentina)
|
||||
}
|
||||
system(rm -fv $${OUT_PWD}/$$DESTDIR/translations/*.qm)
|
||||
}
|
||||
}
|
||||
QMAKE_CLEAN += $${PWD}/$$_translation_name
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user