luckylyk/hotbox_designer

Can you support for maya 2016?

Closed this issue · 6 comments

from hotbox_designer.manager import HotboxManager
from hotbox_designer.softwares import Maya
hotboxes_manager = HotboxManager(Maya())
hotboxes_manager.show()

Error: ImportError: file C:/Users/NOTEBOOK/Documents/maya/2016/scripts\hotbox_designer\reader.py line 1: No module named PySide2

Here's the error.

outcha :) convert everything for PySide 1 is a big deal. I mean, translate all pyside2 to pyside1 is not so hard,
but make one script compatible for both, risk to make the code confuse. I can manage that between PySide2 and PyQt5 but with Qt4 and 5 it's tricky. I prefer concentrate my time on the bug fixes and new features.
You can try to rename in all modules:
PySide2 --> PySide
QtWidgets --> QtGui
it should work

and all QtWidgets --> QtGui

ok I discussed with a friend, I already changed my mind cause it can help for Natron integration.. i will try something, but it's a big feature it's not for tomorrow :)

Thanks!

You could consider using Qt.py module to make the tool ps/ps2 compatible.
https://github.com/mottosso/Qt.py

Hi ignasiduelo,
Thanks for the share.

I don't want to create non-standard dependence for hotbox designer. I wan't to keep it cleaner as possible. But as its a not a big deal, I created a special branch using Qt for maya version older than 2017.
https://github.com/luckylyk/hotbox_designer/tree/maya-2016. (this branch will not follow the updates).
I don't have maya 2016 to test, but it works on 2017 and I think it ok.
Tell me.
I didn't add the Qt module inside the branch so you have to add it in the maya script folder root :).

I hope it can help,
let me know.