summaryrefslogtreecommitdiffstats
path: root/examples/translations/translations.pro
diff options
context:
space:
mode:
authorNiels Weber <niels.weber@digia.com>2015-01-29 12:29:09 +0100
committerNiels Weber <niels.weber@theqtcompany.com>2015-02-09 10:06:46 +0000
commit52ebff797da4a29f61459fd6d183d2e07498c591 (patch)
treeafe58065d5ad36faee01a9f5268c57fa006e9a3e /examples/translations/translations.pro
parent04dcfb68cb7e2c3995f0b66b1bbd926b1864819b (diff)
Add a translation example
Add an example showing how the translation of components works. Also document this. Make translated license files work again. Task-number: QTIFW-469 Change-Id: I3c13ecc9941b09370d0713b19b2683b42454c43c Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
Diffstat (limited to 'examples/translations/translations.pro')
-rw-r--r--examples/translations/translations.pro13
1 files changed, 13 insertions, 0 deletions
diff --git a/examples/translations/translations.pro b/examples/translations/translations.pro
new file mode 100644
index 000000000..415df49d5
--- /dev/null
+++ b/examples/translations/translations.pro
@@ -0,0 +1,13 @@
+TEMPLATE = aux
+
+INSTALLER = installer
+
+INPUT = $$PWD/config/config.xml $$PWD/packages
+example.input = INPUT
+example.output = $$INSTALLER
+example.commands = ../../bin/binarycreator -c $$PWD/config/config.xml -p $$PWD/packages ${QMAKE_FILE_OUT}
+example.CONFIG += target_predeps no_link combine
+
+QMAKE_EXTRA_COMPILERS += example
+
+OTHER_FILES = README