aboutsummaryrefslogtreecommitdiffstats
path: root/src/virtualkeyboard/lipisharedrecognizer.h
diff options
context:
space:
mode:
authorJarkko Koivikko <jarkko.koivikko@code-q.fi>2016-05-02 22:30:58 +0300
committerJarkko Koivikko <jarkko.koivikko@code-q.fi>2016-05-15 18:05:18 +0000
commite99680e6577a52fb07096eb45095125bb90cf980 (patch)
treeb6a80ffb1a7b61083f7b34382eeb5a318aadffec /src/virtualkeyboard/lipisharedrecognizer.h
parent8ac53adce34c8da7257435229954225dc8d6d6ff (diff)
Fix lipi plugin install location
Installing plugins into a data path is a very bad idea, even more so when the path disagrees with the non-prefix location. The default LIPI_ROOT contains both the plugins and the projects needed at runtime for handwriting recognition. This change adds new environment variable LIPI_LIB which points to location for plugins only. This allows the separation of the two. Change-Id: Ie50b6871b6d176b2d06ff068743b40e9daa2c5cb Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Diffstat (limited to 'src/virtualkeyboard/lipisharedrecognizer.h')
-rw-r--r--src/virtualkeyboard/lipisharedrecognizer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/virtualkeyboard/lipisharedrecognizer.h b/src/virtualkeyboard/lipisharedrecognizer.h
index e43c8163..c82b8f42 100644
--- a/src/virtualkeyboard/lipisharedrecognizer.h
+++ b/src/virtualkeyboard/lipisharedrecognizer.h
@@ -66,6 +66,7 @@ private:
static int s_lipiEngineRefCount;
static QString s_lipiRoot;
+ static QString s_lipiLib;
static void *s_lipiEngineHandle;
static FN_PTR_CREATELTKLIPIENGINE s_createLTKLipiEngine;
static FN_PTR_DELETELTKLIPIENGINE s_deleteLTKLipiEngine;