GSoC/GCI Archive
Google Code-in 2012 Copyleft Games Group

Hedgewars: Display library information

completed by: Drew Gottlieb

mentors: Andrey Korotaev, Xeli, Sheepy, koda

Remember to join our IRC channel when working on this task! We are on #hedgewars at If you are new to IRC, read this tutorial from a past GCI participant.

Your task

Hedgewars depends on many libraries: the most important are QT and SDL and ffmpeg/libav when necessary. It would be nice to display some information about which libraries are in use, with which compiler version Hedgewars was compiled and with which options.

Add a few lines about this in QTfrontend/ui/page/pageinfo.cpp (video libraries in QTfrontend/ui/page/pagevideorec.cpp) using each library version function and any other option might be easy to get.


A working patch, that applies cleanly to our source tree. This patch should be in the form of a pull from clone, hg export or unified diff format (in order of preference) implementing the functionality required.