Thursday 01 of November 2007 23:32:02 Phil Thompson napisał(a):
> On Thursday 01 November 2007, Bart. wrote:
> > 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's not a pointer, it's a Python object that wraps the C++ pointer.

So how to pass this object into embeded python interpreter (executed script)?
Anyone know any example?

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to