简体   繁体   中英

Qt virtual keyboard for Qt application running on Linux host

I am working on a Qt application on my host Linux system, and want to know as to how I can get the virtual keyboard plugin installed on my machine.

I am using the Qt 5.5.1 runtime with Qt Creator 3.6.1 on Kubuntu 16.04 LTS. I have not been able to track down the virtual keyboard plugin, which I understand is available for Qt5, in any Qt5 installation directory on my Linux filesystem.

However, based on my research online, I have come to the understanding that other folks have used the Qt virtual keyboard on Linux but, I still don't know how to get the plugin.

Please advise. Thanks in advance!

Subbu

  • Run Qt Maintenance tool (you can find it in your Qt directory .../Qt/MaintenanceTool).
  • Install virtual keyboard

虚拟键盘

If I recall correctly one needs to add a plugin in .pro file to enable Virtual Keyboard.

static {
    QTPLUGIN += qtvirtualkeyboardplugin
}

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM