Extension plugin for the Qt Virtual Keyboard. More...
|CMake:|| find_package(Qt6 COMPONENTS VirtualKeyboard REQUIRED) |
target_link_libraries(mytarget PRIVATE Qt6::VirtualKeyboard)
|qmake:||QT += virtualkeyboard|
|virtual void||registerTypes(const char *uri) const|
Extension plugin allows customizing and extending the Qt Virtual Keyboard functionality. Extension plugin can provide additional keyboard layouts and input methods.
Virtual keyboard loads all the extension plugins at startup. It searches for
plugins/virtualkeyboard directory and matches the metadata found in the plugin. If there are two or more extension plugins with the same
Name, it loads the one with the highest
See also Virtual Keyboard Extension Plugin.
Member Function Documentation
If the plugin metadata contains
InputMethod field defining an input method name, Qt Virtual Keyboard will call registerTypes() for registering the input method as QML type. The type must be registered with a uri if the input method is used by the default keyboard layouts. If the input method type is only used in private layouts (known only by the plugin), the uri can be omitted and chosen freely.
© 2021 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.