On unix: install the application icons according to the freedesktop spec.

This allows desktop environments to pick the right icon size when displaying
the Qt Creator menu entry.

Change-Id: I10f6b46fb99202571d081a5e6e4d680be7ca069f
Merge-request: 328
Reviewed-by: Daniel Molkentin <daniel.molkentin@nokia.com>
Reviewed-on: http://codereview.qt.nokia.com/64
This commit is contained in:
Felix Geyer
2011-05-23 12:29:43 +02:00
committed by Daniel Molkentin
parent 566ae4cc46
commit ea9b7fb5e5
13 changed files with 13 additions and 9 deletions

View File

@@ -213,9 +213,13 @@ else:macx {
else:unix {
SOURCES += progressmanager/progressmanager_x11.cpp
images.files = images/qtcreator_logo_*.png
images.path = /share/pixmaps
INSTALLS += images
IMAGE_SIZE_LIST = 16 24 32 48 64 128 256 512
for(imagesize, IMAGE_SIZE_LIST) {
eval(image$${imagesize}.files = images/logo/$${imagesize}/qtcreator.png)
eval(image$${imagesize}.path = /share/icons/hicolor/$${imagesize}x$${imagesize}/apps)
INSTALLS += image$${imagesize}
}
}
OTHER_FILES += editormanager/BinFiles.mimetypes.xml ide_version.h.in