Qt shim: QHeaderView.setSectionResizeMode vs QHeaderView.setResizeMode

qt
python
maya
mobu

#1

Hey folks,

We’ve got a simple tool that we want to port/share from maya 2017 to mobu 2016. Everything works except that during init, there’s a call to QHeaderView.setSectionResizeMode that is not recognized in mobu: Qt 4 method is called QHeaderView.setResizeMode. We’re however using the Qt shim, and I took a quick look and it does have a section covering the rename for pyside->pyside2. Do I have to do anything in particular to make this work? Or do I have to test the current binding and call the appropriate method accordingly?

Thanks!