03-19-2012 10:03 AM
BGMot's original solution was correct (thanks for the help!), but I had to figure out the system setup to go with it. Adding the following to my .pro file:
INCLUDEPATH += /home/fiferboy/qt-qnx/src/plugins/platforms/blackb
erry LIBS += -L/home/fiferboy/qt4.8-playbook-linux/plugins/plat forms LIBS += -lblackberry
I am working with prebuilt libraries from https://github.com/blackberry/Qt/download but you still need the source to include qbbvirtualkeyboard.h
I have tested this on my brand new PlayBook, but haven't confirmed if it works in the simulator yet.
03-26-2012 09:55 AM
Poking around source code found more elegant way of hiding/showing virtual keyboard.
To hide keyboard:
QEvent event(QEvent::CloseSoftwareInputPanel); QApplication::sendEvent(<your widget here>, &event);
To show keyboard:
QEvent event(QEvent::RequestSoftwareInputPanel); QApplication::sendEvent(<your widget here>, &event);
Works on both device and simulator and no need to hack QBBVirtualKeyboard -)