-
Notifications
You must be signed in to change notification settings - Fork 272
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
Qt5/Qt6 upgrade considerations #231
Comments
Hi @mara004 :)
Ideally, yes. However I think we need to stick with the VFX industry standard (which can be referenced here) for the compatibility across many different software packages. |
The VFX reference platform is interesting. |
How about using qtpy, which is used in spyder project, instead of Qt.py? |
Upgrading this project to PySide6 is straight forward, if you don't want the Qt wrapper. |
if interested, you can check this out. Notes:
|
Nice thank you! I will take a look. Iam currently using this project and adapt it to a custom visual scripting library (which doesn't use Qt). |
Please note that PySide6 version being used is 6.2.3. |
@jowr provided some awesome work on upgrading this project to qtpy/PyQt6/PySide6. I updated his branch with the changes made to this repo's main branch since his diverged; I merged them both in my fork. If anyone is interested in using PyQt6/PySide6 with this project, my fork is up-to-date, at least as of Aug. 20, 2023. I will try to keep it synced regularly. Personally, I needed (i.e., really wanted) PySide6 in my project because PySide2 has no binaries for Apple Silicon. I think this project should really consider upgrading to qtpy/PyQt6/PySide6. |
It appears that CY2024 was finalized in September and it adopted 6.5 as the version for Qt for Python. With that in mind, how are things looking with regard to moving to support PySide6 now? 2024 is just under ten weeks away 🙂 |
Qt4 is deprectaed since about 2015, so I think it would make sense to finally drop Qt4 support in NodeGraphQt and move from Qt.py to Qt5.py. Implicitly NodeGraphQt already requires Qt5 due to the use of QOpenGLWidget, which got introduced with Qt 5.4.
Qt6 is also available since some time, and it would be nice if NodeGraphQt were eventually usable with PySide6, but I don't think there is a Qt6.py wrapper yet (and I'm not sure whether there will be one).
When developing a new application, I expect most developers would like to work with Qt6 directly, so maybe we could also consider dropping the wrapper and only supporting PySide6? This would help upgrade NodeGraphQt faster, and probably the majority of developers will want to work with PySide only anyway, since it is officially supported by TQtC and available under a more liberal license.
Moreover, Qt.py is not very suitable for building liberal-licensed applications, since there seems to be no proper way to enfore the use of PySide only, at least I couldn't find anything (apart from environment variables which only offer control over the preferred Qt bindings order at runtime).
What are your thoughts?
The text was updated successfully, but these errors were encountered: