From 8a13456f3ae0b55427e5a5b90151a3842e804950 Mon Sep 17 00:00:00 2001 From: "Wladimir J. van der Laan" Date: Sun, 24 Jul 2011 15:53:27 +0200 Subject: [PATCH] add windows program (.exe) icon --- bitcoin-qt.pro | 1 + scripts/make_windows_icon.py | 9 +++++++++ src/qt/res/bitcoin-qt.rc | 1 + src/qt/res/icons/bitcoin.ico | Bin 0 -> 15086 bytes 4 files changed, 11 insertions(+) create mode 100755 scripts/make_windows_icon.py create mode 100644 src/qt/res/bitcoin-qt.rc create mode 100644 src/qt/res/icons/bitcoin.ico diff --git a/bitcoin-qt.pro b/bitcoin-qt.pro index cdff04b4..f1bc8e7f 100644 --- a/bitcoin-qt.pro +++ b/bitcoin-qt.pro @@ -11,6 +11,7 @@ macx:DEFINES += __WXMAC_OSX__ MSG_NOSIGNAL=0 BOOST_FILESYSTEM_VERSION=3 macx:LIBS += -lboost_thread-mt -lboost_system-mt -lboost_filesystem-mt -lboost_program_options-mt windows:DEFINES += __WXMSW__ windows:LIBS += -lssl -lcrypto -lboost_system-mgw44-mt-1_43 -lboost_filesystem-mgw44-mt-1_43 -lboost_program_options-mgw44-mt-1_43 -lboost_thread-mgw44-mt-1_43 -ldb_cxx -lws2_32 -lgdi32 +windows:RC_FILE = src/qt/res/bitcoin-qt.rc # for extra security against potential buffer overflows QMAKE_CXXFLAGS += -fstack-protector diff --git a/scripts/make_windows_icon.py b/scripts/make_windows_icon.py new file mode 100755 index 00000000..d722ebe9 --- /dev/null +++ b/scripts/make_windows_icon.py @@ -0,0 +1,9 @@ +#!/bin/bash +# create multiresolution windows icon +ICON_SRC=../src/qt/res/icons/bitcoin.png +ICON_DST=../src/qt/res/icons/bitcoin.ico +convert ${ICON_SRC} -resize 16x16 bitcoin-16.png +convert ${ICON_SRC} -resize 32x32 bitcoin-32.png +convert ${ICON_SRC} -resize 48x48 bitcoin-48.png +convert bitcoin-16.png bitcoin-32.png bitcoin-48.png ${ICON_DST} + diff --git a/src/qt/res/bitcoin-qt.rc b/src/qt/res/bitcoin-qt.rc new file mode 100644 index 00000000..1a1ab53b --- /dev/null +++ b/src/qt/res/bitcoin-qt.rc @@ -0,0 +1 @@ +IDI_ICON1 ICON DISCARDABLE "icons/bitcoin.ico" diff --git a/src/qt/res/icons/bitcoin.ico b/src/qt/res/icons/bitcoin.ico new file mode 100644 index 0000000000000000000000000000000000000000..01afd3c6da9b3cb4e7dee5532865f0bfafb6b1c0 GIT binary patch literal 15086 zcmdUW2Y8NW+y5g&_9lDpz4soHP&-zPAXcrSMXXw}1(5_9VkIJ|U9DDCX|<)Qv{lp$ zwFx16$o>EQ?k9JIf5-d2-+O$=@!iMq%l$m}bB*&nuXA1Jbw?&^CsUN^>dJ7pmW@@C z$pU3EnYFe2`%XOHjA!27E#DnvvV@K@nKRnpC-jg%$4w?fyUSW~h~MA%(~jSiRc(V^ zjQX#fZ1w&pyX|Iw^NroC6Q`^u?m5)4%k%~9JK9E}jUFI2W(Qto9~|XP-Du$2e)dZ) zopjH8QRBU-PVn7a*X*~YUhvyoCwS#Pt8tw7{Z9t5a&Ih8D6MOb*j_LAqrL6)qhH#tyq(Yf zoIecx<99X+k*m-D+Fq-JZ@`#L_m~g&u8Bx1$u$e;8WS*MUszo6%Uhg>^Vy~y``miT z)ikI4+9ofocks4)A!bK|5LbBrnW0~|zHv*AB_{8$tL(R@x-nqV=1I!B#>U|VkG=^l zY7o2&Ynm;_?<%mE`E8iPhN}DS8|y@xICe~NRio3e)$h9vPPgq=^td=K^Za5%?|5H_ z)SS_wh0h-cY;6$S)|Wr)*nQ40t>D3GcA1YhIp;&iKtll5-+SSyA50=sdVyyX%kI;B z_1t3veHNZt7*hD`c@Svy+Eg#tE%@n>lCGJx`=^4;a`yM0_Um3=q#QgqRyW&C-uHuZ z+L6PyBXTp`rXO1EIKF6yOWLRV0$LX4&5pemCSrU=4bQH!LP3yOE&L_ce%*^- zNe6lH-qI+zEWS`?Ghyd(_tiI_IxoL+pE~B4_2`<($Zg5!tJ2=o6*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