I tried to convert the .ui file which is generated using qt5 designer to .py but all those ways are different some are working some are not working.
1 Answer
I tried in different ways but finally, get to know the solution for that.
open the terminal and type the below command in it.
It will generate .py file
pyuic5 -x main.ui -o main.py # pyQt5 version