aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bitcoin-qt.pro1
-rwxr-xr-xscripts/make_windows_icon.py9
-rw-r--r--src/qt/res/bitcoin-qt.rc1
-rw-r--r--src/qt/res/icons/bitcoin.icobin0 -> 15086 bytes
4 files changed, 11 insertions, 0 deletions
diff --git a/bitcoin-qt.pro b/bitcoin-qt.pro
index cdff04b43a..f1bc8e7fd2 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 0000000000..d722ebe9b6
--- /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 0000000000..1a1ab53be4
--- /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 0000000000..01afd3c6da
--- /dev/null
+++ b/src/qt/res/icons/bitcoin.ico
Binary files differ