views:

5861

answers:

5
+25  Q: 

PySide vs. PyQt ?

Has anyone tried the new Python Qt binding - PySide yet?

I wonder about its matureness and compatibility with PyQt. What are your experiences on this matter? I know it has only been released this week, but it's such great news for Python development of Qt-based GUIs - there's a lot of interest in this thing.

+8  A: 

Haven't used it yet, but from their site I gather that it is not yet production ready. (Only supports Linux/X11 for starters.) But they claim that a goal of their first release is to be API compatible with PyQt, you just need to change your imports.

So for now it's probably best to develop for PyQt. It'll be easy to switch in the future.

Matthew Marshall
+14  A: 

A quick try revealed that PySide was compatible with my PyQt applications with minor or no modifications at all. Seems to be in a pretty good shape already.

+8  A: 

Just discovered PySide today. I am developing closed-source software using the commercial PyQt license. I tested PySide on some of my code. Replace PyQt4 by PySide everywhere and the code works as is. Only exceptions are pyqtSIGNAL and pyqtsignature, recent additions to PyQt4 which I (unfortunately) use to some extent. I will probably try to run my existing code (now roughly 17.000 lines) with PySide and see what happens. So far I am impressed.

Arno Pähler
A: 

Arno, how did it go with PySide ? Would you recommend us to replace our PyQt license with PySide or? I'd appreciate if you could shortly write their pros/cons.

Regards, -Atila

Atila
A: 

One thing is if you are developing for mobile platforms, PySide has started on a Python version of the Mobility APIs. PyQt doesn't seem to have anything going on on that sector.

teukkam