my
osx 10.9.1 / Mavericks build instructions after git clone:
install stuff as stated in doc/readme-qt.rst
then remove static linking stuff (does not work on osx, it is known
) and fix non existing icon location:
diff --git a/bitcoin-qt.pro b/bitcoin-qt.pro
index a187a5f..1f373c6 100644
--- a/bitcoin-qt.pro
+++ b/bitcoin-qt.pro
@@ -8,7 +8,7 @@ greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
DEFINES += QT_GUI BOOST_THREAD_USE_LIB BOOST_SPIRIT_THREADSAFE
CONFIG += no_include_pwd
CONFIG += thread
-CONFIG += static
+#CONFIG += static
# for boost 1.37, add -mt to the boost libraries
# use: qmake BOOST_LIB_SUFFIX=-mt
@@ -44,6 +44,7 @@ contains(RELEASE, 1) {
macx:QMAKE_CXXFLAGS += -mmacosx-version-min=10.5 -arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk
macx:QMAKE_CFLAGS += -mmacosx-version-min=10.5 -arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk
macx:QMAKE_OBJECTIVE_CFLAGS += -mmacosx-version-min=10.5 -arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk
+macx:QMAKE_LFLAGS += -mmacosx-version-min=10.5 -arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk
!win32:!macx {
# Linux: static link and extra security (see: https://wiki.debian.org/Hardening)
@@ -67,7 +68,7 @@ win32:QMAKE_LFLAGS *= -Wl,--large-address-aware
# i686-w64-mingw32
win32:QMAKE_LFLAGS *= -static-libgcc -static-libstdc++
# static linking
-QMAKE_LFLAGS *= -static
+#QMAKE_LFLAGS *= -static
# use: qmake "USE_QRCODE=1"
# libqrencode (http://fukuchi.org/works/qrencode/index.en.html) must be installed for support
@@ -436,7 +437,7 @@ macx:HEADERS += src/qt/macdockiconhandler.h src/qt/macnotificationhandler.h
macx:OBJECTIVE_SOURCES += src/qt/macdockiconhandler.mm src/qt/macnotificationhandler.mm
macx:LIBS += -framework Foundation -framework ApplicationServices -framework AppKit -framework CoreServices
macx:DEFINES += MAC_OSX MSG_NOSIGNAL=0
-macx:ICON = src/qt/res/icons/litecoin.icns
+macx:ICON = src/qt/res/icons/bitcoin.icns
macx:QMAKE_CFLAGS_THREAD += -pthread
macx:QMAKE_LFLAGS_THREAD += -pthread
macx:QMAKE_CXXFLAGS_THREAD += -pthread
qmake
make
the resulting
OS X 10.9.1 binary:
https://mega.co.nz/#!LBMwmZ7Y!Ka0CCzpKiwNNcu7V2kf-mBN6sd5JYjqtJs-nAeu0Bkoif this tutorial helped you, feel free to send some cats to
9ZBazBFaAHcUo5cvvF44EG43GiJjkhWQ6R