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
_______________________________________________
PyKDE mailing list    [email protected]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Reply via email to