forked from qt-creator/qt-creator
CMake build: install application icons on Linux
Fixes: QTCREATORBUG-24355 Change-Id: I221d753f96144ef60ba755d2489eed1ed91b3b36 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -193,3 +193,13 @@ extend_qtc_plugin(Core
|
|||||||
SOURCES
|
SOURCES
|
||||||
locator/javascriptfilter.cpp locator/javascriptfilter.h
|
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()
|
||||||
|
Reference in New Issue
Block a user