Desktop
Application Development with Python - PyQt5 Module
Install:
Below
are the required modules for PyQt5 application development
pip
install PyQt5
pip
install PyQt5-tools
pip
install pyqt5-installer
PyQt5
Designer:
To
start PyQt5 designer
go-to
Python36-32\Lib\site-packages\pyqt5-tools
Search for designer.exe
Python36-32\Lib\site-packages\pyqt5-tools
Search for designer.exe
Convert
UI
to PY:
To Convert dialog.ui to dialog.py
Use the command below on the command prompt.
pyuic5 dialog.ui > dialog.py
pyuic5
-x firstgui.ui -o firstgui.py
Creat
QRC file:
-
open notepad
- save as file name with the extension of "QRC"
- save as file name with the extension of "QRC"
Convert
QRC to PY:
Use
the command below on the command prompt.
Pyrcc5 input_file.qrc -o icons.py
Write your comments here if you have a question.
ReplyDelete