[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice
Subject:    Re: Error compiling qt
From:       David Faure <faure () kde ! org>
Date:       1999-12-18 14:37:15
[Download RAW message or body]

You might want to remove all moc files, and also to check which
moc binary is used. (Somebody reported a similar problem due to $PATH,
although it seems to me that a Qt snapshot should use its own moc,
not depending on PATH).

Also, the rsync version is often broken those days. Better use
the CVS module "qt-copy" (in KDE's CVS).

On Sat, Dec 18, 1999 at 03:51:54PM +0200, Fadi Obeid wrote:
> Hello,
> 
> I managed to upgrade my qt to today's snapshots this morning via rsynch
> which went well. However I was confronted with the following error upon
> compiling:
> ________________________________________________________________________
> 
> make[1]: Entering directory `/kde2/qt-public-cvs/src'
> for d in kernel widgets tools utils dialogs; do \
>         test -d  || mkdir  || exit 1 ; \
> done
> g++ -c -I/kde2/qt-public-cvs/include -I/usr/X11R6/include -pipe -O2
> -fPIC -DQT_B
> UILTIN_GIF_READER  -I/kde2/qt-public-cvs/src/3rdparty/zlib
> -I/kde2/qt-public-cvs
> /src/3rdparty/libpng  -o widgets/qtooltip.o widgets/qtooltip.cpp
> In file included from widgets/qtooltip.cpp:962:
> widgets/qtooltip.moc:36: syntax error before `('
> widgets/qtooltip.moc:55: new declaration `static void
> QTipLabel::staticMetaObjec
> t()'
> widgets/qtooltip.cpp:46: ambiguates old declaration `static class
> QMetaObject *
> QTipLabel::staticMetaObject()'
> widgets/qtooltip.moc: In function `static void
> QTipLabel::staticMetaObject()':
> widgets/qtooltip.moc:56: warning: implicit declaration of function `int
> createMe
> taObject(...)'
> widgets/qtooltip.moc: At top level:
> widgets/qtooltip.moc:60: no `class QMetaObject *
> QTipLabel::createMetaObject()'
> member function declared in class `QTipLabel'
> widgets/qtooltip.moc:84: syntax error before `('
> widgets/qtooltip.moc:103: new declaration `static void
> QTipManager::staticMetaOb
> ject()'
> widgets/qtooltip.cpp:72: ambiguates old declaration `static class
> QMetaObject *
> QTipManager::staticMetaObject()'
> widgets/qtooltip.moc:108: no `class QMetaObject *
> QTipManager::createMetaObject(
> )' member function declared in class `QTipManager'
> make[1]: *** [widgets/qtooltip.o] Error 1
> make[1]: Leaving directory `/kde2/qt-public-cvs/src'
> make: *** [src] Error 2
> _______________________________________________________________________
> 
> I used the option -gif in the ./configure script. Could I have done
> anything wrong??
> 
> Thanks for any help!
> 
> 
> 
> 

-- 
David FAURE
david@mandrakesoft.com, faure@kde.org
http://home.clara.net/faure/
KDE, Making The Future of Computing Available Today

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic