diff options
author | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2010-05-14 11:42:28 (GMT) |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2010-05-14 11:45:36 (GMT) |
commit | 6d4e67674f0ca5824761ec29f20dd854d47b4ac7 (patch) | |
tree | fbb52216e460580def7545bdd0525f1ad16c6abb /translations/translations.pri | |
parent | 3ecb04cffdf491f5ea01eceb71de98d6ac647107 (diff) | |
download | Qt-6d4e67674f0ca5824761ec29f20dd854d47b4ac7.zip Qt-6d4e67674f0ca5824761ec29f20dd854d47b4ac7.tar.gz Qt-6d4e67674f0ca5824761ec29f20dd854d47b4ac7.tar.bz2 |
define qtPrepareTool() function and use it throughout
the function provides a cross-platform way to determine the exact
pathname of our build tools (moc, etc.).
use it in our .prf files, so we don't have to rely on qmake's
unreliable path separator normalization magic in extra compiler
commands, which broke on mingw+sh in silent mode.
remove the bootstrap tool path setting from configure, as it is
redundant now.
Reviewed-by: joerg
Task-number: QTBUG-10633
Diffstat (limited to 'translations/translations.pri')
-rw-r--r-- | translations/translations.pri | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/translations/translations.pri b/translations/translations.pri index 57089ff..30aa996 100644 --- a/translations/translations.pri +++ b/translations/translations.pri @@ -8,11 +8,7 @@ defineReplace(prependAll) { return ($$result) } -LUPDATE = $$QT_BUILD_TREE/bin/lupdate -win32 { - LUPDATE ~= s,/,$$QMAKE_DIR_SEP, - LUPDATE = $${LUPDATE}.exe -} +qtPrepareTool(LUPDATE, lupdate) LUPDATE += -locations relative -no-ui-lines ###### Qt Libraries |