Install below packages - for windows
pip install PyQt5
pip install PyQt5-tools
pip install pyqt5-installer
Download PyQt5 Designer from the below link
https://sourceforge.net/projects/pyqt/files/PyQt5/PyQt-5.6/PyQt5-5.6-gpl-Py3.5-Qt5.6.0-x32-2.exe/download
pip install PyQt5
pip install PyQt5-tools
pip install pyqt5-installer
Download PyQt5 Designer from the below link
https://sourceforge.net/projects/pyqt/files/PyQt5/PyQt-5.6/PyQt5-5.6-gpl-Py3.5-Qt5.6.0-x32-2.exe/download
install one more library
ReplyDeletepip install pyqt5-installer
To start PyQt5 designer go-to
ReplyDeletePython36-32\Lib\site-packages\pyqt5-tools
Search for designer.exe
https://www.codementor.io/deepaksingh04/design-simple-dialog-using-pyqt5-designer-tool-ajskrd09n
ReplyDeletehttps://github.com/ashwinpilgaonkar/ui2py
ReplyDeleteConverting dialog.ui to dialog.py
ReplyDeleteUse the command below on the command prompt.
pyuic5 dialog.ui > dialog.py
Convert QRC to PY
ReplyDeletePyrcc5 input_file.qrc -o icons.py
Convert UI to PY
ReplyDeletepyuic5 -x firstgui.ui -o firstgui.py
To create a QRC file
ReplyDelete- open notepad
- save as file name with the extension of "QRC"
import PyQt5.sip
ReplyDeletehttps://likegeeks.com/pyqt5-tutorial/
ReplyDeletepip install PyQt5Designer
ReplyDelete