Skip to content

Contribute PythonQt support to Qt.py and/or QtPy #8

Closed

Description

@twardoch

There are two lightweight uniform APIs that lets users write Python code that interfaces with Qt regardless of the actual Python-Qt binding:

They both have similar names, which is confusing, and both currently support PySide2, PyQt5 and the older versions of PySide and PyQt4. Both seem reasonably active, neither supports PythonQt.

I’m not sure how much work it would take to contribute support for PythonQt to either of these packages, but it would be terrific if some volunteer made the effort.

Activity

  1. florianlink commented on Mar 8, 2020

    @florianlink
    Collaborator
  2. twardoch commented on Mar 8, 2020

    @twardoch
    Author

    Ps. It seems that the "mottosso" project (Qt.py) is a bit more active, and it has some backing in the field of video and 3D editing.

    I asked about integrating PythonQt in Qt.py ( mottosso/Qt.py#322 ), and it’s not out of the question of course, but their response was "make PythonQt act more like PySide2". With PySide2 now being "officially backed by Qt", I guess that's inevitable.

    So an alternative course of action would be of course to make, possibly, a PythonQt-to-PySide2 adapter library. I imagine that this could be done in some automated or clever fashion, but I'm not at all any good in this type of thing myself.

    I would say, however, that a partial solution would be better than no solution. I believe that much of Python projects use Python-specific packages for non-UI stuff (i.e. logic) and use the Qt bindings mostly for UI.

    Anyhow — from my end, right now, it's just a "I hope somebody volunteers" thing. :)

  3. changed the title [-]Contribute PythonQt support to "QtPy"[/-] [+]Contribute PythonQt support to Qt.py and/or QtPy[/+] on Mar 8, 2020
  4. alex-eri commented on Jul 11, 2020

    @alex-eri

    PySide2 is "Qt inside Python". PythonQt is "Python inside Qt". Why it need to be supported in qtpy?

  5. locked and limited conversation to collaborators on Dec 15, 2023
  6. converted this issue into a discussion #172 on Dec 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions