summaryrefslogtreecommitdiffstats
path: root/translations/translations.pri
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-01-19 09:43:43 (GMT)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-01-19 09:46:47 (GMT)
commit7d8c3cb2e531ce6df8d14096b0b3d31f517e767a (patch)
tree0fa0ae70a65d7fb98efa12633c511886621a77db /translations/translations.pri
parent7ead8996874ab5504dcd24e9fbe1b55557a85233 (diff)
downloadQt-7d8c3cb2e531ce6df8d14096b0b3d31f517e767a.zip
Qt-7d8c3cb2e531ce6df8d14096b0b3d31f517e767a.tar.gz
Qt-7d8c3cb2e531ce6df8d14096b0b3d31f517e767a.tar.bz2
another attempt at fixing the translations build
make qmake generate proper dependencies on lrelease in vcproj/sln files
Diffstat (limited to 'translations/translations.pri')
-rw-r--r--translations/translations.pri8
1 files changed, 6 insertions, 2 deletions
diff --git a/translations/translations.pri b/translations/translations.pri
index 7a24a4f..8896654 100644
--- a/translations/translations.pri
+++ b/translations/translations.pri
@@ -8,8 +8,12 @@ defineReplace(prependAll) {
return ($$result)
}
-LUPDATE = $$QT_BUILD_TREE/bin/lupdate -locations relative -no-ui-lines
-LUPDATE ~= s,/,$$QMAKE_DIR_SEP,
+LUPDATE = $$QT_BUILD_TREE/bin/lupdate
+win32 {
+ LUPDATE ~= s,/,$$QMAKE_DIR_SEP,
+ LUPDATE = $${LUPDATE}.exe
+}
+LUPDATE += -locations relative -no-ui-lines
###### Qt Libraries