On 16.05.2011 11:04, ext Thorsten Kampe wrote:
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.
You can't mix objects derived from PyQt's QObject with objects derived from PySide's QObject, they're not compatible with each other. I do agree that the error messge is confusing, though - could you file a bug report about it?
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.
No, files generated with pyuic4 won't work as is, due to the conflicting import statements. There might be other minor differences nowadays as well. Just run pyside-uic against the .ui files and you're all set.
Cheers, ma. _______________________________________________ PySide mailing list [email protected] http://lists.pyside.org/listinfo/pyside
