[Kde-games-devel] How to test ui.rc files?

Albert Astals Cid aacid at kde.org
Tue Oct 29 23:17:08 UTC 2013


El Dimarts, 29 d'octubre de 2013, a les 23:00:32, Alexander Schuch va 
escriure:
> Hello,
> 
> I am working on Konquest right now and recently I added an action for
> the already present "end turn".
> 
> In order to get this action into the toolbar by default, the file
> konquestui.rc needs to be adjusted. The problem is, that I do not find
> a sane way to actually make my development copy of Konquest to use
> this file.
> 
> What I do right now from the git checkout directory is:
> 
> - remove ~/.kde/share/apps/konquest/konquestui.rc
> - remove ~/.kde/share/config/konquestrc (probably unrelated)
> - mkdir build && cd build
> - cmake .. && make
> 
> Starting Konquest now makes it use
> "/usr/share/kde4/apps/konquest/konquestui.rc" instead of my
> development copy. Even telling "cmake" to use a prefix/installation
> directory and installing it using "make install" won't add the file
> there and as a result won't make Konquest use it.

cmake -DCMAKE_INSTALL_PREFIX=/home/foo/bar
with
export KDEDIRS="/home/foo/bar"

Should work.

Cheers,
  Albert

> 
> The only way I found to make it actually work is to replace
> "/usr/share/kde4/apps/konquest/konquestui.rc", which I prefer not to
> do. Any ideas or suggestions or a tutorial or a simple hint for me?
> 
> Regards,
> Alexander
> _______________________________________________
> kde-games-devel mailing list
> kde-games-devel at kde.org
> https://mail.kde.org/mailman/listinfo/kde-games-devel



More information about the kde-games-devel mailing list