-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
Labels
QtQt for Python, PyQt, PySideQt for Python, PyQt, PySide
Description
Hi everyone!. I'm updating my app to PyQt6 and found a problem.
ImageQt.ImageQt class raises an error when try to use with QPainter:
>>> page_image = ImageQt.ImageQt(page)
>>> painter = QtGui.QPainter()
>>> painter.begin(page_image)
TypeError: begin(self, QPaintDevice): argument 1 has unexpected type 'ImageQt'Regards
Python 3.8.6
Ubuntu 20.04
PyQt6 6.0.1
Pillow 8.1.0
Metadata
Metadata
Assignees
Labels
QtQt for Python, PyQt, PySideQt for Python, PyQt, PySide