[Kde-games-devel] Knights fails to compile with kdegames master
Stefan Majewsky
stefan.majewsky at googlemail.com
Thu Apr 19 21:02:57 UTC 2012
Hi,
the KGameRenderer API had to be broken to introduce the KgTheme
classes properly. Miha, please look at the porting guide [1] for the
new libkdegames iteration. I've added a section that details the
necessary changes to your KGameRenderer usage.
You'll need to test for this feature. As we discussed already, since
there is no version checking in the libkdegames CMake stuff yet, I
recommend you check for the existence of <kgtheme.h> or one of the
other new headers, either via find_file() or via try_compile(). For
the last one, an example is in libkdegames/audio, where it checks for
some libsndfile capabilities.
Greetings
Stefan
[1] http://techbase.kde.org/Projects/Games/Porting_to_libkdegames_v5
More information about the kde-games-devel
mailing list