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

Removed support for Qt 5 #8159

Merged
merged 1 commit into from
Jun 23, 2024
Merged

Removed support for Qt 5 #8159

merged 1 commit into from
Jun 23, 2024

Conversation

radarhere
Copy link
Member

elif im.mode == "I;16" and hasattr(qt_format, "Format_Grayscale16"): # Qt 5.13+

qt_format = ImageQt.QImage.Format if ImageQt.qt_version == "6" else ImageQt.QImage
if hasattr(qt_format, "Format_Grayscale16"): # Qt 5.13+
modes.append("I;16")

Support for Qt 5 was removed in Pillow 10.0.0, so this code can be simplified.

@radarhere radarhere added the Qt Qt for Python, PyQt, PySide label Jun 21, 2024
@hugovk hugovk added the Cleanup label Jun 23, 2024
@hugovk hugovk merged commit 0201707 into python-pillow:main Jun 23, 2024
54 of 56 checks passed
@radarhere radarhere deleted the qt6 branch June 23, 2024 11:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Cleanup Qt Qt for Python, PyQt, PySide
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants