Converting .ui file to .py in Maya 2018 gives an error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm looking to make UIs using Qt Designer. The issue is that I get a ui file I have to convert to a python file.
Upon looking online I find this page by autodesk: https://knowledge.autodesk.com/support/maya/learn-explore/caas/CloudHelp/cloudhelp/2018/ENU/Maya-Scr...
But running the script gives the following error: no module named pysideuic.
Upon digging further, it seems it has something to do with a change from pyside to pyside2.
Finally I find this article : https://medium.com/@nicholasRodgers/handling-legacy-tools-in-maya-2017-pyside2-baa53e48d5a2 which offers a script that seems to make the one given by autodesk (on the link above) to work.
Can I fix this any other way? Because I'm not familiar with this at all and don't know how hacky it is.