Qt Virtual Keyboard

The Qt Virtual Keyboard project provides an input framework and reference keyboard frontend for Qt 6 on Linux Desktop/X11, Windows Desktop, and Boot2Qt targets.

輸入框架使編寫自定義輸入法 (或集成第 3 方輸入引擎) 變得容易。輸入法可以采用 C++ 或 QML 實現。

使用模塊

Using a Qt module's C++ API requires linking against the module library, either directly or through other dependencies. Several build tools have dedicated support for this, including CMake and qmake .

構建采用 CMake

使用 find_package() command to locate the needed module component in the Qt6 包:

find_package(Qt6 REQUIRED COMPONENTS VirtualKeyboard)
target_link_libraries(mytarget PRIVATE Qt6::VirtualKeyboard)
					

更多細節,見 構建采用 CMake 概述。

采用 qmake 構建

To configure the module for building with qmake, add the module as a value of the QT variable in the project's .pro file:

QT += virtualkeyboard
					

文章和指南

範例

參考

許可和歸屬

Qt Virtual Keyboard 在商業許可下是可用的來自 Qt 公司 。此外,它是可用的根據 GNU GPL (一般公共許可) 第 3 版 。見 Qt 許可 進一步瞭解細節。

Furthermore, Qt Virtual Keyboard potentially contains third party modules under the following permissive licenses:

OpenWnn Apache 許可 2.0
PinyinIME Apache 許可 2.0
繁體中文 IME (tcime) Apache 許可 2.0 和 BSD 3 條款新 (或修訂) 許可