I'm trying to port a code from PyQt5 to PyQt6, but the following error occur:
AttributeError: type object 'QImage' has no attribute 'Format_RGB888'
It happens with any Format_*, although in the PyQt6 QImage documentation these formats are present.
Python 3.9 installed with miniforge, Mac M1 with OS X 11.5.2
Thanks.