[Kde-games-devel] Making DrKonqi work

Frederik Schwarzer schwarzer at kde.org
Fri Jan 22 20:28:55 UTC 2016


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


More information about the kde-games-devel mailing list