No luck with 65564eb2fcf4 either:
x86_64-pc-linux-gnu-g++ -c -march=core2 -msse4.1 -ftree-vectorize -O2
-pipe -fPIC -Wall -W -D_REENTRANT -DNDEBUG -DSIP_PROTECTED_IS_PUBLIC
-Dprotected=public -DQT_NO_DEBUG -DQT_CORE_LIB -I.
-I/var/tmp/portage/dev-python/PyQt4-4.9_pre20111204/work/PyQt-x11-gpl-snapshot-4.9-65564eb2fcf4-2.7/qpy/QtDBus
-I/usr/include/python2.7 -I/usr/mkspecs/linux-g++
-I/usr/include/qt4/QtDBus -I/usr/include/qt4/QtCore -I/usr/include/qt4
-o sipQtDBusQDBusObjectPath.o sipQtDBusQDBusObjectPath.cpp
/var/tmp/portage/dev-python/PyQt4-4.9_pre20111204/work/PyQt-x11-gpl-snapshot-4.9-65564eb2fcf4-2.7/QtDBus/sipQtDBusQDBusVariant.cpp:
In function ‘PyObject* meth_QDBusVariant_variant(PyObject*, PyObject*)’:
/var/tmp/portage/dev-python/PyQt4-4.9_pre20111204/work/PyQt-x11-gpl-snapshot-4.9-65564eb2fcf4-2.7/QtDBus/sipQtDBusQDBusVariant.cpp:45:15:
error: ‘QDBusVariant’ does not name a type
/var/tmp/portage/dev-python/PyQt4-4.9_pre20111204/work/PyQt-x11-gpl-snapshot-4.9-65564eb2fcf4-2.7/QtDBus/sipQtDBusQDBusVariant.cpp:47:87:
error: ‘sipCpp’ was not declared in this scope
...
I can't reproduce this. This is with Qt v4.8.0rc but I don't think
QDBusVariant or qdbusextratypes.h has changed recently.
The only includes at the top of the generated
PyQt-x11-gpl-snapshot-4.9-65564eb2fcf4-2.7/QtDBus/sipQtDBusQDBusVariant.cpp
are:
#include "sipAPIQtDBus.h"
#line 241
"/var/tmp/portage/dev-python/PyQt4-4.9_pre20111204/work/PyQt-x11-gpl-snapshot-4.9-65564eb2fcf4-2.7/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 35
"/var/tmp/portage/dev-python/PyQt4-4.9_pre20111204/work/PyQt-x11-gpl-snapshot-4.9-65564eb2fcf4-2.7/QtDBus/sipQtDBusQDBusVariant.cpp"
If I manually add:
#include <qdbusextratypes.h>
make appears to complete.
Chris
_______________________________________________
PyQt mailing list PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt