On Saturday 14 November 2015 16:14:22 Andreas Cord-Landwehr wrote:
> Hey, so do I understand it right that for all applications we have to check
> for two things:
>
> 1. the application must link against KF5::Crash
> 2. there must be a call to some (dummy) function in KCrash like
> "KCrash::setC
Hey, so do I understand it right that for all applications we have to check
for two things:
1. the application must link against KF5::Crash
2. there must be a call to some (dummy) function in KCrash like
"KCrash::setCrashHandler(KCrash::defaultCrashHandler);"
to ensure that the linker actually l
On 2015-09-24, Harald Sitter wrote:
> Uh, ah, but, CMake is too smart :P
> If you add a target_link_library that isn't actually used it won't be
> linked. So what every application would have to do is add the target
It is not cmake that is too smart, but the linker when passed
--as-needed (which
On Thursday 24 September 2015 09:41:24 Harald Sitter wrote:
> n Thu, Sep 24, 2015 at 9:30 AM, David Faure wrote:
> > On Wednesday 23 September 2015 14:24:33 Harald Sitter wrote:
> >> Heya
> >>
> >> is it intentional that KCrash is not running when an application is
> >> started via kdeinit?
> >>
>
Do people porting to KF5 follow a guide for the cmakelists.txt part of it?
That guide should mention this too ;)
The only guide I know of is https://community.kde.org/Frameworks/Porting_Notes,
which I've been sort of updating while porting calligra and krita. The
build system part is pretty bare
n Thu, Sep 24, 2015 at 9:30 AM, David Faure wrote:
> On Wednesday 23 September 2015 14:24:33 Harald Sitter wrote:
>> Heya
>>
>> is it intentional that KCrash is not running when an application is
>> started via kdeinit?
>>
>> In particular since only very few libraries seem to link KCrash it
>> ne
On Wednesday 23 September 2015 14:24:33 Harald Sitter wrote:
> Heya
>
> is it intentional that KCrash is not running when an application is
> started via kdeinit?
>
> In particular since only very few libraries seem to link KCrash it
> never gets loaded for 99% of applications, thus not installin
On Wed, Sep 23, 2015 at 2:24 PM, Harald Sitter wrote:
> Heya
>
> is it intentional that KCrash is not running when an application is
> started via kdeinit?
>
> In particular since only very few libraries seem to link KCrash it
> never gets loaded for 99% of applications, thus not installing as a
>
Heya
is it intentional that KCrash is not running when an application is
started via kdeinit?
In particular since only very few libraries seem to link KCrash it
never gets loaded for 99% of applications, thus not installing as a
qcoreapp crash handler and thus not handling crashes.
Notably except