Hi,<br>
<br>
I am doing Python bindings for the Qt4 library (with Boost.Python), and
I would like to know/share what do you know about the moc generated
code.<br>
<br>
Indeed, as you may know, this code does the "tricks" necessary to make
signals/slots work. I am looking for docs or experiences with the moc
(specially with the Qt4) generated code, to be able to put Python
extended Widgets inside QtDesigner, and later embedded on C++.<br>
<br>
All, I know that everything points to this
"qt_metacall(QMetaObject::Call _c, int _id, void **_a)" function, but
it is a little hard to understand the code. I tried googling to find
the specs or something but I just this:<br>
<a href="http://jahqueel.blogspot.com/2005/06/smoke-for-kde4.html">http://jahqueel.blogspot.com/2005/06/smoke-for-kde4.html</a><br>
<a href="http://www.kdedevelopers.org/node/1149">http://www.kdedevelopers.org/node/1149</a><br>
<br>
I also searched the Qt docs, but it is very superficial (that's ok for
regular Qt users). So, I have to do the moc job, and create this
qt_metacall, method and point it to the right Python funtions.<br>
<br>
BTW, here are the Python bindings. There are working examples on it:<br>
<a href="http://developer.berlios.de/projects/python-qt4/">http://developer.berlios.de/projects/python-qt4/</a><br>
Try the downloadable version (not the SVN), please, and have fun :)<br>
<br>
Thanks,<br>
<br>
[Eric Jardim]<br>