想做一个软键盘放到应用里面,在网上搜到的都是用QInputContext 。但是在qt 5.1中这个类已经被删除了,帮助文档中的原话是这样的:QInputContext is removed as related getter and setter functions in QWidget and QApplication are removed. Input contexts are now platform-specific.
未知是否有新的类代替这个功能,或者有什么其他方法可以实现软键盘?