Marcelo Acuña writes:
> 
> > > This file was generated using the moc from 4.5.1. It
> > 
> > inside lyx tree:
> > find . -name '*moc*' | xargs rm 
> 
> Before compiler error I found only one *moc*.
> I run make clean and is deleted.
> I run configure and make produces the error again.

In case you compiled Qt by yourself and you also have the system Qt installed,
then, most probably, the wrong moc is being picked up by the configure script.
Supposing that you installed Qt in /usr/local/qt, try the following:
$ cd /usr/local/qt/bin
$ ln -s moc moc-qt4
$ ln -s uic uic-qt4
and then try to configure again. If I guessed right, it should now work.

-- 
Enrico

Reply via email to