Virtual Keyboards for Qt applications
summary
Shows a concrete implementation: a subclass of QPlatformInputContext packaged as a plugin (JSON metadata and QT_IM_MODULE set) that exposes a singleton to QML and sends text via QInputMethodEvent. The demo builds a tiny Qt Quick keyboard — one blue button that sends "hello world" into the focused TextInput — proving in-process virtual keyboards work. Discusses integrating Qt Virtual Keyboard, use on eglfs/X/Wayland, and handling input method hints and visibility.
AI-written summary · about
chapters (21)
- 0:00Intro
- 1:50Input Methods
- 10:14Input Contexts
- 12:31Environment Variable
- 16:26Use Case
- 19:45InputContext
- 22:37InputSlot
- 23:51PlatformInputContext
- 25:21Where to use it
- 26:34Setting the environment variable
- 29:27What would you do now
- 30:26Additional features
- 33:05Ubuntu Keyboard
- 34:24Mallet
- 35:54Recap
- 36:18Overview
- 36:38Hints
- 37:43Other Hints
- 40:06Input Field Flags
- 40:34Virtual Keyboard
- 44:37Questions
related talks
28mSupport multiple screens with webOS and Qt
58mHybrid development with QtWebKit
01h 06mHybrid Development: Bridging the Gap Between Web and Native
27mCompanion apps and more second screen options with Qt
32mQt and the web, where are we today?
58mQt 6 will bring massive improvements to QML and 3D development
01h 02mMeet Qt WebKit
50mHTML5 in QtWebKit
