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. PlatformInputContext plugin does not load

PlatformInputContext plugin does not load

Scheduled Pinned Locked Moved Mobile and Embedded
3 Posts 2 Posters 904 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 23 Nov 2016, 13:26 last edited by
    #1

    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

    J 1 Reply Last reply 24 Nov 2016, 05:49
    0
    • V Vinoth
      23 Nov 2016, 13:26

      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

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 24 Nov 2016, 05:49 last edited by
      #2

      @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
      0
      • V Offline
        V Offline
        Vinoth
        wrote on 24 Nov 2016, 05:59 last edited by
        #3

        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
        0

        1/3

        23 Nov 2016, 13:26

        • Login

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