summaryrefslogtreecommitdiffstats
path: root/tools/assistant
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/assistant
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/assistant')
-rw-r--r--tools/assistant/translations/qt_help.pro16
-rw-r--r--tools/assistant/translations/translations.pro16
-rw-r--r--tools/assistant/translations/translations_adp.pro14
3 files changed, 26 insertions, 20 deletions
diff --git a/tools/assistant/translations/qt_help.pro b/tools/assistant/translations/qt_help.pro
index 7d92d06..69570d3 100644
--- a/tools/assistant/translations/qt_help.pro
+++ b/tools/assistant/translations/qt_help.pro
@@ -39,12 +39,14 @@ HEADERS += ../lib/qhelpcollectionhandler_p.h \
../lib/qhelp_global.h
-TRANSLATIONS=$$[QT_INSTALL_TRANSLATIONS]/qt_help_de.ts \
- $$[QT_INSTALL_TRANSLATIONS]/qt_help_ja.ts \
- $$[QT_INSTALL_TRANSLATIONS]/qt_help_pl.ts \
- $$[QT_INSTALL_TRANSLATIONS]/qt_help_ru.ts \
- $$[QT_INSTALL_TRANSLATIONS]/qt_help_zh_CN.ts \
- $$[QT_INSTALL_TRANSLATIONS]/qt_help_zh_TW.ts \
- $$[QT_INSTALL_TRANSLATIONS]/qt_help_da.ts
+TR_DIR = $$PWD/../../../translations
+TRANSLATIONS = \
+ $$TR_DIR/qt_help_da.ts \
+ $$TR_DIR/qt_help_de.ts
+ $$TR_DIR/qt_help_ja.ts \
+ $$TR_DIR/qt_help_pl.ts \
+ $$TR_DIR/qt_help_ru.ts \
+ $$TR_DIR/qt_help_zh_CN.ts \
+ $$TR_DIR/qt_help_zh_TW.ts
error("This is a dummy profile to be used for translations ONLY.")
diff --git a/tools/assistant/translations/translations.pro b/tools/assistant/translations/translations.pro
index b3dbd10..6ff1fc9 100644
--- a/tools/assistant/translations/translations.pro
+++ b/tools/assistant/translations/translations.pro
@@ -40,10 +40,12 @@ HEADERS += ../tools/assistant/aboutdialog.h \
../tools/assistant/searchwidget.h \
../tools/assistant/topicchooser.h \
-TRANSLATIONS=$$[QT_INSTALL_TRANSLATIONS]/assistant_de.ts \
- $$[QT_INSTALL_TRANSLATIONS]/assistant_ja.ts \
- $$[QT_INSTALL_TRANSLATIONS]/assistant_pl.ts \
- $$[QT_INSTALL_TRANSLATIONS]/assistant_ru.ts \
- $$[QT_INSTALL_TRANSLATIONS]/assistant_zh_CN.ts \
- $$[QT_INSTALL_TRANSLATIONS]/assistant_zh_TW.ts \
- $$[QT_INSTALL_TRANSLATIONS]/assistant_da.ts
+TR_DIR = $$PWD/../../../translations
+TRANSLATIONS = \
+ $$TR_DIR/assistant_da.ts \
+ $$TR_DIR/assistant_de.ts \
+ $$TR_DIR/assistant_ja.ts \
+ $$TR_DIR/assistant_pl.ts \
+ $$TR_DIR/assistant_ru.ts \
+ $$TR_DIR/assistant_zh_CN.ts \
+ $$TR_DIR/assistant_zh_TW.ts
diff --git a/tools/assistant/translations/translations_adp.pro b/tools/assistant/translations/translations_adp.pro
index 4ff6576..852bdeb 100644
--- a/tools/assistant/translations/translations_adp.pro
+++ b/tools/assistant/translations/translations_adp.pro
@@ -31,11 +31,13 @@ HEADERS += ../compat/helpwindow.h \
../compat/fontsettingsdialog.h
-TRANSLATIONS=$$[QT_INSTALL_TRANSLATIONS]/assistant_adp_de.ts \
- $$[QT_INSTALL_TRANSLATIONS]/assistant_adp_ja.ts \
- $$[QT_INSTALL_TRANSLATIONS]/assistant_adp_pl.ts \
- $$[QT_INSTALL_TRANSLATIONS]/assistant_adp_ru.ts \
- $$[QT_INSTALL_TRANSLATIONS]/assistant_adp_zh_CN.ts \
- $$[QT_INSTALL_TRANSLATIONS]/assistant_adp_zh_TW.ts
+TR_DIR = $$PWD/../../../translations
+TRANSLATIONS = \
+ $$TR_DIR/assistant_adp_de.ts \
+ $$TR_DIR/assistant_adp_ja.ts \
+ $$TR_DIR/assistant_adp_pl.ts \
+ $$TR_DIR/assistant_adp_ru.ts \
+ $$TR_DIR/assistant_adp_zh_CN.ts \
+ $$TR_DIR/assistant_adp_zh_TW.ts
error("This is a dummy profile to be used for translations ONLY.")