[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-pim
Subject: Re: [Kde-pim] QgpgME
From: Matthias Fuchs <mat69 () gmx ! net>
Date: 2009-09-28 11:49:21
Message-ID: 200909281349.22129.mat69 () gmx ! net
[Download RAW message or body]
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@kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic