summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Whiting <[email protected]>2015-01-19 15:52:41 -0700
committerJeremy Whiting <[email protected]>2015-06-01 14:35:25 -0600
commit669ee44d29ff842d38baf289f22d9bae52071f69 (patch)
tree29f038ed1cb93d01200d7e5b57f3c9db0ce57ccf
parent7cc88e896548ee0f09d6b805cea7eb04aca0981c (diff)
Use ECMAddAppIcon to add an application icon.
-rw-r--r--icons/128-app-kanagram.pngbin0 -> 9204 bytes
-rw-r--r--src/CMakeLists.txt7
2 files changed, 7 insertions, 0 deletions
diff --git a/icons/128-app-kanagram.png b/icons/128-app-kanagram.png
new file mode 100644
index 0000000..6fc6126
--- /dev/null
+++ b/icons/128-app-kanagram.png
Binary files differ
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 77d1c94..15edc9b 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -25,6 +25,13 @@ ecm_add_app_icon(cantor_SRCS ICONS ${ICONS_SRCS})
kconfig_add_kcfg_files(kanagram_SRCS ${CMAKE_CURRENT_SOURCE_DIR}/kanagramsettings.kcfgc)
+# qt5_add_dbus_interfaces(kanagram_SRCS ${KDE4_DBUS_INTERFACES_DIR}/org.kde.KSpeech.xml )
+ecm_add_app_icon(kanagram_SRCS ICONS
+ ${CMAKE_SOURCE_DIR}/icons/16-apps-kanagram.png
+ ${CMAKE_SOURCE_DIR}/icons/32-apps-kanagram.png
+ ${CMAKE_SOURCE_DIR}/icons/64-apps-kanagram.png
+ ${CMAKE_SOURCE_DIR}/icons/128-app-kanagram.png
+)
add_executable(kanagram ${kanagram_SRCS})
target_link_libraries(kanagram