UI->PY file conversion tool questions

Need help, or want to share a macro? Post here!
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
falviani
Posts: 253
Joined: Tue May 07, 2019 8:49 pm

UI->PY file conversion tool questions

Post by falviani »

Hi,

I have the designer tool in the local copy of FreeCAD that I compile, but there seems to be no tool to convert .ui files to .py files. I would like to take that approach so I have autocompletion, etc. My reading suggests I should use pyuic from the PyQAt5 package. Should I just go into my python38 directory and use pip to install that, assuming that the conversion tool will be in the PyQt5 folder in the site-packages folder? Or is there a better alternative?

Thanks in advance,
Frank
falviani
Posts: 253
Joined: Tue May 07, 2019 8:49 pm

Re: UI->PY file conversion tool questions [SOLVED]

Post by falviani »

I found that i could check with pip for installed packages, and PyQt5 was there. Entering "uic -h" gave me the help listing, and so I'm all set. ;)
Post Reply