On Tue, Jun 7, 2011 at 4:31 AM, Brian Helm wrote: > Okay, I feel like this should be a very simple thing to accomplish. >  However, I can't seem to figure out how to do it.  In my  CMakeLists.txt > file I have the following lines to install images: > install(FILES images/close.svgz DESTINATION > ${ICON_INSTALL_DIR}/default.kde4/scalable/apps/plasma-widget-maxwincontrol/) > install(FILES images/maximize.svgz DESTINATION > ${ICON_INSTALL_DIR}/default.kde4/scalable/apps/plasma-widget-maxwincontrol/) > install(FILES images/minimize.svgz DESTINATION > ${ICON_INSTALL_DIR}/default.kde4/scalable/apps/plasma-widget-maxwincontrol/) > As you probably already know ICON_INSTALL_DIR is relative to > CMAKE_INSTALL_PREFIX. > So what is the best way for my program to know the installed location of > those images? KStandardDirs::locate("icon", "default.kde4/...") With a grain of salt. Greetings Stefan >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<