Convert pyQt UI to python

后端 未结 10 1721
谎友^
谎友^ 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:32

    I've ran into the same problem recently. After finding the correct path to the pyuic4 file using the file finder I've ran:

    C:\Users\ricckli.qgis2\python\plugins\qgis2leaf>C:\OSGeo4W64\bin\pyuic4 -o ui_q gis2leaf.py ui_qgis2leaf.ui

    As you can see my ui file was placed in this folder...

    QT Creator was installed separately and the pyuic4 file was placed there with the OSGEO4W installer

提交回复
热议问题