Open mottosso opened 1 month ago
Yes, major version up and drop qt4 support. If people really still want qt4 support they just use v1.x.
The dropping of classes like QTextCodec
in 1.4 has already caused issues for us and I've had to resort to using the pip requirement of Qt.py==1.3.*
.
Looks like QTextCodec is not included in Qt 6 anyway, so even without PySide/PyQt4 this would still be missing.
For potential guidance, the VFX Reference Platform recommends that: https://vfxplatform.com/
Providers of software libraries focused on VFX and animation content creation should aim to support their releases for the current calendar year and the three preceding years with compatible updates. Studios and end users should have no expectation of support for older libraries.
One way to interpret that recommendation is that Qt4 hasn't been supported since VFX Platform CY2015, well outside the current + 3 year window.
Many libraries way outside the scope of vfx use Qt.py. The vfx platform has minimal to do with this project so it needs a longer tail than 3 years. That being said Centos/RHEL 7 is probably the last Linux distribution that still supports/ships with qt4. It is EOL at the end of June and it had a 10 year support period.
Looks like this is the way to go. If anyone is up for submitting a PR with PySide and PyQt4 support dropped that would get the ball rolling. It'd consist of two primary steps.
To find out which members exist, one option is to:
print(dir(QtCore))
print(dir(QtCore))
Make a script of it and use set()
to find the intersection, and presto. We've got Qt.py 2.0.0
While dropping PySide/PyQt4 is being worked out for an eventual 2.0.0
release, would it be worth it to make a 1.4.2
release to pick up the recent fixes for the PyQt5 regressions?
https://github.com/mottosso/Qt.py/compare/1.4.1...master
While dropping PySide/PyQt4 is being worked out for an eventual
2.0.0
release, would it be worth it to make a1.4.2
release to pick up the recent fixes for the PyQt5 regressions? 1.4.1...master
Yes, definitely if there are fixes to be made that still holds up with PySide/PyQt4 then by all means submit a PR.
For the 2.0 without PySide/PyQt4, the table is set for any volunteer to begin with a PR.
Question for the community and users:
With the introduction of PySide6, should we remove support for PySide and/or PyQt4? If so, we could start to include members of Qt.py that exist in PySide2/PySide6, but not PySide/PyQt4, such as QGuiApplication.
Vote with a 👍 for "Yes" and 👎 for "No".