Skip to content

PyQt6 Support #5256

@Aulla

Description

@Aulla

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

No one assigned

    Labels

    QtQt for Python, PyQt, PySide

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions