-
Notifications
You must be signed in to change notification settings - Fork 28
Description
Python 3.12.2 is installed on the Windows 10 operating system and it gives the following error:
TypeError: arguments did not match any overloaded call:
drawText(self, p: Union[QPointF, QPoint], s: Optional[str]): argument 1 has unexpected type 'int'
drawText(self, rectangle: QRectF, flags: int, text: Optional[str]): argument 1 has unexpected type 'int'
drawText(self, rectangle: QRect, flags: int, text: Optional[str]): argument 1 has unexpected type 'int'
drawText(self, rectangle: QRectF, text: Optional[str], option: QTextOption = QTextOption()): argument 1 has unexpected type 'int'
drawText(self, p: QPoint, s: Optional[str]): argument 1 has unexpected type 'int'
drawText(self, x: int, y: int, width: int, height: int, flags: int, text: Optional[str]): argument 2 has unexpected type 'float'
drawText(self, x: int, y: int, s: Optional[str]): argument 2 has unexpected type 'float'