Qt Forum

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

    Qt Academy Launch in California!

    PlatformInputContext plugin does not load

    Mobile and Embedded
    2
    3
    646
    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

      Hi,

      I have compiled the Virtual keyboard plugin based on

      https://github.com/githubuser0xFFFF/QtFreeVirtualKeyboard

      for my ARM target. It worked fine on my Ubuntu desktop. On target, the plugin is not getting loaded.
      I tried to debug with 'export QT_DEBUG_PLUGINS=1'. There are two problems.

      1. My /usr/lib/qt5/plugins/platforminputcontexts/ is not searched for the plugin at all.

      2. I copied the contents of the above folder to another folder where other plugin was loaded. Then I found the following in the traces:

      {
      "IID": "org.qt-project.Qt.QPlatformInputContextFactoryInterface",
      "MetaData": {
      "Keys": [
      "freevirtualkeyboard"
      ]
      },
      "className": "VirtualKeyboardInputContextPlugin",
      "debug": false,
      "version": 328449
      }
      Got keys from plugin meta data ()

      I am not sure why the Got keys value is empty. On Desktop this shows the value 'freevirtualkeyboard'.

      Regards,
      Vinoth

      jsulm 1 Reply Last reply Reply Quote 0
      • jsulm
        jsulm Lifetime Qt Champion @Vinoth last edited by

        @Vinoth What is not clear: do you try to use the same lib on your ARM device which you use on your host?

        https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply Reply Quote 0
        • V
          Vinoth last edited by

          Yes, I am trying to use the same lib for my ARM device, after compiling the library for my ARM device.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post