Talk:Development/Tutorials/Icons: Difference between revisions

From KDE TechBase
No edit summary
No edit summary
 
Line 7: Line 7:
* after the first clone, build and install, there is no appropriate icon for tutorial-kicon
* after the first clone, build and install, there is no appropriate icon for tutorial-kicon


* you cannot restore this state using
* you can restore this state:
** tell the icon cache that there is no icon available
rm /usr/local/share/icons/hicolor/scalable/apps/tutorial-kicon.svgz
  rm -rf /var/tmp/kdecache-root/icon-cache.kcache
  rm -rf /var/tmp/kdecache-root/icon-cache.kcache
tutorial-kicon
** redo the compile
  cd /root/kdeexamples/kicons
  cd /root/kdeexamples/kicons
  rm -rf /root/kdeexamples/kicons/*
  rm -rf /root/kdeexamples/kicons/*
  git checkout .
  git checkout .
  cmake . && make && make install && tutorial-kicon
  cmake . && make && make install && tutorial-kicon
You will see that there is no icon shown, although available.

Latest revision as of 01:59, 19 September 2011

talk about KDE4_UPDATE_ICONCACHE(), see http://techbase.kde.org/Development/CMake/Addons_for_KDE#The_locations_of_install_directories --Tstaerk 15:40, 18 September 2011 (BST)

observation:

  • KDE4_UPDATE_ICONCACHE() is missing in CMakeLists from git.kde.org/kdeexamples/kicons
  • after the first clone, build and install, there is no appropriate icon for tutorial-kicon
  • you can restore this state:
    • tell the icon cache that there is no icon available
rm /usr/local/share/icons/hicolor/scalable/apps/tutorial-kicon.svgz 
rm -rf /var/tmp/kdecache-root/icon-cache.kcache
tutorial-kicon
    • redo the compile
cd /root/kdeexamples/kicons
rm -rf /root/kdeexamples/kicons/*
git checkout .
cmake . && make && make install && tutorial-kicon

You will see that there is no icon shown, although available.