[PyKDE] Embedded python

Kevin Schmidt kevin at eyesopen.com
Sat May 29 02:06:00 BST 2004


I was having trouble,  but thats gone now. 
Turns out that I can call QT commands, but any subsequent commands crash 
it.  It may be my interpreter embedding - I'll have to look further.

Kevin

Myddrin wrote:

>Is libqtc compilied against the same version of QT as you're app is compiled 
>with.  I had a similar problem when I was importing a libqtc compiled against 
>qt 3.1.2, but my main app was a qt 3.3.2 app.
>
>Just a thought.
>
>On Friday 28 May 2004 5:14 pm, Kevin Schmidt wrote:
>  
>
>>I am running a QT C++ application with an embedded python interpreter.
>>I can import PyQt and access existing objects thought the qApp variable.
>>  However, I can't seem to construct anything - my app quits.  I don't
>>actually get a message (its lost in the embeddedness), but it seems to
>>be the "QPaintDevice: Must construct a QApplication before a
>>QPaintDevice" problem.  Not sure though.
>>
>>Any suggestions?
>>
>>_______________________________________________
>>PyKDE mailing list    PyKDE at mats.imk.fraunhofer.de
>>http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
>>    
>>




More information about the PyQt mailing list