Re: kcrash when started from terminal

2015-11-14 Thread David Faure
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

Re: kcrash when started from terminal

2015-11-14 Thread Andreas Cord-Landwehr
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

Re: kcrash when started from terminal

2015-09-25 Thread Sune Vuorela
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

Re: kcrash when started from terminal

2015-09-24 Thread David Faure
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? > >> >

Re: kcrash when started from terminal

2015-09-24 Thread Boudewijn Rempt
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

Re: kcrash when started from terminal

2015-09-24 Thread Harald Sitter
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

Re: kcrash when started from terminal

2015-09-24 Thread David Faure
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

Re: kcrash when started from terminal

2015-09-23 Thread Aleix Pol
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 >

kcrash when started from terminal

2015-09-23 Thread Harald Sitter
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