Zeus_god
deepin
发表于 2018-05-30 20:35 
回复 点赞0 只看作者

https://bbs.deepin.org/post/157284
/usr/bin/designer可能不能运行,是个软链接,实际是想运行qt4的designer,但这个文件不存在,
这个解决方 ...
https://bbs.deepin.org/post/157284
/usr/bin/designer可能不能运行,是个软链接,实际是想运行qt4的designer,但这个文件不存在,
这个解决方 ...
https://bbs.deepin.org/post/157284
刚用你的命令确实不用设置designer的路径就可以,不过还是要设置pyuic
https://bbs.deepin.org/post/157284
知道pyuic5怎么设置吗,重装用了你的办法,Eric不能编译窗口,手动设置tools目录为/usr/lib/qt5/bin/ ...
https://bbs.deepin.org/post/157284
Eric应该要用到python3-pyqt5.qsci吧,Eric里调用相关api,试试sudo pip3 install
我在windows中设置过
我 ...

https://bbs.deepin.org/post/157284
/usr/bin/designer可能不能运行,是个软链接,实际是想运行qt4的designer,但这个文件不存在,
这个解决方 ...

https://bbs.deepin.org/post/157284
1.安装pyqt5:
sudo apt-get install pyqt5*
热门活动
查看更多
最后睡觉前在手机上看到一个教程,原来如此简单。
教程地址:https://www.aliyun.com/jiaocheng/141806.html
只适合deepin15.5,其他未测试。
1.安装pyqt5:
sudo apt-get install pyqt5*
2.安装qt designer:
sudo apt-get install qttools5-dev-tools
3.然后商店安装pycharm和Eric。
4.深度15.5默认安装了Python3.5
现在已经全部安装完成了。
/usr/bin/designer可能不能运行,是个软链接,实际是想运行qt4的designer,但这个文件不存在,
manager@PC-20180525HTBD:~$ whereis designer
designer: /usr/bin/designer
manager@PC-20180525HTBD:~$ /usr/bin/designer
designer: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/designer': No such file or directory
实际上qt5的designer路径是/usr/lib/x86_64-linux-gnu/qt5/bin/designer
然后按教程吧pycharm的扩展工具设置下,
designer:/usr/lib/x86_64-linux-gnu/qt5/bin/designer 工作目录:$FileDir$
pyuic:/usr/bin/python3.5 参数:-m PyQt5.uic.pyuic $FileName$ -o $FileNameWithoutExtension$.py 工作目录:$FileDir$
其他设置可以参考Windows平台的,现在pycharm就可以用pyqt设计界面了。
Eric在添加API时,“从已安装的API中添加”这个按钮是灰色不可用,没找到办法,有知道的说下,谢谢,
惯例:感谢deepin团队的努力,deepin现在做的真心不错,继续努力吧