[PyKDE] Compile pyqt4 suse 10.1

Ashley Retallack ashley at retallack.org.uk
Thu Jan 25 10:04:55 GMT 2007


Hi all,

I'm having problems compiling PyQt4 on suse 10.1. been following the
instructions on

 http://ericide.python-hosting.com/wiki/Doc/Tutorials/PyQt4/PyQt1/SetupPyQt4/Suse10.1

and the configure works as does most of the make process, it just errors
out at:

g++ -c -pipe -fno-strict-aliasing -fPIC -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I/usr/include/python2.4 -I/usr/mkspecs/linux-g++ -I/usr/include/QtGui -I/usr/include/QtCore -I/usr/include -I/usr/X11R6/include -o sipQtGuiQTreeWidgetItem.o sipQtGuiQTreeWidgetItem.cpp

sipQtGuiQTreeWidgetItem.cpp: In function ‘void* init_QTreeWidgetItem(sipWrapper*, PyObject*, sipWrapper**, int*)’:

sipQtGuiQTreeWidgetItem.cpp:1383: error: ‘Type’ was not declared in this scope

sipQtGuiQTreeWidgetItem.cpp:1395: error: ‘Type’ was not declared in this scope

sipQtGuiQTreeWidgetItem.cpp:1408: error: ‘Type’ was not declared in this scope

sipQtGuiQTreeWidgetItem.cpp:1421: error: ‘Type’ was not declared in this scope

sipQtGuiQTreeWidgetItem.cpp:1435: error: ‘Type’ was not declared in this scope

sipQtGuiQTreeWidgetItem.cpp:1446: error: ‘Type’ was not declared in this scope

sipQtGuiQTreeWidgetItem.cpp:1459: error: ‘Type’ was not declared in this scope

sipQtGuiQTreeWidgetItem.cpp:1473: error: ‘Type’ was not declared in this scope

make[1]: *** [sipQtGuiQTreeWidgetItem.o] Error 1


Any help with this would be much appreciated.

Ash





More information about the PyQt mailing list