On 15.01.07 21:04:23, [EMAIL PROTECTED] wrote: > On Monday January 15 2007 6:12 pm, Andreas Pakulat wrote: > > You forgot to supply -q /usr/bin/qmake-qt4 and thus > > Ok, so I did this: > python configure.py -w -q /usr/share/qt4/bin/qmake > > and it looked like it was compiling, it spent a while at that. > > Before it finished though, it ran into a bunch of errors: > > `/mnt/hda3/home/axiom/Downloads/PyQt-x11-gpl-4.1.1/PyQt-x11-gpl-4.1.1/QtTest' > g++ -c -pipe -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/qt4 -I/usr/include/qt4/QtTest -I/usr/include/qt4/QtGui > -I/usr/include/qt4/QtCore -I/usr/X11R6/include -o > sipQtTestcmodule.o sipQtTestcmodule.cpp > g++ -c -pipe -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/qt4 -I/usr/include/qt4/QtTest -I/usr/include/qt4/QtGui > -I/usr/include/qt4/QtCore -I/usr/X11R6/include -o > sipQtTestQTest.o sipQtTestQTest.cpp > sipQtTestQTest.cpp: In function ‘PyObject* meth_QTest_mouseRelease(PyObject*, > PyObject*)’: > sipQtTestQTest.cpp:78: error: ‘mouseRelease’ is not a member of ‘QTest’ > sipQtTestQTest.cpp: In function ‘PyObject* meth_QTest_mousePress(PyObject*, > PyObject*)’:
This doesn't look right. What version of Qt are you using? It seems that there are some headers wrong in your Qt4 installation. The mentioned methods are in fact members of the QTest class, but for some reason your compiler thinks they are not! > I've never been terribly succesful at compiling things like this. How can I > get this to work? Check that /usr/include/qt4/Qt/qtest.h includes the members that gcc complains about. If it does, your gcc is broken and I have no idea in what way or how to fix that. Andreas -- Your analyst has you mixed up with another patient. Don't believe a thing he tells you. _______________________________________________ PyKDE mailing list PyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer.de/mailman/listinfo/pykde