[Kde-games-devel] Making DrKonqi work

Michael Palimaka kensington at gentoo.org
Sun Jan 24 17:34:39 UTC 2016


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.



More information about the kde-games-devel mailing list