[Kde-games-devel] Troubles with porting kdereview/mancala to KgDifficulty
Albert Astals Cid
aacid at kde.org
Wed Jul 18 23:05:52 UTC 2012
El Dimarts, 17 de juliol de 2012, a les 17:22:29, Yuri Chornoivan va escriure:
> Hi,
>
> I am trying (just for fun) to port Mancala to KgDifficulty.
>
> It compiles and works as expected if ported without conditional statements
> and the old code from KGameDifficulty. But with conditionals (#ifdef) it
> refuses to compile:
>
> CMakeFiles/mancala.dir/MainWindow.o: In function
> `MainWindow::setupActions()':
> MainWindow.cpp:(.text+0x1377): undefined reference to
> `KGameDifficulty::init(KXmlGuiWindow*, QObject const*, char const*, char
> const*)'
>
> Where did I go wrong?
I'd like to help you but the cmake part is out of sync with kde 4.9 and does
not build there anymore, maybe someone wants to fix that first?
Anyway i think we should add to move it back to playground, a project should
not be in kdereview for 2 years.
Any taker?
Albert
>
> Attached is the patch with the changes.
>
> Thanks in advance for your advices.
>
> Best regards,
> Yuri
More information about the kde-games-devel
mailing list