[Kde-games-devel] Making DrKonqi work

Frederik Schwarzer schwarzer at kde.org
Sun Jan 24 20:16:33 UTC 2016


Am Montag, 25. Januar 2016, 04:34:39 schrieb Michael Palimaka:
> On 01/23/2016 07:28 AM, Frederik Schwarzer wrote:
> > Hi,
> > 
> > currently none of our Games initiates DrKonqi (KCrash) when
> > crashing. This can be changed by adding KCrash to CMakeLists.txt
> > files like this:
> > 
> > find_package(KF5 REQUIRED COMPONENTS
> > 
> >      CoreAddons
> >      Config
> > 
> > +    Crash
> > 
> >      DBusAddons
> >      DocTools
> >      I18n
> > 
> > )
> > [...]
> > 
> >  target_link_libraries(kigo
> >  
> >     KF5::XmlGui
> >     KF5KDEGames
> >     KF5KDEGamesPrivate
> >     KF5::DBusAddons
> > 
> > +   KF5::Crash
> > 
> >     Qt5::Svg
> >  
> >  )
> > 
> > I would do that in all games. If you do it in your game by
> > yourself, please drop me a short note.
> > 
> > It might also be needed to initialize KCrash in libkdegames, so
> > that KCrash also works if the game is run outside a full KF5
> > session.
> > http://api.kde.org/frameworks-api/frameworks5-apidocs/kcrash/html
> > /namespaceKCrash.html#af3cbae2933366133fd4e666568521232
> > 
> > Opinions?
> > 
> > Regards,
> > Frederik
> 
> I agree, although I think that initialisation will be required in
> each individual application.
> 
> The framework version requirement would also needed to be lifted to
> at least 5.15.

Since yesterday I was handed some links and info regarding this and it 
seems there is quite some discussion currently going on.

I even saw an RR updating the apidoc ob initialize() by some guy named 
... oh, it was you. :D

So, it seems for now we need the initialize() call in main.

Regards,
Frederik


More information about the kde-games-devel mailing list