- Run the following command in command promot with administrator access
-
pip install PyQt6/PyQt5
-
pip install PyQt-tools
-
- Run this command in same folder and it will open designer
-
PyQt5-tools designer
-
- Now create a design and save this in the working folder, then run this command
-
pyuic5 -x filename.ui -o filename.py
-
- Now fix this generated script and write codes as per your requirement.