Skip to content

Error in Windows 10/Python 3.12.2 #5

@serdar-cicek

Description

@serdar-cicek

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions