使用Qt QInputDialog 时,由于QInputDialog的exec(),虚拟键盘无法对QInputDialog输入框进行输入。
http://www.cnblogs.com/rickyk/p/4180787.html