Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Custom QPlatformInputContextPlugin not loaded on Wayland

    Mobile and Embedded
    2
    2
    497
    Loading More Posts
    • 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
      Vinoth last edited by

      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 Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        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 Reply Quote 0
        • First post
          Last post