[PyKDE] Embedded python

Myddrin myddrin at myddrin.com
Sat May 29 01:30:00 BST 2004


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