[How To] Convert Qt Designer file.py to Python Code
Assuming input.ui is the file created in Qt Designer, output.py is the python code file name,
- open Terminal and cd to input.ui folder.
- Type pyuic4 -x input.ui -o output.py and hit Enter
- output.py gets created in same folder and run it from Python to get the UI window.
If you enjoyed this post, make sure you subscribe to my RSS feed! Comments are encouraged