Build A PyQt Application by PyCharm
来源:互联网 发布:华为网络产品线部门 编辑:程序博客网 时间:2024/05/02 23:07
A typical structure of a PyQt applications is as follows,
APP -- src (main.py, ...)
|- ui (mainwindow.py, *.ui, ...)
|- rc (*.qrc, icons, images, ...)
Note:
PyCharm 4.5 support python 3 and PyQt 5
.qrc files have to managed by hand as xml files. Otherwise they can be generated by Qt Creator. They are compiled in the folowing way
pyrcc5 app.qrc -o app_rc.py
*.ui files can be generated by Qt Designer and be compiled by pyuic5 and then Ui_*.py can be imported and called by other python code
pyuic5 logindialog.ui -o ui_logindialog.py
For PySide applications, above tools are pyside-uic and pyside-rcc, respectively.
A very good tutorial about PyQt is here
http://pythonthusiast.pythonblogs.com/230_pythonthusiast/categories/426_qt_pyqt_and_pyside_tutorial.html
BTW, to keep a Desktop link of Pycharm, and call its shortcut by Win key,
I suggest install Pycharm with sudo account
- Build A PyQt Application by PyCharm
- pycharm 配置pyqt
- PyCharm如何集成PyQt
- How to build a struts application
- Build a NX Open .NET application
- Build a NX Open .NET application
- Build a NX Open .NET application
- 在PyCharm中安装PyQt
- QT&PyQT work with Pycharm
- pycharm集成pyqt设置步骤
- 二、pyqt+pycharm的安装
- 将 PyQt 集成到 pycharm
- pycharm anaconda wxpython/pyqt 安装
- pycharm pyqt python安装问题
- Build a Desktop GIS Application Using MapWinGIS and C#
- pycharm无法识别pyqt的问题
- A template build.xml for running junit test by ant
- [gist]Build Yourself a Backbone.js Step by Step
- 关于u-boot中gd变量
- uboot编译出错解决方法
- ViewFlipper
- 关于ES、PES、PS以及TS码流
- 基于squashfs的gluebi文件系统开发
- Build A PyQt Application by PyCharm
- android基本架构
- uboot移植过程
- 什么是jasmine. describe是什么
- openlayer 高亮显示样式
- 日历开发渐进教程(3)
- 电容屏修改
- python下如何安装python-MySQLdb
- Android小记:之开发效率—Eclipse快捷键