From d031b54d16e74becd3a5b320c5cbed62a66c9d57 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Fri, 11 Oct 2013 13:51:03 -0700 Subject: Install qt translations into Mac bundle This is much harder than it should be... Signed-off-by: Dirk Hohndel --- subsurface-install.pri | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'subsurface-install.pri') 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 -- cgit v1.2.3-70-g09d2