Qt5 and QInputContext
-
Did you ever find out anything more about this - Converting QInputContext to Qt5?
-
No =(
-
do we have any hints?
-
Hmm, we can use qt5 with maliit framework for use on-screen keyboard in our applications =) If we need custom keyboard, we can write custom plugin for maliit =)
-
I had a project using QInputContext. Now I want to port to QPlatformInputContext. How can we do with QPlatformINputContext?
My project is pretty urgent :(
-
I don't know =((
-
Hi WeX - I'd like to try this approach 'Hmm, we can use qt5 with maliit framework for use on-screen keyboard in our applications =) If we need custom keyboard, we can write custom plugin for maliit =)'. Do you have examples for using on-screen keyboard and custom keyboard (plugin) with Maliit on Windows? Linux may be ok as well.
-
No, I haven't tried to use maliit on windows. I use linux for my projects =) You can find linux examples in maliit repository =)
-
Thanks WeX. I look over Maliit doc and find it seems Maliit keyboard need connect to Maliit server via network...Is it possible to only work with the input method in local?
We need port input method framework onto a linux board running QT. We don't want to connect to any server.I used QPlatformInputContext but when I focus on a field, there is no platform event sent to our input method (in filterEvent function) to show up our keyboard. I had to call explicitly in the application code (in focusIn event of each field) to show up the keyboard, not use QPlatformInputContext. But this approach is not good because I have many fields in the application and cannot catch all events focusIn of all these fields :(. I wonder whether Maliit can do or not? It means when I focus on any field in any application in the board, I can receive an event automatically from platform/maliit to show up the keyboard?
BTW I just look over master QT code and find there is a iBus and Maliit framework. iBus uses QPlatformInputContext and D-Bus.
-
To connect with maliit server You can use D-Bus =)