Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Problems running QtVirtualKeyboard with Wayland Compositor
Forum Updated to NodeBB v4.3 + New Features

Problems running QtVirtualKeyboard with Wayland Compositor

Scheduled Pinned Locked Moved Solved General and Desktop
2 Posts 1 Posters 842 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    Nic Greenway
    wrote on last edited by
    #1

    Hi All, I have a problem using the desktop QtVirtualKeyboard with a Wayland-based platform.

    We have a Qt5 app running on Yocto Linux with a Wayland display server. When the QtVKB is invoked by e.g. clicking an input box, it flashes up briefly on the screen then vanishes. Our main application is quite large, but I have recreated this using a small test app.

    I set WAYLAND_DEBUG=1 and QT_LOGGING_RULES="qt.virtualkeyboard=true;qt.qpa.wayland*=true" but there was nothing to indicate the problem.

    I have seen talk elsewhere about the QtVKB having problems with Wayland, is this a known issue?

    It runs just fine on Ubuntu.

    Any pointers appreciated!

    1 Reply Last reply
    0
    • N Offline
      N Offline
      Nic Greenway
      wrote on last edited by
      #2

      Apologies, this is a known issue, the application-integration method using the QML InputPane has to be used with Wayland, desktop integration won't work, see bug report

      The docs do also say application integration is mandatory in environments where there is no support for multiple top-level windows.

      That will teach me to RTFM!

      1 Reply Last reply
      2
      • N Nic Greenway has marked this topic as solved on
      • CalciferC Calcifer referenced this topic on

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved