forked from qt-creator/qt-creator
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:
committed by
Daniel Molkentin
parent
566ae4cc46
commit
ea9b7fb5e5
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user