mgear-dev / mgear4

mGear v.4.x.x (python 3 ready) https://mgear4.readthedocs.io
MIT License
259 stars 91 forks source link

PySide2 No Longer Functional in Maya2025 #401

Open CursiveCrow opened 3 months ago

CursiveCrow commented 3 months ago

From the release notes "known issues" section:

As part of the transition to Qt6 and PySide6, changes are affecting the usage of PySide6.QtUiTools.loadUiType and the reliance on the PySide command line scripts. Here's the updated information: The pyside2-uic and pyside2-rcc command line scripts are no longer functional in Maya 2025.Instead of relying on these command line scripts, users should now directly use Qt's uic and rcc files.These can be located in the following locations:

Windows: C:\Program Files\Autodesk\Maya2025\bin Mac: /Applications/Autodesk/maya2025/Maya.app/ContentsLinux:/usr/autodesk/maya2025/libexec

To generate Python files using the command line, users should use uic with the -g python arguments explicitly. Please update your workflow accordingly, replacing the usage of pyside2-uic with uic -g python and referring to the correct file locations based on your platform. MAYA-132563

As such, mGear is not functional in 2025. Updating the install file to use PySide6 instead of 2 makes the installer start, but it fails when trying to run the actual installer from the modules folder.

miquelcampos commented 3 months ago

Hi @CursiveCrow

Yes, we need to update mGear to the new pySide6 . This will take some time