Monday, September 18, 2017

[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,

  1. open Terminal and cd to input.ui folder.
  2. Type pyuic4 -x input.ui -o output.py and hit Enter
  3. 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

No comments:
Write comments