[PyKDE] How to embed Python in C++

Eric Jardim ericjardim at gmail.com
Tue Mar 21 13:48:29 GMT 2006


How do I embed Python script in C++?

For example, how do I get a Python extended widget in a C++ application?
QWidget* widget = getMyPythonWidgetFromThisFile("MyWidget.py", "MyWidget");

I know how to do this with Boost.Python easily, but have no clue to do this
with PyQt/SIP.

This would be important to start writing the QtDesigner integration.

Thanks.

--
Eric Jardim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20060321/25549b72/attachment.html


More information about the PyQt mailing list