aboutsummaryrefslogtreecommitdiffstats
path: root/src/src.pro
diff options
context:
space:
mode:
authorJarkko Koivikko <jarkko.koivikko@code-q.fi>2015-11-17 09:33:53 +0200
committerJarkko Koivikko <jarkko.koivikko@code-q.fi>2015-11-27 11:02:45 +0000
commit8177619e003eaf6097a27bc9e3abd7e8fcdd7d1d (patch)
tree67cf3cb0fdf794e64447012956d61f2b151b225e /src/src.pro
parent52cd240a4d11e297f67e620f3516064105cc0de1 (diff)
Add Zhuyin input method for Traditional Chinese
Zhuyin can be enabled with CONFIG+=tcime or CONFIG+=zhuyin qmake flags. Note that CONFIG+=tcime enables both Cangjie and Zhuyin input methods. You can also enable the Cangjie input method with CONFIG+=cangjie, in which case the Zhuyin input method will not be activated, unless the config contains CONFIG+=zhuyin also. Change-Id: Iddea01f3e3d7f1dafff80e17da5b7cf89d4cfc55 Task-number: QTRD-3726 Reviewed-by: Rainer Keller <rainer.keller@theqtcompany.com> Reviewed-by: Liang Qi <liang.qi@theqtcompany.com>
Diffstat (limited to 'src/src.pro')
-rw-r--r--src/src.pro7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/src.pro b/src/src.pro
index ca5b8481..ce81edbd 100644
--- a/src/src.pro
+++ b/src/src.pro
@@ -19,7 +19,12 @@ pinyin {
virtualkeyboard.depends += sub-virtualkeyboard-3rdparty-pinyin
}
-tcime {
+!tcime {
+ cangjie: CONFIG += tcime
+ zhuyin: CONFIG += tcime
+}
+
+contains(CONFIG, tcime) {
SUBDIRS += virtualkeyboard/3rdparty/tcime
virtualkeyboard.depends += sub-virtualkeyboard-3rdparty-tcime
}