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

List:       kde-commits
Subject:    Re: branches/work/kde4/extragear/multimedia/amarok/src
From:       Laurent Montel <montel () kde ! org>
Date:       2006-05-31 17:35:11
Message-ID: 200605311935.12597.montel () kde ! org
[Download RAW message or body]

On Wednesday 31 May 2006 18:47, Simon Hausmann wrote:
> On Wednesday 31 May 2006 18:36, Laurent Montel wrote:
> > SVN commit 546999 by mlaurent:
> > 
> > Now lib links
> > Strnage in qt4 (moc) , we can't support inline function
> > -inline void
> > +void
> > FirstRunWizard::invokeHandbook() //SLOT
> > {
> > // Show handbook
> > KToolInvocation::invokeHelp( QString(), QString(), 0 );
> > }
> > 
> > A bug ?
> 
> Can you provide some more details...?
> 
> 
> Thanks,
> Simon

into a generated ui.h file
amarok/src/firstrunwizard.ui.h before slot was defined as inline (not me who 
add function as inlined).
But now when we try to link it gcc makes an error:
CMakeFiles/amarok.dir/app.o: In function 
`App::firstRunWizard()':/home/lmontel/kde-4.0/kde4/cmake/snapshot/extragear/multimedia/amarok/src/app.cpp:1058: \
 undefined reference to `FirstRunWizard::writeCollectionConfig()'
CMakeFiles/amarok.dir/firstrunwizard.moc.o:
(.data.rel.ro._ZTV14FirstRunWizard[vtable for FirstRunWizard]+0x12c): 
undefined reference to `FirstRunWizard::openLink(QString const&)'
collect2: ld returned 1 exit status


I used gcc (GCC) 4.1.1 20060518
qt-4.1.3 (qt-copy)

Regards


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

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