Copy link to clipboard
Copied
In Substance 3D Designer 14.0, the Qt version has been updated to 6.5.
Due to this update, nearly all plugins made for Designer has to be updated in order to work correctly with this new version of Designer.
You will find here all the required information to update your(s) plugin(s):
Replace shiboken2 by shiboken6
Before
from shiboken2 import *
Now
from shiboken6 import *
Replace PySide2 by PySide6
Before:
from PySide2 import QtWidgets, QtGui
Now:
from PySide6 import QtWidgets, QtGui
Use QtGui.QAction instead of QtWidgets.QAction
Before
QtWidgets.QAction
Now
QtGui.QAction
Move from + to | operator for QKeySequence
Before
QtCore.Qt.CTRL + QtCore.Qt.Key_P
Now
QtCore.Qt.CTRL | QtCore.Qt.Key_P
Replace exec_ by exec
Before
dialog.exec_()
Now
dialog.exec()
Use setContentsMargins instead of setMargin
Before
setMargin(10)
Now
setContentsMargins(10, 10, 10, 10)
More information can be found on the Qt website:
If you find any other required change, please share in this discussion.
Have something to add?