Maybe this helps:
http://www.trolltech.com/developer/faqs/installation.html#Q8

I had the same problem, because I have still QT1 installed and the moc and 
libqt.so from that version have been used instead of the QT3 ones. After 
creating symlinks in /usr/bin/, compiling was successful.

Regards,
Juergen.

Lars Gullik Bj�nnes wrote:
> Qt3 on RH-7.3 gcc 2.96:
>
> g++ -DHAVE_CONFIG_H -I. -I../../../../../../src/frontends/qt2/ui/moc
> -I../../../../../src -I../../../../../../src/
> -I../../../../../../src/frontends/
> -I../../../../../../src/frontends/controllers
> -I../../../../../../src/frontends/qt2/ui/moc/qt2 -I/usr/lib/qt3/include
> -I../../../../../../boost -isystem /usr/X11R6/include -DQT_CLEAN_NAMESPACE
> -DQT_GENUINE_STR -g -O -fno-exceptions -Wno-non-template-friend -W -Wall -c
> QAboutDialogBase_moc.C -MT QAboutDialogBase_moc.lo -MD -MP -MF
> .deps/QAboutDialogBase_moc.TPlo QAboutDialogBase_moc.C:30: no `void
> QAboutDialogBase::initMetaObject ()' member function declared in class
> `QAboutDialogBase'
> QAboutDialogBase_moc.C: In method `void
> QAboutDialogBase::initMetaObject ()':
> QAboutDialogBase_moc.C:34: `badSuperclassWarning' undeclared (first use
> this function)
> QAboutDialogBase_moc.C:34: (Each undeclared identifier is reported only
> once for each function it appears in.)
>
>
> + more

Reply via email to