TypeError: 'sip.methoddescriptor' object is not callable

TypeError: 'sip.methoddescriptor' object is not callable

pyqt初始化窗體時遇到的錯誤。某個對象無法被調用到。

class TestDlg(QMainWindow): 裏面的參數必須是你所建立的窗體類型才能運行正常dialog、mainwindow、widget,否則就會提示上述錯誤。


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章