[PyKDE] What am I missing?

Donald Beaudry donb at init.com
Thu Sep 14 20:56:13 BST 2000


I just grabbed the v2.0 tar files, unpacked them, and tried to build
them on a RedHat 6.2.  I started with sip, but the build died quickly.
The qt (and friends) I am using are those included with the RedHat 6.2
distribution.  Should that work?  Included below is the tail of the
build output.

Any suggestions would be appreciated.

--
Donald Beaudry                                     Ab Initio Software Corp.
                                                   201 Spring Street
donb at init.com                                      Lexington, MA 02421
                  ...So much code, so little time...


---------------------------------------------------
/bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I..  -DSIP_QT_SUPPORT -I/usr/lib/qt-2.1.0/include  -I/usr/X11R6/include -I/usr/local/include/python1.5  -fno-exceptions -O2 -c moc_sipQt.cpp
rm -f .libs/moc_sipQt.lo
c++ -DHAVE_CONFIG_H -I. -I. -I.. -DSIP_QT_SUPPORT -I/usr/lib/qt-2.1.0/include -I/usr/X11R6/include -I/usr/local/include/python1.5 -fno-exceptions -O2 -c  -fPIC -DPIC moc_sipQt.cpp -o .libs/moc_sipQt.lo
moc_sipQt.cpp: In function `static class QString sipProxy::tr(const char *)':
moc_sipQt.cpp:48: no matching function for call to `QApplication::translate (char[9], const char *&, int)'
/usr/lib/qt-2.1.0/include/qapplication.h:141: candidates are: QApplication::translate(const char *, const char *) const
moc_sipQt.cpp: At top level:
moc_sipQt.cpp:52: prototype for `class QString sipProxy::tr(const char *, const char *)' does not match any in class `sipProxy'
moc_sipQt.cpp:47: candidate is: static class QString sipProxy::tr(const char *)
moc_sipQt.cpp: In method `class QString sipProxy::tr(const char *, const char *)':
moc_sipQt.cpp:53: no matching function for call to `QApplication::translate (char[9], const char *&, const char *&)'
/usr/lib/qt-2.1.0/include/qapplication.h:141: candidates are: QApplication::translate(const char *, const char *) const
moc_sipQt.cpp: In function `static class QMetaObject * sipProxy::staticMetaObject()':
moc_sipQt.cpp:65: `Access' is not a member of type `QMetaData'
moc_sipQt.cpp:65: `slot_tbl_access' undeclared (first use this function)
moc_sipQt.cpp:65: (Each undeclared identifier is reported only once
moc_sipQt.cpp:65: for each function it appears in.)
moc_sipQt.cpp:75: confused by earlier errors, bailing out
make[2]: *** [moc_sipQt.lo] Error 1
make[2]: Leaving directory `/home/donb/pykde/sip-2.0/siplib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/donb/pykde/sip-2.0'
make: *** [all-recursive-am] Error 2






More information about the PyQt mailing list