summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--translations/translations.pri5
1 files changed, 1 insertions, 4 deletions
diff --git a/translations/translations.pri b/translations/translations.pri
index 0c5c1ee..0fb91e8 100644
--- a/translations/translations.pri
+++ b/translations/translations.pri
@@ -9,12 +9,9 @@ defineReplace(prependAll) {
}
defineReplace(fixPath) {
-WIN {
- return ($$replace($$1, /, \))
-} ELSE {
+ win32:1 ~= s|/|\\|
return ($$1)
}
-}
LUPDATE = $$fixPath($$QT_BUILD_TREE/bin/lupdate) -locations relative -no-ui-lines
LRELEASE = $$fixPath($$QT_BUILD_TREE/bin/lrelease)