Tag Archive: pyqt

Mar 29

How to use pyuic4 on Windows

Mostly a reminder post to myself. To use pyuic4 to convert a Qt .ui file to .py, first open a command prompt in PythonDir\Lib\site-packages\PyQt4. The command to generate a .py file is pyuic4 -x path\to\ui.file -o output.file