Convert pyQt UI to python

后端 未结 10 1714
谎友^
谎友^ 2020-11-30 20:51

Is there a way to convert a ui formed with qtDesigner to a python version to use without having an extra file?

I\'m using Maya for this UI, and converting this UI fi

10条回答
  •  情话喂你
    2020-11-30 21:37

    Quickest way to convert .ui to .py is from terminal:

    pyuic4 -x input.ui -o output.py
    

    Make sure you have pyqt4-dev-tools installed.

提交回复
热议问题