Thank you I just added KAboutData::setProgramIconName() call with the proper name because my displayed and internal application names are different, cleared the cache, and thats it: I've got icons. Thank you again.
On Wed, Oct 5, 2011 at 9:09 AM, Yogesh Marwaha <[email protected]>wrote: > On 4 October 2011 21:19, dmitry chernov <[email protected]> > wrote: > > Yes I use KApplication and KAboutData. But in KAboutData there two > > parameters setting application name. One which sets the displayed name, > and > > one which is internal. Should icon name match any of them? > > > Icon name should match application name, otherwise you can use > KAboutData::setProgramIconName() > > This is all you need to have icons in titlebar, taskbar, about dialog > etc. (at least if you are on linux) > > For more info make sure that you have read > http://techbase.kde.org/Development/Tutorial/Icons > > Most important point is the naming of icons in your build tree. If > nothing helps, deleting icon cache might (rm -rf > /var/tmp/kdecache-''user''/icon-cache.kcache) > > >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to > unsubscribe << >
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
