On 13-Dec-02 Paul F. Kunz wrote:
>>>>>> On Wed, 11 Dec 2002 14:15:17 -0500, David Abrahams
>>>>>> <[EMAIL PROTECTED]> said:
 
>> I don't think that's really the right conclusion... or at least,
>> it masks something much deeper.  
 
> You might be right here.   Although I got my Qt Window to work
> with PyQt by using SIP under Linux, I'm still having trouble
> under Windows.   It is not Python crash however, it is something
> about QPainter being used on a device which already has a
> QPainter.

Are you sure that you only have a single QApplication instance and
that both Boost.Python and PyQt are referencing the same
QApplication instance? That's QPainter related somewhat (if you try
to instantiate a QWidget with no QApplication instance, the error
will be from QPainter, for example).

QApplication also sets up the event loop (there should be only one
of those too).

Jim
 

_______________________________________________
PyKDE mailing list    [EMAIL PROTECTED]
http://mats.gmd.de/mailman/listinfo/pykde

Reply via email to