Pages

Tuesday, 25 September 2018

Latest tip for converting PySide ui Qt user interface code to python

Here is one way recommended for Autodesk Maya 2018 to convert your PyQt ui files to python class code:
http://help.autodesk.com/view/MAYAUL/2018/ENU/?guid=GUID-FAD0F6CC-15D0-4489-9372-028146B70F49



Here is also tips for using PySide in Maya 2017:
http://help.autodesk.com/cloudhelp/2017/ENU/Maya/files/GUID-0617A132-1B57-474F-A656-6E71A002CA28.htm



1 comment:

Stathis said...

Hi i am trying to use the bSKinSaver.py plugin inside maya 2018 and also in maya 2019.
But i have errors. I know it is written when Pyside was used in Maya and now its Pyside2, but still i dont know how to convert it in order to run it. I saw this from your link:
try:
from PySide2.QtCore import *
from PySide2.QtGui import *
from PySide2.QtWidgets import *
from PySide2 import __version__
from shiboken2 import wrapInstance
except ImportError:
from PySide.QtCore import *
from PySide.QtGui import *
from PySide import __version__
from shiboken import wrapInstance


but still i dont know how to use it.
Is there any way that i can run this script bSkinSaver.py?
Thank you in advance