[Kde-games-devel] Knights fails to compile with kdegames master
Christoph Feck
christoph at maxiom.de
Wed Apr 18 19:32:07 UTC 2012
Hi,
since the API changes in libkdegames (r1289083), "knights" chess game
fails to compile. Thanks for looking at the issue.
Christoph Feck (kdepepo)
KDE Quality Team
-------------- next part --------------
/local/git/extragear/games/knights/src/core/renderer.cpp: In constructor 'Knights::Renderer::Renderer(const QString&)':
/local/git/extragear/games/knights/src/core/renderer.cpp:28:110: error: no matching function for call to 'KGameRenderer::KGameRenderer(QLatin1String)'
/local/git/extragear/games/knights/src/core/renderer.cpp:28:110: note: candidates are:
In file included from /local/kde4/include/KDE/KGameRenderer:1:0,
from /local/git/extragear/games/knights/src/core/renderer.h:27,
from /local/git/extragear/games/knights/src/core/renderer.cpp:22:
/local/kde4/include/KDE/../kgamerenderer.h:125:12: note: KGameRenderer::KGameRenderer(KgTheme*, unsigned int)
/local/kde4/include/KDE/../kgamerenderer.h:125:12: note: no known conversion for argument 1 from 'QLatin1String' to 'KgTheme*'
/local/kde4/include/KDE/../kgamerenderer.h:121:12: note: KGameRenderer::KGameRenderer(KgThemeProvider*, unsigned int)
/local/kde4/include/KDE/../kgamerenderer.h:121:12: note: no known conversion for argument 1 from 'QLatin1String' to 'KgThemeProvider*'
/local/kde4/include/KDE/../kgamerenderer.h:94:23: note: KGameRenderer::KGameRenderer(const KGameRenderer&)
/local/kde4/include/KDE/../kgamerenderer.h:94:23: note: no known conversion for argument 1 from 'QLatin1String' to 'const KGameRenderer&'
/local/git/extragear/games/knights/src/core/renderer.cpp:30:29: error: 'setTheme' was not declared in this scope
make[2]: *** [src/CMakeFiles/knights.dir/core/renderer.o] Error 1
/local/git/extragear/games/knights/src/board.cpp: In member function 'void Knights::Board::updateTheme()':
/local/git/extragear/games/knights/src/board.cpp:498:15: error: 'class Knights::Renderer' has no member named 'setTheme'
make[2]: *** [src/CMakeFiles/knights.dir/board.o] Error 1
make[2]: Target `src/CMakeFiles/knights.dir/build' not remade because of errors.
make[1]: *** [src/CMakeFiles/knights.dir/all] Error 2
make[1]: Target `all' not remade because of errors.
make: *** [all] Error 2
make: Target `default_target' not remade because of errors.
More information about the kde-games-devel
mailing list