On Fri, Jul 12, 2002 at 10:12:59AM +0200, Edwin Leuven wrote:

> As I said, false alarm, sorry. I am trying to compile the qt2 frontend but 
> couldn't get to compile lyxfunc.C. I got tricked into thinking it had 
> something todo with the above header file. But now I think it had something 
> todo with the boost signal stuff. I get errors like the one below but if I 
> move the include of (q)font_loader.h to the bottom of the includes it 
> compiles. But I still can't link (see below). I compile with gcc 3.1 btw.

Please cvs up.

> ../../lyx-devel/src/insets/insetgraphics.h:34: parse error before `protected'
> ../../lyx-devel/src/insets/insetgraphics.h:39: parse error before `const'
> ../../lyx-devel/src/insets/insetgraphics.h:42: destructors must be member

This is the "Qt headers included too early" signature tune.

There is also the "X headers included before Qt's" signature tune,
involving qevent.h.

They are fun

> 
>frontends/.libs/libfrontends.a(qttableview_moc.o):/usr/local/cvs/lyx-qt2/src/frontends/qt2/moc/qttableview_moc.C:103:
> 
> undefined reference to `QPaintDevice::fontMet(QFont*, int, char const*, int) 
> const'

This looks like you haven't made cleanly. What Qt version ?

john

-- 
"I hope you will find the courage to keep on living 
 despite the existence of this feature."
        - Richard Stallman

Reply via email to