enable embedded icons for windows executables
authorAlexander von Renteln <phon@quassel-irc.org>
Mon, 18 Feb 2008 15:51:00 +0000 (15:51 +0000)
committerAlexander von Renteln <phon@quassel-irc.org>
Mon, 18 Feb 2008 15:51:00 +0000 (15:51 +0000)
build/targets/myapp.rc [new file with mode: 0644]
build/targets/target.pri
src/icons/quassel.ico [new file with mode: 0644]

diff --git a/build/targets/myapp.rc b/build/targets/myapp.rc
new file mode 100644 (file)
index 0000000..826b7c9
--- /dev/null
@@ -0,0 +1 @@
+IDI_ICON1               ICON    DISCARDABLE     "../../src/icons/quassel.ico"
\ No newline at end of file
index 7b8c44b..5501cce 100644 (file)
@@ -26,6 +26,7 @@ SOURCES = $$SRCPATH/common/main.cpp
 # Ugly workaround following...
 
 win32 {
 # Ugly workaround following...
 
 win32 {
+  RC_FILE = myapp.rc
   CONFIG += embed_manifest_exe
   LIBS *= -luser32 -lgdi32 -lkernel32 -lshell32 -lwsock32 -lwinspool -lcomdlg32 -lole32
   LIBS *= -ladvapi32 -limm32 -luuid -lwinmm -ldelayimp -lopengl32 -lglu32 -loleaut32 -lws2_32
   CONFIG += embed_manifest_exe
   LIBS *= -luser32 -lgdi32 -lkernel32 -lshell32 -lwsock32 -lwinspool -lcomdlg32 -lole32
   LIBS *= -ladvapi32 -limm32 -luuid -lwinmm -ldelayimp -lopengl32 -lglu32 -loleaut32 -lws2_32
diff --git a/src/icons/quassel.ico b/src/icons/quassel.ico
new file mode 100644 (file)
index 0000000..8872b36
Binary files /dev/null and b/src/icons/quassel.ico differ