Use $$system_path() to improve support MSYS environment.

--HG--
branch : release
This commit is contained in:
Roman Telezhynskyi 2018-09-21 13:35:57 +03:00
parent 252fa3a0de
commit 81f7993f43

View File

@ -60,7 +60,7 @@ for(_translation_name, INSTALL_TRANSLATIONS) {
_translation_name_ts = $$section(_translation_name_qm, ".", 0, 0).ts
!exists($$_translation_name) {
system($$shell_path($$[QT_INSTALL_BINS]/$$LRELEASE) -silent $$shell_path($${TRANSLATIONS_PATH}/$$_translation_name_ts) -qm $$shell_path($$_translation_name))
system($$system_path($$[QT_INSTALL_BINS]/$$LRELEASE) -silent $$system_path($${TRANSLATIONS_PATH}/$$_translation_name_ts) -qm $$system_path($$_translation_name))
unix {
exists($${OUT_PWD}/$$DESTDIR/valentina) {
system(rm -fv $${OUT_PWD}/$$DESTDIR/valentina) # force to call linking