From c92999dc0dc1c1703fbe22dca45c6e7ffc393131 Mon Sep 17 00:00:00 2001 From: Eike Ziller Date: Wed, 19 Aug 2020 11:58:59 +0200 Subject: [PATCH] CMake build: install application icons on Linux Fixes: QTCREATORBUG-24355 Change-Id: I221d753f96144ef60ba755d2489eed1ed91b3b36 Reviewed-by: Christian Stenger --- src/plugins/coreplugin/CMakeLists.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/plugins/coreplugin/CMakeLists.txt b/src/plugins/coreplugin/CMakeLists.txt index 6e5c56ae87f..551507afc74 100644 --- a/src/plugins/coreplugin/CMakeLists.txt +++ b/src/plugins/coreplugin/CMakeLists.txt @@ -193,3 +193,13 @@ extend_qtc_plugin(Core SOURCES locator/javascriptfilter.cpp locator/javascriptfilter.h ) + +if ((NOT WIN32) AND (NOT APPLE)) + # install logo + foreach(size 16 24 32 48 64 128 256 512) + install( + FILES images/logo/${size}/QtProject-qtcreator.png + DESTINATION share/icons/hicolor/${size}x${size}/apps + ) + endforeach() +endif()