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
Forum Updated to NodeBB v4.3 + New Features

PlatformInputContext plugin does not load

Scheduled Pinned Locked Moved Mobile and Embedded
3 Posts 2 Posters 938 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

    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

    jsulmJ 1 Reply Last reply
    0
    • V Vinoth

      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

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on 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 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

        • Login

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