[Kde-pim] QgpgME

Matthias Fuchs mat69 at gmx.net
Mon Sep 28 12:49:21 BST 2009


On Monday 28 September 2009 13:00:04 Volker Krause wrote:
> On Monday 28 September 2009 12:29:08 Matthias Fuchs wrote:
> > Hi,
> >
> > I try to use QgpgME in KGet, yet when I compile I get the follolwing
> > error:
> >
> > CMakeFiles/kgetcore.dir/core/verifier.o: In function
> > `boost::detail::shared_count::shared_count<QFile>(QFile*)':
> > verifier.cpp:
> > (.text._ZN5boost6detail12shared_countC1I5QFileEEPT_[boost::detail::shared
> >_c ount::shared_count<QFile>(QFile*)]+0x62): undefined reference to
> > `boost::throw_exception(std::exception const&)'
> >
> >
> > Does anybody know what I might be doing wrong?
> 
> Looks like you don't have exceptions enabled, try adding the following to
>  your CMakeLists.txt:
> 
> set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${KDE4_ENABLE_EXCEPTIONS}" )
> 
> regards
> Volker
> 

Thanks, that did the trick.

Btw. is there a reason why exceptions are not enabled by default for KDE, or 
might there be some side-effects with qt-code and exceptions?

Cheers,
matthias
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/



More information about the kde-pim mailing list