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.pro | |
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.pro')
-rw-r--r-- | translations/translations.pro | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/translations/translations.pro b/translations/translations.pro index 8f37451..c6d46a3 100644 --- a/translations/translations.pro +++ b/translations/translations.pro @@ -1,10 +1,6 @@ TRANSLATIONS = $$files(*.ts) -LRELEASE = $$QT_BUILD_TREE/bin/lrelease -win32 { - LRELEASE ~= s,/,$$QMAKE_DIR_SEP, - LRELEASE = $${LRELEASE}.exe -} +qtPrepareTool(LRELEASE, lrelease) contains(TEMPLATE_PREFIX, vc):vcproj = 1 |