Linking a qtDesigner .ui file to python/pyqt?

前端 未结 12 1440
北海茫月
北海茫月 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:53

    in pyqt5 to convert from a ui file to .py file

    pyuic5.exe youruifile.ui -o outputpyfile.py -x

提交回复
热议问题