aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2020-08-19 11:58:59 +0200
committerEike Ziller <eike.ziller@qt.io>2020-08-19 10:40:24 +0000
commitc92999dc0dc1c1703fbe22dca45c6e7ffc393131 (patch)
treeb5b5ef6794f6553e93d532aee0b82ac0b9af5a3e
parentb9b2887686d4a15defa4257fd76ac47a1ef69dfc (diff)
CMake build: install application icons on Linux
Fixes: QTCREATORBUG-24355 Change-Id: I221d753f96144ef60ba755d2489eed1ed91b3b36 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
-rw-r--r--src/plugins/coreplugin/CMakeLists.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/plugins/coreplugin/CMakeLists.txt b/src/plugins/coreplugin/CMakeLists.txt
index 6e5c56ae87..551507afc7 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()