PlatformInputContext plugin does not load
-
wrote on 23 Nov 2016, 13:26 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.-
My /usr/lib/qt5/plugins/platforminputcontexts/ is not searched for the plugin at all.
-
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 -
-
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.-
My /usr/lib/qt5/plugins/platforminputcontexts/ is not searched for the plugin at all.
-
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@Vinoth What is not clear: do you try to use the same lib on your ARM device which you use on your host?
-
-
wrote on 24 Nov 2016, 05:59 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/3