[PyQt] Unable to create the C++ code

2009-04-29 Thread Gudjon I. Gudjonsson
Hi I am trying to fix the Debian package of PyQwt5 where I get the error: Generating the C++ source for the qt module... sip: QApplication has ctors with the same Python signature Error: Unable to create the C++ code. I do in fact get the same error when I try to compile the PyQt3-3.17.4 sourc

Re: [PyQt] multiple QThread simultaneously

2009-04-29 Thread Demetrius Cassidy
I don't see why there would be a limit. Can you post a sample code? NARCISO, Rui wrote: > > > Hi all, > > I have a class MyThread that inherits from QThread and I would like to be > able to run multiple instances of MyThread in parallel (even if one has to > wait while the other completes). >

[PyQt] Problem with latest PyQt build - ImportError: DLL load failed: Invalid access to memory location.

2009-04-29 Thread Demetrius Cassidy
>>> from PyQt4 import QtCore Traceback (most recent call last): File "", line 1, in ImportError: DLL load failed: Invalid access to memory location. If I use the nightly build from 4252009, it all works as intended. Using Qt 4.51 with the included mingw32 to build PyQt. It builds fine and the

Re: [PyQt] Why does QApplication.processEvents() increase performance?

2009-04-29 Thread Fabrizio Milo aka misto
My Guess is that the time is spent on creating large object events queues that then get processed all at once. In the second approach the queues are smaller and the object could be reused without being created again. just guessing though ___ PyQt mailing

Re: [PyQt] Help with New qtdemo Example

2009-04-29 Thread Phil Thompson
On Wed, 29 Apr 2009 21:57:23 +0800, grissiom wrote: >> 在 星期三 29 四月 2009 05:34:05,Phil Thompson 写道: >> > I've made sure that everything in the info dict (read from the XML >> > file) >> > is a Python string rather than a QString. That should fix all similar >> > problems. >> > >> > Most things seem

Re: [PyQt] Help with New qtdemo Example

2009-04-29 Thread grissiom
> 在 星期三 29 四月 2009 05:34:05,Phil Thompson 写道: > > I've made sure that everything in the info dict (read from the XML file) > > is a Python string rather than a QString. That should fix all similar > > problems. > > > > Most things seem to work in tonight's snapshot... > > > > - Not all of the anima