On Wed, 18 Jan 2012 21:04:35 -0800, Josh Stratton
<strattonbra...@gmail.com> wrote:
> I've seen a couple examples for compiling a CPP app into a
> pyqt-loadable module such as
> http://lynxline.com/qt-python-superhybrids/, but that still requires
> compiling an existing application down to a C++ module.  Is it
> possible to use pyqt inside an existing CPP application to run python
> code similar to pythonqt?
> 
> For example...
> 
> int x = 5;
> pyObject = pyqtContext.eval(x);
> etc.

Yes. You need to read...

http://www.riverbankcomputing.com/static/Docs/sip4/embedding.html

...to get access to the APIs.

Phil
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to