Hi, I've been trying to get PyQt 0.12 to compile for Qt2 (2.1.0, to be 
exact), and I haven't met with much luck. I changed the Makefile to 
point at the Qt2 headers, but I get these errors:

In file included from qtcmodule.cpp:2611:
sipqtProxyqt.moc:45: new declaration `static void 
sipProxyqt::staticMetaObject()'
sipqtProxyqt.h:9: ambiguates old declaration `static class QMetaObject 
* sipProxyqt::staticMetaObject()'

sipqtProxyqt.moc: In function `void 
__static_initialization_and_destruction_0(int, int)':
sipqtProxyqt.moc:29: no matching function for call to 
`QMetaObjectInit::QMetaObjectInit (QMetaObject * (*)())'
/usr/lib/qt2/include/qmetaobject.h:224: candidates are: 
QMetaObjectInit::QMetaObjectInit(void (*)())
/usr/lib/qt2/include/qmetaobject.h:226:                 
QMetaObjectInit::QMetaObjectInit(const QMetaObjectInit &)

I've tried to somehow rid myself of one of those declarations, but I 
succeeded in little more than managing to remove declarations 
necessary in other parts of the code.  Any attempt to circumvent these 
pieces of code naturally results in an undefined symbol at run-time.  
Any suggestions or advice would be greatly appreciated.  Thanks.

- Dan Haffey
[EMAIL PROTECTED]

P.S.  gfortune is listed `cause we are having problems with SMTP right 
now.




_______________________________________________
PyKDE mailing list    [EMAIL PROTECTED]
http://mats.gmd.de/mailman/listinfo/pykde

Reply via email to