Re: Make error on EBQT
Chris Boyle <[email protected]>
| Newsgroups | gmane.network.everybuddy.user |
|---|---|
| Organization | Debian (www.debian.org) |
| Message-ID | <1050747008.17272.5.camel@atlas> |
On Sat, 2003-04-19 at 09:10, [email protected] wrote: > source='ebqtconv.moc.cpp' object='ebqtconv.moc.o' libtool=no \ > depfile='.deps/ebqtconv.moc.Po' tmpdepfile='.deps/ebqtconv.moc.TPo' \ > depmode=gcc3 /bin/sh ../admin/depcomp \ > g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/lib/qt3-gcc3.2/include > -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -O2 -fno-exceptions > -fno-check-new -c -o ebqtconv.moc.o `test -f 'ebqtconv.moc.cpp' || echo > './'`ebqtconv.moc.cpp > In file included from ebqtconv.moc.cpp:11: > ebqtconv.h:143: field `cleanIcon' has incomplete type > ebqtconv.h: In member function `QPixmap EbQtConv::normalIcon() const': > ebqtconv.h:53: return type `struct QPixmap' is incomplete > ebqtconv.h:53: `cleanIcon' undeclared (first use this function) > ebqtconv.h:53: (Each undeclared identifier is reported only once for each > function it appears in.) > make[3]: *** [ebqtconv.moc.o] Error 1 Since it works fine in most places, I guess this must be a Qt 3.0 thing. Not to worry, it looks like it just needs an extra line: #include <qpixmap.h> near the top of the file ebqtconv.h (there are 3 similar lines, the last being ...<qdict.h>). There may be more errors, I don't have a 3.0 machine available to test. If it still fails, just post the output. Thanks. -- Chris Boyle - http://people.debian.org/~cmb/ GPG: B7D86E0F, MSN: [email protected], ICQ: 24151961, AIM: kerneloops, Yahoo: kerneloops, IRC: cmb on freenode.net