Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Custom QPlatformInputContextPlugin not loaded on Wayland
QtWS25 Last Chance

Custom QPlatformInputContextPlugin not loaded on Wayland

Scheduled Pinned Locked Moved Mobile and Embedded
2 Posts 2 Posters 649 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.
  • V Offline
    V Offline
    Vinoth
    wrote on last edited by
    #1

    I have a custom plugin derived from QPlatformInputContextPlugin(virtual keyboard).
    On both Linux (Ubuntu 14.04) and my Embedded device (Wayland platform) I can build and deploy it. The plugin gets installed into MyQtInstall/plugins/platforminputcontexts/.
    I set env. variable QT_DEBUG_PLUGINS=1 to see debug output.

    On Linux the plugin is loaded as expected.

    On my embedded device the plugin is not loaded. There is no message about the plugin.
    If I move the plugin to another plugin-folder (e.g. MyQtInstall/plugins/platforms/) within the debug output I see that the plugin is found (but does not get loaded).

    The QPA platform is wayland. Qt version is 5.3.1. Can you tell me if this is expected? Any chance I could make this work? What is necessary to load a plugin from plugins/platforminputcontexts/ on Wayland?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      I haven't used wayland yet but did you try setting the QT_IM_MODULE environment variable ?

      Hope it helps

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0

      • Login

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