[3rd-Party Apps] [求助] Qt Creator 8.0.2 无法使用输入法
Tofloor
poster avatar
guee
deepin
2022-10-29 10:27
Author

系统版本:

截图_选择区域_20221029022305.png

从download.qt.io上下载了Qt的在线安装程序,安装完成后,在Qt Creator中不能切换输入法,无法输入中文。

已经尝试过以下方式,均无效:

1、从系统中复制 libfcitxplatforminputcontextplugin.so 到 Qt Creator 的 lib/Qt/plugins/platforminputcontexts 文件夹;

2、自行编译fcitx-qt5,把生成的 libfcitxplatforminputcontextplugin.so 复制到 Qt Creator 的lib/Qt/plugins/platforminputcontexts 文件夹;

3、把fcitx-qt5编译为Qt6版本,复制到 Qt Creator 的 lib/Qt/plugins/platforminputcontexts 文件夹;

4、向 /etc/profile中添加下面的内容:

export XIM_PROGRAM=fcitx
export XIM=fcitx
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS="@im=fcitx"

5、更换Qt的安装路径,再重复上述步骤。

qtcreator启动时显示已经加载了插件,但仍然不能切换输入法、输入中文 。

无论是只保留libfcitxplatforminputcontextplugin.so和libfcitxplatforminputcontextplugin-qt6.so中的一个,还是两个都存在,都没有区别。

请问这个问题应该怎么解决呢?
截图_deepin-terminal_20221029021345.png

About Qt Creator 显示的版本信息如下:

Qt Creator 8.0.2

Based on Qt 6.3.2 (GCC 10.3.1 20210422 (Red Hat 10.3.1-1), x86_64)

Built on Oct 19 2022 12:45:31

From revision 2d5512f2c4

Reply Favorite View the author
All Replies
deepin
2022-10-29 11:16
#1

安装fcitx for Qt5动态库

Reply View the author
deepin
2022-10-29 11:18
#2

691E7F1E40AB9B169E86FC87386437F8.jpg

Reply View the author
guee
deepin
2022-10-30 08:21
#3

691E7F1E40AB9B169E86FC87386437F8.jpg

这种操作已经试过了,以前版本的QtCreator没有问题,新安装的QtCreator8.0.2这样不行。

Reply View the author
deepin
2022-10-30 11:06
#4
guee

这种操作已经试过了,以前版本的QtCreator没有问题,新安装的QtCreator8.0.2这样不行。

可以换一种输入法试试

Reply View the author
出淤泥而挑染
deepin
2022-10-31 01:46
#5

私以为Qt是deepin最好用的功能。

Reply View the author
蒋先生 Mr.Jiang
deepin
2024-05-07 15:35
#6

可以换一种输入法试试

只能换 ibus 系列的输入法了。fcitx 我也搞了两天了,怎么都不行。

Reply View the author
蒋先生 Mr.Jiang
deepin
2024-05-07 15:37
#7

只能换 ibus 系列的输入法了。fcitx 我也搞了两天了,怎么都不行。

我在线安装的 QT Creator 更加的新,是 13.0.0 版本,基于 QT 6.6.0 ,原先的办法,看来是不行了。

Reply View the author