Talk:Development/Tutorials/Icons: Difference between revisions
No edit summary |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
observation: | observation: | ||
rm -rf /var/tmp/kdecache-root/ | |||
* 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 | cd /root/kdeexamples/kicons | ||
rm -rf * | 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.