aboutsummaryrefslogtreecommitdiffstats
path: root/src/virtualkeyboard/plugin.cpp
diff options
context:
space:
mode:
authorJarkko Koivikko <jarkko.koivikko@code-q.fi>2015-12-01 15:29:24 +0200
committerJarkko Koivikko <jarkko.koivikko@code-q.fi>2015-12-07 07:20:28 +0000
commit97d9648f5d950ea7d7b64f5c2db67359e8f47013 (patch)
tree62374298f3e3d1d2d1ba33a1036b89aadc6af8c3 /src/virtualkeyboard/plugin.cpp
parent180f8c92ef6d64c50efbedf643d66ca8ea6df1f2 (diff)
Improve build configuration
Add new configuration flags to simplify the customization process of the virtual keyboard. - lang-<code> flag enables the specified language. - lang-all flag enables all the languages. - handwriting flag enables the handwriting input method (t9write or lipi-toolkit) Updated test cases and also fixed the virtual keyboard for single language support. Change-Id: I599816bed591bd193ad26cef0e9bf4812146e865 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
Diffstat (limited to 'src/virtualkeyboard/plugin.cpp')
-rw-r--r--src/virtualkeyboard/plugin.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/virtualkeyboard/plugin.cpp b/src/virtualkeyboard/plugin.cpp
index 1e078574..683c9e05 100644
--- a/src/virtualkeyboard/plugin.cpp
+++ b/src/virtualkeyboard/plugin.cpp
@@ -103,6 +103,7 @@ QPlatformInputContext *QVirtualKeyboardPlugin::create(const QString &system, con
#ifdef HAVE_T9WRITE
Q_INIT_RESOURCE(t9write_db);
#endif
+ Q_INIT_RESOURCE(layouts);
if (!qEnvironmentVariableIsSet(inputMethodEnvVarName) || qgetenv(inputMethodEnvVarName) != pluginName)
return Q_NULLPTR;