[PyKDE] About getting Qt C++ hidden under a PyObject*

Pierre Barbier de Reuille pierre.barbier at cirad.fr
Mon Oct 6 16:37:01 BST 2003


Hello,

I know nothing about how SIP works, but I'm using PyQt to build the
interface of my application. I need to write C++ extensions in order to
have efficient enough routines. But I already learned a C++ - Python
binding library (namely Boost.Python) and I do not really intend in
learning another one. So, I wondered if there was a way to extract the
Qt C++ object if I have the PyObject* without exporting my own C++
object using sip (they're already exported ...).

Thanks for your help,

-- 
Pierre Barbier de Reuille

INRA - UMR Cirad/Inra/Cnrs/Univ.MontpellierII AMAP
Botanique et Bio-informatique de l'Architecture des Plantes
TA40/PSII, Boulevard de la Lironde
34398 MONTPELLIER CEDEX 5, France

tel   : (33) 4 67 61 65 77    fax   : (33) 4 67 61 56 68 




More information about the PyQt mailing list