Skip to content

Qt5/Qt6 upgrade considerations #231

Open
@mara004

Description

@mara004

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?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions