0

I am trying to convert my PyQt5 .py file to .ui file, in order to present it on QtDesigner tool. when I press on command prompt: "pyuic5 -x filename.py -o filename.ui" at the correct directory, it generates a .filename.ui file, buy empty one (size = 1kB). When I am trying to open this ui file on QtDesigner, I'm getting an error: "An error has occurred while reading the UI file at line 1, column 1:Start tag expected".

What Have I done wrong?

  • You cannot convert a .py file to a .ui file using [pyuic](https://www.riverbankcomputing.com/static/Docs/PyQt5/designer.html#using-qt-designer). – ekhumoro Sep 22 '22 at 21:47

0 Answers0