1.如果使用的apt安装的designer-qt6等的一些工具,则使用如下方案
apt install fcitx5-frontend-qt6
如上就可解决,如果用的qt5,就安装fcitx5-frontend-qt5
2.使用qt在线安装的
dpkg -L fcitx5-frontend-qt6 查看安装路径

找到libfcitx5platforminputcontextplugin.so这个文件。
再找到自己的qt安装目录,我的是:xxx/Qt/Tools/QtCreator/lib/Qt/plugins/platforminputcontexts。前面xxx是自己的安装目录
将libfcitx5platforminputcontextplugin.so这个文件复制到xxx/Qt/Tools/QtCreator/lib/Qt/plugins/platforminputcontexts目录下。
再将复制后的文件sudo chmod 755 libfcitx5platforminputcontextplugin.so就可以了。
我用的是fcitx5这个输入法,如果是fcitx则用

fcitx-frontend-qt5/kali-rolling 1.2.7-3+b2 amd64
fcitx-frontend-qt6/kali-rolling 1.2.7-3+b2 amd64
这两个包。其他都差不多。
浙公网安备 33010602011771号