Ubuntu Qt内部无法使用中文输入法的解决办法
sudo cp /usr/lib/x86_64-linux-gnu/qt5/plugins/platforminputcontexts/libfcitxplatforminputcontextplugin.so /opt/Qt5.12.0/Tools/QtCreator/lib/Qt/plugins/platforminputcontexts/
sudo cp /usr/lib/x86_64-linux-gnu/qt5/plugins/platforminputcontexts/libfcitxplatforminputcontextplugin.so /opt/Qt5.5.1/5.5/gcc_64/plugins/platforminputcontexts
目录根据自己实际情况来,两条指令输入完成后,重新启动QtCreator