• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

[Plugins] Required updates in Designer 14.0

Adobe Employee ,
Jul 30, 2024 Jul 30, 2024

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. 

TOPICS
How to , Scripting

Views

938

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation