Closed Shayen closed 5 years ago
hi @Shayen
Here's a thread from another project that might explain. https://github.com/mottosso/Qt.py/pull/302
Hi @jchanvfx,
Did you have any plan to support the old version of PySide2? like Maya 2017 and 2018, It's using version 2.0.0~alpha0 and 2.0. But the bug has been fixed on 5.6 and 5.9.
Hi @Shayen
Sadly no sorry I don't plan to do any back porting as I'm only working on this project in the spare time I have.
J
It's okay. =D I'm very appreciate your work ^^
When I try to run example.py in Autodesk Maya 2017 (And still happen in Maya 2018 also), It throw this error:
After googling for a while I found the solution from another repo.
In this case I just change
self._model = QtCore.QStringListModel(node_names, self)
Toself._model = QtGui.QStringListModel(node_names, self)
then its work for me.
By the way, When I run example.py with normal python3.7 and pyside2(5.12.0) outside Maya, It's work properly with the original code.