Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
None
-
5.12.5
-
None
-
Autodesk Maya 2018, python 2.7
Description
Hi i'm unable to find a pyside2 binding for textActivated signal
https://doc.qt.io/qt-5/qcombobox.html#textActivated
Error: 'PySide2.QtWidgets.QComboBox' object has no attribute 'textActivated'
not sure what actual Qt version i'm on, it says
PySide2 version: 2.0.0~alpha0
components of Qt used to compile PySide: 5.6.1
implemented for Autodesk Maya 2018
from PySide2 import QtCore, QtGui, QtWidgets print QtCore.__version_info__ x = QtWidgets.QComboBox() x.textActivated.connect() (5, 6, 1) # Error: 'PySide2.QtWidgets.QComboBox' object has no attribute 'textActivated' # Traceback (most recent call last): # File "<maya console>", line 5, in <module> # AttributeError: 'PySide2.QtWidgets.QComboBox' object has no attribute 'textActivated' #
edit:
also tried it on autodesk maya 2020
i guess that version number is more relatable to the actual qt version?
from PySide2 import QtCore, QtGui, QtWidgets print QtCore.__version_info__ x = QtWidgets.QComboBox() x.textActivated.connect() (5, 12, 5) # Error: AttributeError: file <maya console> line 5: 'PySide2.QtWidgets.QComboBox' object has no attribute 'textActivated' #
so i guess i'm out of luck here since it came out on 5.14