* Thomas Perl (Sun, 15 May 2011 21:57:02 +0200) > 2011/5/15 Thorsten Kampe <thorsten- [email protected]>: > > I've ported a simple PyQt4 (4.8.4) application to PySide 1.0.0 according > > to http://www.qtrac.eu/pyqtbook.html#pyside. This works pretty well, > > except that I cannot use the PyQt4 UI code generator generated UI file: > > You should use the utility "pyside-uic" instead of "pyuic4" if you > want to use PySide. It's basically the same utility, but for PySide.
I am aware of this. Nevertheless this was a short "does PySide work for me?" test that probably a lot of people will do and the "PySide.[...] called with wrong argument types [...].setObjectName(QString). Supported signatures: [...]setObjectName(QString)" error (which is obvious contracticting itself) will not really build confidence. So the question is: is PySide supposed to be able to use PyQt's UI files unmodified? It is actually able to use "Resource object code" (from pyrcc4) from PyQt unmodified. The only thing I found about the general topic is "It is also generally not a good idea to import both PyQt and PySide at the same time."[1] Thorsten [1] <http://developer.qt.nokia.com/wiki/PySide_FAQ# 6624847b60a84a6d81a5950805dfb6df> _______________________________________________ PySide mailing list [email protected] http://lists.pyside.org/listinfo/pyside
