Qt两种安装方式的坑如何破解
Tofloor
poster avatar
b***j@126.com
deepin
2019-09-04 10:54
Author
一、自己下载了Qt5.9.8开源安装包完成安装后,发现中文不能输入,试了网上很多办法均无效
二、使用深度商店中的QtCreator安装后,中文是可以输入了,但缺少Qt数据库驱动插件
有何高招可以破解?
Reply Favorite View the author
All Replies
avatar
b***j@126.com
deepin
2019-09-04 19:41
#1
看了有贴子说,Qt5.10可以用,不用编译什么的,就下载安装了Qt5.10.1,只需要将/usr/lib/x86_64-linux-gnu/qt5/plugins/platforminputcontexts
libfcitxplatforminputcontextplugin.so  
拷贝到主目录(home)下面的:
    /Qt5.10.1/Tools/QtCreator/lib/Qt/plugins/platforminputcontexts
    /Qt5.10.1/5.10.1/gcc_64/plugins/platforminputcontexts
并设置可执行权限就可以了
谢谢大家了
Reply View the author
avatar
justforlxz
deepin
2019-09-04 22:30
#2
qtcreator是qtcreator,qt二进制安装是qt+qtcreator。正确做法是: sudo apt install qtcreator qt5-default
Reply View the author
avatar
b***j@126.com
deepin
2019-09-04 23:29
#3
https://bbs.deepin.org/post/182388
qtcreator是qtcreator,qt二进制安装是qt+qtcreator。正确做法是: sudo apt install qtcreator qt5-defaul ...

又学了一手,多谢!
Reply View the author