PyQt with embedded python in Qt App

Bart. uzi18 at o2.pl
Thu Nov 1 23:24:41 CET 2007


Thursday 01 of November 2007 15:13:55 Phil Thompson napisał(a):
> On Thursday 01 November 2007, cgrebeld wrote:
> > Is it possible for a Qt C++ application, which embeds the python
> > interpreter, to import and use PyQt?  There can be only one
> > QApplication, which is created in the C++ side, so how would I use
> > that from the python side?
>
> QtGui.QApplication.instance()
>

What I can do with this pointer?
It is possible to add window to application ?
It is possible to connect to application signals?

Bart.



More information about the Python-list mailing list