when i run main.py report TypeError
Closed this issue · 1 comments
XDUbeginner commented
Microsoft Windows [版本 10.0.22000.2538]
TypeError: arguments did not match any overloaded call:
QPushButton(parent: Optional[QWidget] = None): argument 'parent' has unexpected type 'PySide6.QtWidgets.QWidget'
QPushButton(text: Optional[str], parent: Optional[QWidget] = None): not enough arguments
QPushButton(icon: QIcon, text: Optional[str], parent: Optional[QWidget] = None): not enough arguments
SwimmingLiu commented
- What is version of your pyside6?
- You may try
pip install -U pyside6