Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in Windows 10/Python 3.12.2 #5

Open
serdar-cicek opened this issue Apr 7, 2024 · 0 comments
Open

Error in Windows 10/Python 3.12.2 #5

serdar-cicek opened this issue Apr 7, 2024 · 0 comments

Comments

@serdar-cicek
Copy link

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'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant