summaryrefslogtreecommitdiffstats
path: root/subsurface-install.pri
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-10-11 13:51:03 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-10-11 13:51:03 -0700
commitd031b54d16e74becd3a5b320c5cbed62a66c9d57 (patch)
tree7d3a068d1ce390a6d1f2bcdb6bef9c93c5813c73 /subsurface-install.pri
parent344fc98bfc0e1ac4db3a67d1c5f68472531bc1df (diff)
downloadsubsurface-d031b54d16e74becd3a5b320c5cbed62a66c9d57.tar.gz
Install qt translations into Mac bundle
This is much harder than it should be... Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface-install.pri')
-rw-r--r--subsurface-install.pri4
1 files changed, 3 insertions, 1 deletions
diff --git a/subsurface-install.pri b/subsurface-install.pri
index 9d674153f..eae2a661c 100644
--- a/subsurface-install.pri
+++ b/subsurface-install.pri
@@ -2,6 +2,7 @@ marbledir.files = $$MARBLEDIR
xslt.files = $$XSLT_FILES
doc.files = $$DOC_FILES
translation.files = $$replace(TRANSLATIONS, .ts, .qm)
+qttranslation.files = $$join(QTTRANSLATIONS," "$$[QT_INSTALL_TRANSLATIONS]/,$$[QT_INSTALL_TRANSLATIONS]/)
nltab = $$escape_expand(\\n\\t)
@@ -22,8 +23,9 @@ mac {
xslt.path = $$datadir
doc.path = $$datadir/doc
translation.path = Contents/Resources/translations
+ qttranslation.path = Contents/Resources/translations
doc.files = $$files($$doc.files)
- QMAKE_BUNDLE_DATA += marbledir xslt doc translation
+ QMAKE_BUNDLE_DATA += marbledir xslt doc translation qttranslation
mac_deploy.target = mac-deploy
mac_deploy.commands += $$[QT_INSTALL_BINS]/macdeployqt $${TARGET}.app