[Kde-games-devel] crash in knights, dokumentation for libkdegames, etc.

Frederik Schwarzer schwarzer at kde.org
Mon Mar 14 21:58:26 UTC 2016


Am Donnerstag, 10. März 2016, 23:19:37 schrieb Alexander Semke:

Hi,

> I'm looking at https://bugs.kde.org/show_bug.cgi?id=319298
> 
> I can reproduce this crash and I also see another crash with a
> different call stack (segfault in KgTheme). I have no debug symbols
> installed for libkdegames, so I cannot debug the last couple of
> frames.

If you have installed libkdegames from your dostro, they might provide 
debug symbols for libkdegames as well.


> How do you do this? How is the dev-environment usually setup so that
> the libraries you're developing on do not interfere with the
> "standard" kf5 libraries of your distributions? I saw an article on
> techbase long time ago on this but cannot find it anymore. Can
> somebody please point me into the right direction?

Hmm, I used the techbase article years ago to set my kde4 environment 
up  and then updated it from some blog post, I think. It is now as 
follows.
- I use the system libraries of KF5.
- everything from libkdegames upwards is built from sources.
- built projects are installed into ~/kde5apps.
- my .bashrc contains:
    export KF5=~/kde5apps/
    export XDG_DATA_DIRS=$KF5/share:$XDG_DATA_DIRS:/usr/share
    export XDG_CONFIG_DIRS=$KF5/etc/xdg:$XDG_CONFIG_DIRS:/etc/xdg
    export PATH=$KF5/bin:$PATH
    export QT_PLUGIN_PATH=$KF5/lib/plugins:$KF5/lib64/plugins:
$KF5/lib/x86_64-linux-gnu/plugins:$QT_PLUGIN_PATH
    export QML2_IMPORT_PATH=$KF5/lib/qml:$KF5/lib64/qml:
$KF5/lib/x86_64-linux-gnu/qml
    export QML_IMPORT_PATH=$QML2_IMPORT_PATH
    export KDE_SESSION_VERSION=5
    export KDE_FULL_SESSION=true
    alias mycmake='cmake -DCMAKE_PREFIX_PATH=/home/fs/kde5apps -
DCMAKE_INSTALL_PREFIX=/home/fs/kde5apps -
DCMAKE_BUILD_TYPE=RelWithDebInfo ../'

And then I just run "mycmake && make install" in the build folder of 
the project I am building.


> Also, where is the documentation for kde games lib located?
> Searching on http://api.kde.org for KgTheme or KGameRendererClient
> give me only links for the kdegames4 module.

In http://api.kde.org/4.x-api/kdegames-apidocs/libkdegames/html/index.html I see the apidoc for the master 
versions. Not sure how it is decided which project appears under kde4 
and which under frameworks.

> https://techbase.kde.org/Projects/Games  is this everything that is
> available about kde games in general or is there more documentation
> somewhere else?

There is also https://community.kde.org/KDE_Games.
But it's moslty from KDE 4 times and some of it (e.g the Git 
conversion status page) can be removed, I guess.

Regards,
Frederik


More information about the kde-games-devel mailing list