aboutsummaryrefslogtreecommitdiffstats
path: root/src/virtualkeyboard/doc
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@qt.io>2016-08-01 11:02:50 +0200
committerLiang Qi <liang.qi@qt.io>2016-08-01 11:02:55 +0200
commitad1da1a8c3be6ec804f3965b47d0762654f81731 (patch)
tree59e7e6615f57fa25b3a6d507da215642e6cf4855 /src/virtualkeyboard/doc
parentd231a184ae3746027a0c294a88f56ae5123ca85c (diff)
parent68c30e00b0d9850643611d5ba9c29a247ccd44ec (diff)
Merge remote-tracking branch 'origin/5.6' into 5.7
Diffstat (limited to 'src/virtualkeyboard/doc')
-rw-r--r--src/virtualkeyboard/doc/src/deployment-guide.qdoc75
-rw-r--r--src/virtualkeyboard/doc/src/user-guide.qdoc2
2 files changed, 76 insertions, 1 deletions
diff --git a/src/virtualkeyboard/doc/src/deployment-guide.qdoc b/src/virtualkeyboard/doc/src/deployment-guide.qdoc
index 726ff8a3..4e4bfd1a 100644
--- a/src/virtualkeyboard/doc/src/deployment-guide.qdoc
+++ b/src/virtualkeyboard/doc/src/deployment-guide.qdoc
@@ -144,4 +144,79 @@ as it would then overlap with the contents of the application. Also, the
input panel height will be automatically updated according to the available
width; the aspect ratio of the input panel is constant.
+\section1 Environment Variables
+
+There are several environment variables defined by the module that are listed below:
+
+\table
+ \header
+ \li Variable
+ \li Purpose
+ \row
+ \li QT_VIRTUALKEYBOARD_HUNSPELL_DATA_PATH
+ \li Overrides the location of the Hunspell data files.
+
+ The default location depends on the value of
+ \c {QLibraryInfo::location(QLibraryInfo::DataPath)}.
+ For example, for Qt libraries built from source,
+ it could be \c {qtbase/qtvirtualkeyboard/hunspell}.
+
+ See \l {Hunspell Integration} for more information.
+ \row
+ \li QT_VIRTUALKEYBOARD_PINYIN_DICTIONARY
+ \li Overrides the location of the Pinyin dictionary.
+
+ The default location depends on the value of
+ \c {QLibraryInfo::location(QLibraryInfo::DataPath)}.
+ For example, for Qt libraries built from source,
+ it could be \c {qtbase/qtvirtualkeyboard/pinyin/dict_pinyin.dat}.
+ \row
+ \li QT_VIRTUALKEYBOARD_CANGJIE_DICTIONARY
+ \li Overrides the location of the Cangjie dictionary.
+
+ The default location depends on the value of
+ \c {QLibraryInfo::location(QLibraryInfo::DataPath)}.
+ For example, for Qt libraries built from source,
+ it could be \c {qtbase/qtvirtualkeyboard/tcime/dict_cangjie.dat}.
+ \row
+ \li QT_VIRTUALKEYBOARD_ZHUYIN_DICTIONARY
+ \li Overrides the location of the Zhuyin dictionary.
+
+ The default location depends on the value of
+ \c {QLibraryInfo::location(QLibraryInfo::DataPath)}.
+ For example, for Qt libraries built from source,
+ it could be \c {qtbase/qtvirtualkeyboard/tcime/dict_zhuyin.dat}.
+ \row
+ \li QT_VIRTUALKEYBOARD_PHRASE_DICTIONARY
+ \li Overrides the location of the phrase dictionary.
+
+ The default location depends on the value of
+ \c {QLibraryInfo::location(QLibraryInfo::DataPath)}.
+ For example, for Qt libraries built from source,
+ it could be \c {qtbase/qtvirtualkeyboard/tcime/dict_phrases.dat}.
+ \row
+ \li QT_VIRTUALKEYBOARD_STYLE
+ \li Specifies the location of the style to use with the virtual keyboard.
+
+ This can also be specified in QML by setting \l {VirtualKeyboardSettings::styleName},
+ or at build time by using the \l {Advanced Configuration Options}{qmake configuration options}.
+ \row
+ \li LIPI_ROOT
+ \li Specifies the location of lipi-toolkit.
+
+ The default location depends on the value of
+ \c {QLibraryInfo::location(QLibraryInfo::DataPath)}.
+ For example, for Qt libraries built from source,
+ it could be \c {qtbase/qtvirtualkeyboard/lipi_toolkit}.
+ \row
+ \li LIPI_LIB
+ \li Specifies the location of lipi-toolkit plugins.
+
+ The default location depends on \c LIPI_ROOT:
+ \list
+ \li \c {LIPI_ROOT + "/lib"} if \c LIPI_ROOT is set.
+ \li \c {QLibraryInfo::location(QLibraryInfo::PluginsPath) + "/lipi_toolkit"} if \c LIPI_ROOT is not set.
+ \endlist
+\endtable
+
*/
diff --git a/src/virtualkeyboard/doc/src/user-guide.qdoc b/src/virtualkeyboard/doc/src/user-guide.qdoc
index 843d78b1..c2d9d9f0 100644
--- a/src/virtualkeyboard/doc/src/user-guide.qdoc
+++ b/src/virtualkeyboard/doc/src/user-guide.qdoc
@@ -29,7 +29,7 @@
/*!
-\page user-guide.html
+\page qtvirtualkeyboard-user-guide.html
\contentspage {User Guide} {Contents}
\title User Guide