Unsolved Convert .ui to .py file?
-
How I can convert .ui to .py file?
I have cmd and i using anaconda.
Please help. tnx -
-
@Dl10 if you has install eric6, you can build *py for *ui easily.
- Install eric6 from : [https://sourceforge.net/projects/eric-ide/files/eric6/stable/6.1.7/](link url)
Download and install by python install.py install. When you install successfully, you will find eric6/eric6.pyw.Open it with python - you can easily compile the ui to py in eric6
- Install eric6 from : [https://sourceforge.net/projects/eric-ide/files/eric6/stable/6.1.7/](link url)
-
@SGaist said in Convert .ui to .py file?:
Hi,
Oh, wow!! I have been developing with PyQt for a while now. I simply assumed that meant I could not use Qt Designer, as it would be C++ only. This is very useful information.
-
So Qt Designer simply produces XML. The you can either turn it into C++ code by Qt's
uic
or load the.ui
file as-is viaQUiLoader
. Is that right? And both of these approaches are available via PyQt equivalents? -
You can't use Qt Creator for Python. I presume that "integrates" Qt Designer inside itself? Does that invoke
uic
behind the scenes, or does that go down the "dynamic loading of the.ui
file" route?
-
-
@Ken_Du
I use PyCharm as my Python/PyQt IDE, and I shan't be moving off that. But OOI does your eric really do much other than allow you to convert.ui
to.py
, which I see I can do via PyQt'spyuic5
?