qt5改成qt6试试,V25默认qt6
All Replies
Island
deepin
2025-10-07 11:07 Reply Like 0 View the author
zhangqf
deepin
2025-10-08 09:21 Island:
qt5改成qt6试试,V25默认qt6
改成qt6也不行。我试了deepin 25自带的拼音和搜狗拼音都不行😭
Reply Like 0 View the author
翻过山峰看见云
deepin
2025-10-09 09:22 试试把/usr/lib/x86_64-linux-gnu/qt5/plugins/platforminputcontexts下的几个.so文件复制到xnview安装目录下的plugins/platforminputcontexts/下
Reply Like 0 View the author
zccrs
deepin
2025-10-09 09:39 版本不匹配,要看 xnview 这个软件用的Qt哪个版本,要给它对应版本的插件才行。
Reply Like 0 View the author
zhangqf
deepin
2025-10-09 23:25 我找到解决方案了,把执行语句改为显式调用xnview.sh,即:
Exec=env QT_PLUGIN_PATH=/usr/lib/x86_64-linux-gnu/qt5/plugins/ /opt/XnView/xnview.sh %F
原来无法输入中文的语句是这样的:
Exec=env QT_PLUGIN_PATH=/usr/lib/x86_64-linux-gnu/qt5/plugins/ xnview %F
Reply Like 0 View the author
138******89
deepin
2026-02-28 11:31 zhangqf:
我找到解决方案了,把执行语句改为显式调用xnview.sh,即:
Exec=env QT_PLUGIN_PATH=/usr/lib/x86_64-linux-gnu/qt5/plugins/ /opt/XnView/xnview.sh %F
原来无法输入中文的语句是这样的:
Exec=env QT_PLUGIN_PATH=/usr/lib/x86_64-linux-gnu/qt5/plugins/ xnview %F
还是无法输入中文,系统:uso 20。
Reply Like 0 View the author
138******89
deepin
2026-03-02 10:57 138******89:
还是无法输入中文,系统:uso 20。
终于弄好,改执行语句后,还要把.desktop文件中一些没用的东西删除掉。
Reply Like 0 View the author
Please sign in first
Popular Ranking
ChangePopular Events
More

中文 
deepin 23和heepin 20中可以通过以下语句指定环境变量来启动xnview,就可以输入中文了,但在deepin 25中却还是不能输入中文。
Exec=env QT_PLUGIN_PATH=/usr/lib/x86_64-linux-gnu/qt5/plugins/ xnview %F
怎么解?