Monday, September 18, 2017

[How To] Convert Qt Designer to Python Code

Assuming input.ui is the file created in Qt Designer, is the python code file name,

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