Added application icon

Wed, 18 Oct 2023 16:00:06 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Wed, 18 Oct 2023 16:00:06 +0200
changeset 515
73501316e300
parent 514
6884d00dd16c
child 516
9161465e0eac

Added application icon

CMakeLists.txt file | annotate | diff | comparison | revisions
resources/icons/bms/bmsapp.png file | annotate | diff | comparison | revisions
--- a/CMakeLists.txt	Tue Oct 17 09:17:02 2023 +0200
+++ b/CMakeLists.txt	Wed Oct 18 16:00:06 2023 +0200
@@ -376,6 +376,10 @@
   message("** parse sources for new translations")
   qt5_create_translation(QM_FILES ${SOURCE_FILES} ${TS_FILES})
 
+  SET( bmsapp_ICON
+     ${ROOTDIR}/resources/icons/bms/bmsapp.png
+  )
+
   SET( bmsapp_DESKTOP
      ${ROOTDIR}/bmsapp.desktop
   )
@@ -407,8 +411,12 @@
         RUNTIME DESTINATION bin
   )
 
+  INSTALL( FILES ${bmsapp_ICON}
+	DESTINATION "${DATAROOTDIR}/pixmaps"
+  )
+
   INSTALL( FILES ${bmsapp_DESKTOP}
-	 DESTINATION "${DATAROOTDIR}/applications"
+	DESTINATION "${DATAROOTDIR}/applications"
   )
 
   INSTALL( FILES ${QM_FILES}
Binary file resources/icons/bms/bmsapp.png has changed

mercurial