02-17-2012 11:17 PM - edited 02-17-2012 11:49 PM
I have a Qt application that runs well in the simulator. When a widget that needs the keyboard has focus the virtual keyboard pops up properly. The problem is, when a widget that does not need the keyboard has focus the VKB is still showing and has to be manually closed by the user.
Is the expected functionality of VKB that it auto-hides when not need by whatever has active focus? Is there some way to prgramatically hide the keyboard? I looked at the qbbvirtualkeyboard source, but it doesn't seem to have any include files in the system to use in my program. It looks like it is intended to be a quiet helper rather than something actively called.
An unrelated future question would be whether there is a way to access the "swipe down" gesture in Qt to open an application menu the way other native applications do.
Solved! Go to Solution.
02-18-2012 11:32 AM
Ok, that compiles fine for armel but I don't have a device to test on.
When I try compiling for x86 to run in the simulator, I get the following error after adding in the linker statement:
Maybe to do with the different version of openGL used for the x86? x86 uses OpenGL ES 1.0 and armel ises ES 2.0. Still, it seems like I am close now, I just want to test in the simulator.
02-18-2012 11:47 AM
02-20-2012 10:23 PM
Yes, I checked and that was exactly what I meant: QGLPixmapData does not exist in QtOpenGL compiled for SImulator and it does exist in QtOpenGl compiled for Playbook.
02-20-2012 10:28 PM
Yeah, so I can't test that function in the simulator. I built an arm version and got a friend to test on the playbook but the application wouldn't launch. It does launch without that function.
I'll try again when I get some hardware I can test further on with more debugging. Thanks for the help.