[PyKDE] Re: How to embed Python in C++
Phil Thompson
phil at riverbankcomputing.co.uk
Wed Mar 22 11:15:25 GMT 2006
On Wednesday 22 March 2006 10:56 am, Eric Jardim wrote:
> 2006/3/21, Eric Jardim <ericjardim at gmail.com>:
> > How do I embed Python script in C++?
>
> C'mon folks...
>
> How do I convert a "PyObject*" to a "QWidget*" returned from a function
> like "PyRun_String()"?
sipForceConvertToInstance() and related functions. It's all in the SIP docs.
Phil
More information about the PyQt
mailing list