Re: problem with linking in Solaris

Dag Andersen <[email protected]> Tue, 23 Nov 2010 14:03:34 +0100
Newsgroups gmane.comp.kde.devel.koffice
Message-ID <[email protected]>
Mandag 22 november 2010 13:01:57 skrev Cyrille Berger Skott:
> On Monday 22 November 2010, Dag Andersen wrote:
> > I'm clueless so help would be very much apreciated.
> > 
> > "koffice 2.2.84 fails to build with the below error.
> > This is on Solaris 11 Express with the Sun Studio 12.1 compiler."
> > See:
> > https://bugs.kde.org/show_bug.cgi?id=257359
> 
> I think I have found the problem.
> 
> in kplato/main.cpp you include kptschedule.h, but kplato_init is not linked
> against kplatokernel.
> 
> The quickest solution is probably to replace
> target_link_libraries(kdeinit_kplato komain)
> 
> by
> target_link_libraries(kdeinit_kplato komain kplatokernel)
> 
> in kplato/CMakeLists.txt
> 
> It should not have much of an influence, since sooner or later kplatokernel
> will be loaded.
Thanks, Cyrille.
I will try to move the qRegisterMetaType() inside libkernel instead, and see 
if that fixes his probelem.
-- 
Mvh.
Dag Andersen