summaryrefslogtreecommitdiffstats
path: root/tools/linguist
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2009-09-23 14:41:17 (GMT)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2009-10-01 16:05:04 (GMT)
commit6ee282013b82b5f46fa972296b801eab55c614c1 (patch)
tree84ac64ee037b6857b03068874a0d301043ed5ee4 /tools/linguist
parent504e6c63bc7fc577b2a97b0e459bab4f872652e6 (diff)
downloadQt-6ee282013b82b5f46fa972296b801eab55c614c1.zip
Qt-6ee282013b82b5f46fa972296b801eab55c614c1.tar.gz
Qt-6ee282013b82b5f46fa972296b801eab55c614c1.tar.bz2
fix ts and qm targets for shadow builds and builds with -prefix
Diffstat (limited to 'tools/linguist')
-rw-r--r--tools/linguist/linguist/linguist.pro16
1 files changed, 9 insertions, 7 deletions
diff --git a/tools/linguist/linguist/linguist.pro b/tools/linguist/linguist/linguist.pro
index c7f6f1c..c902aeb 100644
--- a/tools/linguist/linguist/linguist.pro
+++ b/tools/linguist/linguist/linguist.pro
@@ -95,10 +95,12 @@ FORMS += statistics.ui \
finddialog.ui
RESOURCES += linguist.qrc
-TRANSLATIONS=$$[QT_INSTALL_TRANSLATIONS]/linguist_ja.ts \
- $$[QT_INSTALL_TRANSLATIONS]/linguist_pl.ts \
- $$[QT_INSTALL_TRANSLATIONS]/linguist_ru.ts \
- $$[QT_INSTALL_TRANSLATIONS]/linguist_zh_CN.ts \
- $$[QT_INSTALL_TRANSLATIONS]/linguist_zh_TW.ts \
- $$[QT_INSTALL_TRANSLATIONS]/linguist_de.ts \
- $$[QT_INSTALL_TRANSLATIONS]/linguist_fr.ts
+TR_DIR = $$PWD/../../../translations
+TRANSLATIONS = \
+ $$TR_DIR/linguist_de.ts \
+ $$TR_DIR/linguist_fr.ts \
+ $$TR_DIR/linguist_ja.ts \
+ $$TR_DIR/linguist_pl.ts \
+ $$TR_DIR/linguist_ru.ts \
+ $$TR_DIR/linguist_zh_CN.ts \
+ $$TR_DIR/linguist_zh_TW.ts