Re: [PyQt] pyqtSlot, getting undefined return values when called from qml javascript

2012-05-01 Thread Ville M. Vainio
On Sun, Apr 29, 2012 at 5:47 PM, Phil Thompson p...@riverbankcomputing.com wrote: I have tried passing return value in the decorator (return=int...). Any clues where to look? Have you got a complete test that demonstrates the problem? Now I do, but when I went about to create that minimal

Re: [PyQt] sip fails with [CLASSNAME] has not been defined

2012-05-01 Thread tuxor1337
I think, I can answer my own question. But only with respect to the _reason_ for this behaviour. I have to admit, that I don't like this behaviour: The problem is the namespace ui. Because OnyxDialog is defined in that namespace, it has to be referred to as ui::OnyxDialog in

[PyQt] Segmentation fault. What could be the cause?

2012-05-01 Thread tuxor1337
Hi all, in one of my SIP files I have this line (a class constructor): MessageDialog(QMessageBox::Icon icon /TransferThis/, const QString title /TransferThis/, const QString text /TransferThis/, QMessageBox::StandardButtons buttons /TransferThis/ = QMessageBox::NoButton, QWidget

[PyQt] ANN: eric 4.5.3 released

2012-05-01 Thread Detlev Offenbach
Hi, I just uploaded eric 4.5.3. It is a maintenance release fixing some bugs. It is available via the eric web site. http://eric-ide.python-projects.org/index.html Regards, Detlev -- Detlev Offenbach det...@die-offenbachs.de ___ PyQt mailing list

Re: [PyQt] Segmentation fault. What could be the cause?

2012-05-01 Thread Phil Thompson
On Tue, 01 May 2012 12:04:19 +0200, tuxor1...@web.de wrote: Hi all, in one of my SIP files I have this line (a class constructor): MessageDialog(QMessageBox::Icon icon /TransferThis/, const QString title /TransferThis/, const QString text /TransferThis/,

Re: [PyQt] Segmentation fault. What could be the cause?

2012-05-01 Thread tuxor1337
Thanks, that worked :) Now everything is running fine. You definitely need to remove all the /TransferThis/ except for the one on the parent argument. Phil ___ PyQt mailing listPyQt@riverbankcomputing.com

Re: [PyQt] sip fails with [CLASSNAME] has not been defined

2012-05-01 Thread tuxor1337
You are right, that's indeed a rather obvious option. Thanks again for your patience :) You use SIP to describe the bindings you want to create - this is not necessarily the same as the API of the underlying library. In other words you don't teach SIP to cut off the ui from the namespace, just