On Thursday 04 February 2010 07:24:25 Michele Petrazzo - Unipex wrote: > Hi all, > like now I'm playing for see if the some simple pyqt programs works with > pyside-shiboken and I'm seeing a lot of problems and errors with > TypeError: '$method$' called with wrong parameters. > My code where the problem appear: > > app.installTranslator(translate) > TypeError: 'installTranslator()' called with wrong parameters. > > app are: <QApplication object at 0x9559d40> > and translate: <QTranslator object at 0x9559dc0> > > The same for the some ui created by pyuic: > self.label_1.setAlignment(QtCore.Qt.AlignCenter) > TypeError: 'setAlignment()' called with wrong parameters. > > and: > self.lst_data.setMinimumSize(QtCore.QSize(400, 0)) > TypeError: 'setMinimumSize()' called with wrong parameters. > > Of course, QtCore are the pyside implementation :) and this programs > works well with pyqt > > What can be?
QtGui from PySide-shiboken isn't ready yet, so a lot of bugs exists. Try again in few days or next week when the binding will be more stable. > Thanks, > Michele > _______________________________________________ > PySide mailing list > [email protected] > http://lists.openbossa.org/listinfo/pyside > -- Hugo Parente Lima INdT - Instituto Nokia de Tecnologia
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ PySide mailing list [email protected] http://lists.openbossa.org/listinfo/pyside
