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

List:       kde-devel
Subject:    Re: Error compiling kdelibs4_snapshot
From:       Hamish Rodda <rodda () kde ! org>
Date:       2006-03-26 0:43:02
Message-ID: 200603261043.06749.rodda () kde ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Sunday 26 March 2006 06:54, Stefan Winter wrote:
> Hello,
>
> I tried to compile freshly checkout'ed libs today, but it didn't work.
> Looked like a Qt error, so I re-checkout'ed qt-copy, ./apply_patches,
> installed in a fresh directory. Still the same error remained.
> I am using cmake, and one of the topmost errors is about Q3Frame not being
> declared. So I assume the Q3support compiler flag isn't set properly. How
> can I set that? And why do I have to? I thought this flag is still
> standard, given that libs aren't completely ported?
>
> Error output was:
> In file included
> from
> /home/swinter/Development/KDE-SVN/branches/work/kdelibs4_snapshot/kdeui/kto
>olbar.cpp:1133:
> /home/swinter/Development/KDE-SVN/branches/work/kdelibs4_snapshot/kdeui/kto
>olbar.moc: At global scope:
> /home/swinter/Development/KDE-SVN/branches/work/kdelibs4_snapshot/kdeui/kto
>olbar.moc:39: error: `KToolBarSeparator' has not been declared
> /home/swinter/Development/KDE-SVN/branches/work/kdelibs4_snapshot/kdeui/kto
>olbar.moc:40: error: `Q3Frame' has not been declared
> /home/swinter/Development/KDE-SVN/branches/work/kdelibs4_snapshot/kdeui/kto
>olbar.moc:44: error: `KToolBarSeparator' has not been declared
> /home/swinter/Development/KDE-SVN/branches/work/kdelibs4_snapshot/kdeui/kto
>olbar.moc:45: error: non-member function `const QMetaObject* metaObject()'
> cannot have `const' method qualifier
> /home/swinter/Development/KDE-SVN/branches/work/kdelibs4_snapshot/kdeui/kto
>olbar.moc:49: error: `KToolBarSeparator' has not been declared
> [snip a whole lot of later errors]

Looks to me like your moc file wasn't regenerated after you updated.  Perhaps 
you have a moc file in your src dir while compiling in a builddir?  Anyway, 
do a "find . -name \*.moc | xargs rm" to delete moc files and try again.

Cheers,
Hamish.

[Attachment #5 (application/pgp-signature)]

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


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

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