Linking a qtDesigner .ui file to python/pyqt?

前端 未结 12 1387
北海茫月
北海茫月 2020-11-28 01:33

So if I go into QtDesigner and build a UI, it\'ll be saved as a .ui file. How can I make this as a python file or use this in python?

12条回答
  •  离开以前
    2020-11-28 01:48

    In order to compile .ui files to .py files, I did:

    python pyuic.py form1.ui > form1.py
    

    Att.

提交回复
热议问题