<HTML>
<HEAD>
<TITLE>Re: [PyQt] Embedding PyQt with C++ Qt Application</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>If you are not doing threading, you can just embed a normal python interpreter and go to town or you can simply link to PythonQt which already has a nice python console.<BR>
<BR>
<a href="http://pythonqt.sourceforge.net/">http://pythonqt.sourceforge.net/</a><BR>
<BR>
It has an interpreter pre-loaded and ready to go that does nice thinks like giving you the ability to redirect standard out to a Qt window. You don’t have to use the PythonQt style of interfacing with python, you can use PyQt instead from the interpreter (PyQt is way more powerful). Be aware that if you have a threaded application, you might crash and burn here since PythonQt doesn’t handle thread states properly. I’ve been trying to send them a patch to no avail.<BR>
<BR>
Take a look at their PyScriptingConsole.<BR>
<BR>
Brian Kelley<BR>
<BR>
<BR>
On 2/11/09 8:09 AM, "Felipe Tonello" <<a href="felipe.tonello@felipetonello.com">felipe.tonello@felipetonello.com</a>> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Hey guys, is there a way to easly embed PyQt with a C++ Qt Application?<BR>
I already know about boost::python, swig and the normal procedure. But I am wondering if there is an easy way to do that with PyQt.<BR>
<BR>
Felipe Ferreri Tonello<BR>
<a href="felipe.tonello@felipetonello.com">felipe.tonello@felipetonello.com</a><BR>
<a href="http://felipetonello.com">http://felipetonello.com</a><BR>
<BR>
</SPAN></FONT></BLOCKQUOTE>
</BODY>
</HTML>