From caea6ba8c063e6eaf997d00b7c0e2a30bb712c1e Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Mon, 16 Nov 2009 14:02:21 +0100 Subject: fix mingw build when sh is in $PATH --- translations/translations.pri | 2 +- translations/translations.pro | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/translations/translations.pri b/translations/translations.pri index c423809..5eb7328 100644 --- a/translations/translations.pri +++ b/translations/translations.pri @@ -9,7 +9,7 @@ defineReplace(prependAll) { } LUPDATE = $$QT_BUILD_TREE/bin/lupdate -locations relative -no-ui-lines -win32:LUPDATE ~= s|/|\\|g +win32:isEmpty(QMAKE_SH):LUPDATE ~= s|/|\\|g ###### Qt Libraries diff --git a/translations/translations.pro b/translations/translations.pro index 22f0ace..60f84e6 100644 --- a/translations/translations.pro +++ b/translations/translations.pro @@ -1,7 +1,7 @@ TRANSLATIONS = $$files(*.ts) LRELEASE = $$QT_BUILD_TREE/bin/lrelease -win32:LRELEASE ~= s|/|\\|g +win32:isEmpty(QMAKE_SH):LRELEASE ~= s|/|\\|g contains(TEMPLATE_PREFIX, vc):vcproj = 1 -- cgit v0.12