Menu

Combine PythonQt and Pyside

2016-09-17
2016-09-17
  • Andreas Zieringer

    Hi,

    as Pyside is moving back to the Qt Project https://groups.google.com/forum/#!topic/pyside-dev/pqwzngAGLWE it would be great to somehow combine PythonQt and Pyside. PythonQt is the perfect solution if you want to add a python wrapper of your own QObject derived classes. Just a few lines of code and it works perfectly. For the python Qt API I would like to use Pyside as it is more complete and thread safe. And as it is moving back to the Qt Project it is also getting the standard Qt python API wrapper.
    Currently it is possible to use both together but you can't connect signal and slots directly and the basic Qt types are not compatible. Is it somehow possible to write some converters to map the Pyside and PythonQt Qt types? I think for the signal/slots stuff we would need to modify the code on both sides to get the reference count correctly?

    Regards,

    Andreas

     
  • Florian Link

    Florian Link - 2016-09-17

    That is really good news for PySide, I though it was dead after Nokia removed the funding.
    Let's hope it gains some momentum now.

    Well, bringing both frameworks together seems difficult, I don't really see how that would work.
    I think the best thing would be to implement a PythonQt-like dynamic API for PySide, but up to now the focus of PySide hasn't been embedding.

    I will not invest time in this, since PythonQt works fine for my company's needs. But since PythonQt is open source anyone can start working on this.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.