Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 326 lines (289 sloc) 9.621 kB
aaa1c3c @laanwj initial commit
laanwj authored
1 TEMPLATE = app
1f2e0df @laanwj begin integration with bitcoin upstream
laanwj authored
2 TARGET =
6bf4253 @gavinandresen Increase client version to 0.6
gavinandresen authored
3 VERSION = 0.6.0
6ccff2c remove cryptopp dependency, add simple unittest for SHA256Transform()
Nils Schneider authored
4 INCLUDEPATH += src src/json src/qt
3f19795 @TheBlueMatt Add BOOST_THREAD_USE_LIB define.
TheBlueMatt authored
5 DEFINES += QT_GUI BOOST_THREAD_USE_LIB
8fe2308 @laanwj windows build fixes
laanwj authored
6 CONFIG += no_include_pwd
5363cb0 @laanwj Add berkelydb version warning
laanwj authored
7
99cec89 @laanwj make qmake build system more configurable (as suggested by lukejr)
laanwj authored
8 # for boost 1.37, add -mt to the boost libraries
9 # use: qmake BOOST_LIB_SUFFIX=-mt
0e569e4 @TheBlueMatt Add option to specify a different suffix for boost_thread.
TheBlueMatt authored
10 # for boost thread win32 with _win32 sufix
11 # use: BOOST_THREAD_LIB_SUFFIX=_win32-...
07e2882 @laanwj qmake build system improvements
laanwj authored
12 # or when linking against a specific BerkelyDB version: BDB_LIB_SUFFIX=-4.8
99cec89 @laanwj make qmake build system more configurable (as suggested by lukejr)
laanwj authored
13
14 # Dependency library locations can be customized with BOOST_INCLUDE_PATH,
15 # BOOST_LIB_PATH, BDB_INCLUDE_PATH, BDB_LIB_PATH
16 # OPENSSL_INCLUDE_PATH and OPENSSL_LIB_PATH respectively
1d7e321 @laanwj mark specific warnings to disable for the cases where bitcoin core "s…
laanwj authored
17
36eccc5 @TheBlueMatt Output build temp files in build/ instead of current directory.
TheBlueMatt authored
18 OBJECTS_DIR = build
19 MOC_DIR = build
20 UI_DIR = build
21
a5f07cb @gavinandresen Static link on Linux. And better document release process on OSX.
gavinandresen authored
22 # use: qmake "RELEASE=1"
23 contains(RELEASE, 1) {
24 # Mac: compile for maximum compatibility (10.5, 32-bit)
25 macx:QMAKE_CXXFLAGS += -mmacosx-version-min=10.5 -arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk
26
27 !windows:!macx {
28 # Linux: static link
29 LIBS += -Wl,-Bstatic
30 }
31 }
32
b03cb15 @TheBlueMatt Make bitcoin-qt static-link libqrcode and add it for debian pkgs.
TheBlueMatt authored
33 # use: qmake "USE_QRCODE=1"
34 # libqrencode (http://fukuchi.org/works/qrencode/index.en.html) must be installed for support
35 contains(USE_QRCODE, 1) {
36 message(Building with QRCode support)
37 DEFINES += USE_QRCODE
38 LIBS += -lqrencode
39 }
40
5d3083c @luke-jr Bugfix: Restore old behaviour of USE_UPNP as close as possible (built…
luke-jr authored
41 # use: qmake "USE_UPNP=1" ( enabled by default; default)
42 # or: qmake "USE_UPNP=0" (disabled by default)
43 # or: qmake "USE_UPNP=-" (not supported)
44 # miniupnpc (http://miniupnp.free.fr/files/) must be installed for support
45 contains(USE_UPNP, -) {
46 message(Building without UPNP support)
47 } else {
0aca857 @laanwj support USE_UPNP setting
laanwj authored
48 message(Building with UPNP support)
5d3083c @luke-jr Bugfix: Restore old behaviour of USE_UPNP as close as possible (built…
luke-jr authored
49 count(USE_UPNP, 0) {
50 USE_UPNP=1
51 }
aaf71d8 @TheBlueMatt Allow miniupnpc include path specificaiton and fix link on Win32.
TheBlueMatt authored
52 DEFINES += USE_UPNP=$$USE_UPNP STATICLIB
53 INCLUDEPATH += $$MINIUPNPC_INCLUDE_PATH
54 LIBS += $$join(MINIUPNPC_LIB_PATH,,-L,) -lminiupnpc
55 win32:LIBS += -liphlpapi
0aca857 @laanwj support USE_UPNP setting
laanwj authored
56 }
57
9b490f7 @laanwj put Q_OBJECT everywhere it should be (removes warnings when running l…
laanwj authored
58 # use: qmake "USE_DBUS=1"
07e2882 @laanwj qmake build system improvements
laanwj authored
59 contains(USE_DBUS, 1) {
cf9195c @laanwj (k)ubuntu 10.04+ notification support (based on @zwierzak his code)
laanwj authored
60 message(Building with DBUS (Freedesktop notifications) support)
010c4fc @laanwj Change define to determine use of DBUS to USE_DBUS, to prevent overla…
laanwj authored
61 DEFINES += USE_DBUS
cf9195c @laanwj (k)ubuntu 10.04+ notification support (based on @zwierzak his code)
laanwj authored
62 QT += dbus
63 }
64
07e2882 @laanwj qmake build system improvements
laanwj authored
65 # use: qmake "USE_SSL=1"
8f1631b @laanwj make USE_SSL actually work (thanks @prusnak for noticing)
laanwj authored
66 contains(USE_SSL, 1) {
07e2882 @laanwj qmake build system improvements
laanwj authored
67 message(Building with SSL support for RPC)
68 DEFINES += USE_SSL
69 }
70
2bc4fd6 @luke-jr Bitcoin-Qt signmessage GUI (pull request #582)
luke-jr authored
71 # use: qmake "FIRST_CLASS_MESSAGING=1"
72 contains(FIRST_CLASS_MESSAGING, 1) {
73 message(Building with first-class messaging)
74 DEFINES += FIRST_CLASS_MESSAGING
75 }
76
5f2e76b @TheBlueMatt Optionally include additional QT plugins when required to build.
TheBlueMatt authored
77 contains(BITCOIN_NEED_QT_PLUGINS, 1) {
78 DEFINES += BITCOIN_NEED_QT_PLUGINS
2e5a781 @laanwj Enable accessible widgets Qt module on win32, so that people with scr…
laanwj authored
79 QTPLUGIN += qcncodecs qjpcodecs qtwcodecs qkrcodecs qtaccessiblewidgets
5f2e76b @TheBlueMatt Optionally include additional QT plugins when required to build.
TheBlueMatt authored
80 }
81
533c82c @laanwj do not use -fstack-protector on Windows
laanwj authored
82 !windows {
83 # for extra security against potential buffer overflows
84 QMAKE_CXXFLAGS += -fstack-protector
85 QMAKE_LFLAGS += -fstack-protector
86 # do not enable this on windows, as it will result in a non-working executable!
87 }
ea8440d @laanwj Add -fstack-protector to gcc CXX flags
laanwj authored
88
5363cb0 @laanwj Add berkelydb version warning
laanwj authored
89 # disable quite some warnings because bitcoin core "sins" a lot
d041590 @TheBlueMatt Add -Wno-strict-aliasing because boost breaks that too much.
TheBlueMatt authored
90 QMAKE_CXXFLAGS_WARN_ON = -fdiagnostics-show-option -Wall -Wno-strict-aliasing -Wno-invalid-offsetof -Wno-unused-variable -Wno-unused-parameter -Wno-sign-compare -Wno-char-subscripts -Wno-unused-value -Wno-sequence-point -Wno-parentheses -Wno-unknown-pragmas -Wno-switch
1d7e321 @laanwj mark specific warnings to disable for the cases where bitcoin core "s…
laanwj authored
91
aaa1c3c @laanwj initial commit
laanwj authored
92 # Input
6ccff2c remove cryptopp dependency, add simple unittest for SHA256Transform()
Nils Schneider authored
93 DEPENDPATH += src/qt src src json/include
ba4081c @laanwj move back to original directory structure
laanwj authored
94 HEADERS += src/qt/bitcoingui.h \
95 src/qt/transactiontablemodel.h \
96 src/qt/addresstablemodel.h \
97 src/qt/optionsdialog.h \
98 src/qt/sendcoinsdialog.h \
3479849 @laanwj convert to full tab-based ui
laanwj authored
99 src/qt/addressbookpage.h \
2bc4fd6 @luke-jr Bitcoin-Qt signmessage GUI (pull request #582)
luke-jr authored
100 src/qt/messagepage.h \
ba4081c @laanwj move back to original directory structure
laanwj authored
101 src/qt/aboutdialog.h \
102 src/qt/editaddressdialog.h \
103 src/qt/bitcoinaddressvalidator.h \
104 src/base58.h \
105 src/bignum.h \
eb5fff9 @gavinandresen Moved checkpoints out of main, to prep for using them to help prevent…
gavinandresen authored
106 src/checkpoints.h \
67a42f9 @sipa Network stack refactor
sipa authored
107 src/compat.h \
ba4081c @laanwj move back to original directory structure
laanwj authored
108 src/util.h \
109 src/uint256.h \
110 src/serialize.h \
111 src/strlcpy.h \
112 src/main.h \
113 src/net.h \
114 src/key.h \
115 src/db.h \
116 src/script.h \
117 src/noui.h \
118 src/init.h \
119 src/headers.h \
120 src/irc.h \
c4341fa @sipa Add mruset and use it for setInventoryKnown
sipa authored
121 src/mruset.h \
ba4081c @laanwj move back to original directory structure
laanwj authored
122 src/json/json_spirit_writer_template.h \
123 src/json/json_spirit_writer.h \
124 src/json/json_spirit_value.h \
125 src/json/json_spirit_utils.h \
126 src/json/json_spirit_stream_reader.h \
127 src/json/json_spirit_reader_template.h \
128 src/json/json_spirit_reader.h \
129 src/json/json_spirit_error_position.h \
130 src/json/json_spirit.h \
131 src/qt/clientmodel.h \
132 src/qt/guiutil.h \
133 src/qt/transactionrecord.h \
134 src/qt/guiconstants.h \
135 src/qt/optionsmodel.h \
136 src/qt/monitoreddatamapper.h \
47c6215 @laanwj use #ifdef QT_UI to distinguish Qt UI instead of hardcoded #if 0
laanwj authored
137 src/qtui.h \
ba4081c @laanwj move back to original directory structure
laanwj authored
138 src/qt/transactiondesc.h \
f193c57 @laanwj introduce bitcoin amount field with split amount/decimals, to protect…
laanwj authored
139 src/qt/transactiondescdialog.h \
e8ef3da @laanwj update core to d0d80170a2ca73004e08fb85007fe055cbf4e411 (CWallet class)
laanwj authored
140 src/qt/bitcoinamountfield.h \
141 src/wallet.h \
ceb6d4e @laanwj Implement filter row instead of tabs, allows for more expressive filters
laanwj authored
142 src/keystore.h \
143 src/qt/transactionfilterproxy.h \
ef079e1 @laanwj Split off WalletModel from ClientModel, to be able to support multi-w…
laanwj authored
144 src/qt/transactionview.h \
8fe2308 @laanwj windows build fixes
laanwj authored
145 src/qt/walletmodel.h \
64c8b69 @laanwj tab reorg phase 1: split main gui into "overview" and "history"
laanwj authored
146 src/bitcoinrpc.h \
fbaee7a @laanwj Export functionality for transaction list
laanwj authored
147 src/qt/overviewpage.h \
0b814f9 @laanwj add better windows7/vista look by nico_w
laanwj authored
148 src/qt/csvmodelwriter.h \
a5e6d72 @laanwj add sendmany support
laanwj authored
149 src/crypter.h \
150 src/qt/sendcoinsentry.h \
e285ffc @laanwj preparations for multiple unit (uBTC, mBTC, BTC) support, fix amount …
laanwj authored
151 src/qt/qvalidatedlineedit.h \
ee014e5 @laanwj Full support for other units, add configuration option for default un…
laanwj authored
152 src/qt/bitcoinunits.h \
b7bcaf9 @laanwj Wallet encryption part 2: ask passphrase when needed, add menu options
laanwj authored
153 src/qt/qvaluecombobox.h \
c5aa1b1 @laanwj update to work with new lock system, add protocol.* to build system
laanwj authored
154 src/qt/askpassphrasedialog.h \
cf9195c @laanwj (k)ubuntu 10.04+ notification support (based on @zwierzak his code)
laanwj authored
155 src/protocol.h \
7d145a0 @TheBlueMatt Add support for opening bitcoin: URIs directly.
TheBlueMatt authored
156 src/qt/notificator.h \
157 src/qt/qtipcserver.h
c5aa1b1 @laanwj update to work with new lock system, add protocol.* to build system
laanwj authored
158
ba4081c @laanwj move back to original directory structure
laanwj authored
159 SOURCES += src/qt/bitcoin.cpp src/qt/bitcoingui.cpp \
160 src/qt/transactiontablemodel.cpp \
161 src/qt/addresstablemodel.cpp \
162 src/qt/optionsdialog.cpp \
163 src/qt/sendcoinsdialog.cpp \
3479849 @laanwj convert to full tab-based ui
laanwj authored
164 src/qt/addressbookpage.cpp \
2bc4fd6 @luke-jr Bitcoin-Qt signmessage GUI (pull request #582)
luke-jr authored
165 src/qt/messagepage.cpp \
ba4081c @laanwj move back to original directory structure
laanwj authored
166 src/qt/aboutdialog.cpp \
167 src/qt/editaddressdialog.cpp \
168 src/qt/bitcoinaddressvalidator.cpp \
169 src/util.cpp \
67a42f9 @sipa Network stack refactor
sipa authored
170 src/netbase.cpp \
93db3fc @sipa Add GetSecret() and GetKeys() to CKeyStore
sipa authored
171 src/key.cpp \
ba4081c @laanwj move back to original directory structure
laanwj authored
172 src/script.cpp \
173 src/main.cpp \
174 src/init.cpp \
175 src/net.cpp \
176 src/irc.cpp \
eb5fff9 @gavinandresen Moved checkpoints out of main, to prep for using them to help prevent…
gavinandresen authored
177 src/checkpoints.cpp \
ba4081c @laanwj move back to original directory structure
laanwj authored
178 src/db.cpp \
179 src/json/json_spirit_writer.cpp \
180 src/json/json_spirit_value.cpp \
181 src/json/json_spirit_reader.cpp \
182 src/qt/clientmodel.cpp \
183 src/qt/guiutil.cpp \
184 src/qt/transactionrecord.cpp \
185 src/qt/optionsmodel.cpp \
186 src/qt/monitoreddatamapper.cpp \
187 src/qt/transactiondesc.cpp \
6315130 @laanwj Internationalization -- conversion of strings from bitcoin core
laanwj authored
188 src/qt/transactiondescdialog.cpp \
f193c57 @laanwj introduce bitcoin amount field with split amount/decimals, to protect…
laanwj authored
189 src/qt/bitcoinstrings.cpp \
e8ef3da @laanwj update core to d0d80170a2ca73004e08fb85007fe055cbf4e411 (CWallet class)
laanwj authored
190 src/qt/bitcoinamountfield.cpp \
191 src/wallet.cpp \
ceb6d4e @laanwj Implement filter row instead of tabs, allows for more expressive filters
laanwj authored
192 src/keystore.cpp \
193 src/qt/transactionfilterproxy.cpp \
ef079e1 @laanwj Split off WalletModel from ClientModel, to be able to support multi-w…
laanwj authored
194 src/qt/transactionview.cpp \
8fe2308 @laanwj windows build fixes
laanwj authored
195 src/qt/walletmodel.cpp \
64c8b69 @laanwj tab reorg phase 1: split main gui into "overview" and "history"
laanwj authored
196 src/bitcoinrpc.cpp \
95d888a @sipa Key import and export
sipa authored
197 src/rpcdump.cpp \
fbaee7a @laanwj Export functionality for transaction list
laanwj authored
198 src/qt/overviewpage.cpp \
0b814f9 @laanwj add better windows7/vista look by nico_w
laanwj authored
199 src/qt/csvmodelwriter.cpp \
a5e6d72 @laanwj add sendmany support
laanwj authored
200 src/crypter.cpp \
201 src/qt/sendcoinsentry.cpp \
e285ffc @laanwj preparations for multiple unit (uBTC, mBTC, BTC) support, fix amount …
laanwj authored
202 src/qt/qvalidatedlineedit.cpp \
ee014e5 @laanwj Full support for other units, add configuration option for default un…
laanwj authored
203 src/qt/bitcoinunits.cpp \
b7bcaf9 @laanwj Wallet encryption part 2: ask passphrase when needed, add menu options
laanwj authored
204 src/qt/qvaluecombobox.cpp \
c5aa1b1 @laanwj update to work with new lock system, add protocol.* to build system
laanwj authored
205 src/qt/askpassphrasedialog.cpp \
cf9195c @laanwj (k)ubuntu 10.04+ notification support (based on @zwierzak his code)
laanwj authored
206 src/protocol.cpp \
7d145a0 @TheBlueMatt Add support for opening bitcoin: URIs directly.
TheBlueMatt authored
207 src/qt/notificator.cpp \
208 src/qt/qtipcserver.cpp
13740b7 @laanwj Use resource system
laanwj authored
209
210 RESOURCES += \
ba4081c @laanwj move back to original directory structure
laanwj authored
211 src/qt/bitcoin.qrc
df57788 @laanwj rename to qt standard
laanwj authored
212
213 FORMS += \
ba4081c @laanwj move back to original directory structure
laanwj authored
214 src/qt/forms/sendcoinsdialog.ui \
3479849 @laanwj convert to full tab-based ui
laanwj authored
215 src/qt/forms/addressbookpage.ui \
2bc4fd6 @luke-jr Bitcoin-Qt signmessage GUI (pull request #582)
luke-jr authored
216 src/qt/forms/messagepage.ui \
ba4081c @laanwj move back to original directory structure
laanwj authored
217 src/qt/forms/aboutdialog.ui \
218 src/qt/forms/editaddressdialog.ui \
64c8b69 @laanwj tab reorg phase 1: split main gui into "overview" and "history"
laanwj authored
219 src/qt/forms/transactiondescdialog.ui \
a5e6d72 @laanwj add sendmany support
laanwj authored
220 src/qt/forms/overviewpage.ui \
b7bcaf9 @laanwj Wallet encryption part 2: ask passphrase when needed, add menu options
laanwj authored
221 src/qt/forms/sendcoinsentry.ui \
222 src/qt/forms/askpassphrasedialog.ui
ab2fe68 @laanwj prepare internationalization; rename project to bitcoin-qt
laanwj authored
223
22123c8 @sje397 Added QRCode generation functions via libqrencode. Switch on with USE…
sje397 authored
224 contains(USE_QRCODE, 1) {
225 HEADERS += src/qt/qrcodedialog.h
226 SOURCES += src/qt/qrcodedialog.cpp
227 FORMS += src/qt/forms/qrcodedialog.ui
228 }
229
2454846 @TheBlueMatt Add Bitcoin-Qt test suite with some bitcoin: URL Tests to start.
TheBlueMatt authored
230 contains(BITCOIN_QT_TEST, 1) {
231 SOURCES += src/qt/test/test_main.cpp \
232 src/qt/test/urltests.cpp
233 HEADERS += src/qt/test/urltests.h
234 DEPENDPATH += src/qt/test
235 QT += testlib
236 TARGET = bitcoin-qt_test
237 DEFINES += BITCOIN_QT_TEST
238 }
239
ab2fe68 @laanwj prepare internationalization; rename project to bitcoin-qt
laanwj authored
240 CODECFORTR = UTF-8
5902040 @laanwj translation handling improvements
laanwj authored
241
317c733 @laanwj add russian translation by msva
laanwj authored
242 # for lrelease/lupdate
5c92622 @laanwj Translation lookup logic improvements
laanwj authored
243 # also add new translations to src/qt/bitcoin.qrc under translations/
244 TRANSLATIONS = $$files(src/qt/locale/bitcoin_*.ts)
2c1fd3c @p2k Some Mac OS X specific things
p2k authored
245
5902040 @laanwj translation handling improvements
laanwj authored
246 isEmpty(QMAKE_LRELEASE) {
247 win32:QMAKE_LRELEASE = $$[QT_INSTALL_BINS]\lrelease.exe
248 else:QMAKE_LRELEASE = $$[QT_INSTALL_BINS]/lrelease
249 }
250 isEmpty(TS_DIR):TS_DIR = src/qt/locale
251 # automatically build translations, so they can be included in resource file
252 TSQM.name = lrelease ${QMAKE_FILE_IN}
253 TSQM.input = TRANSLATIONS
254 TSQM.output = $$TS_DIR/${QMAKE_FILE_BASE}.qm
255 TSQM.commands = $$QMAKE_LRELEASE ${QMAKE_FILE_IN}
256 TSQM.CONFIG = no_link
257 QMAKE_EXTRA_COMPILERS += TSQM
07e2882 @laanwj qmake build system improvements
laanwj authored
258 PRE_TARGETDEPS += compiler_TSQM_make_all
5902040 @laanwj translation handling improvements
laanwj authored
259
f33a43e @laanwj Update "other files" in Qt Creator with all documentation now that th…
laanwj authored
260 # "Other files" to show in Qt Creator
2c1fd3c @p2k Some Mac OS X specific things
p2k authored
261 OTHER_FILES += \
f33a43e @laanwj Update "other files" in Qt Creator with all documentation now that th…
laanwj authored
262 doc/*.rst doc/*.txt doc/README README.md
2c1fd3c @p2k Some Mac OS X specific things
p2k authored
263
99cec89 @laanwj make qmake build system more configurable (as suggested by lukejr)
laanwj authored
264 # platform specific defaults, if not overridden on command line
265 isEmpty(BOOST_LIB_SUFFIX) {
266 macx:BOOST_LIB_SUFFIX = -mt
267 windows:BOOST_LIB_SUFFIX = -mgw44-mt-1_43
268 }
269
0e569e4 @TheBlueMatt Add option to specify a different suffix for boost_thread.
TheBlueMatt authored
270 isEmpty(BOOST_THREAD_LIB_SUFFIX) {
271 BOOST_THREAD_LIB_SUFFIX = $$BOOST_LIB_SUFFIX
272 }
273
99cec89 @laanwj make qmake build system more configurable (as suggested by lukejr)
laanwj authored
274 isEmpty(BDB_LIB_PATH) {
275 macx:BDB_LIB_PATH = /opt/local/lib/db48
276 }
277
b50ac8f @gavinandresen Mac OSX release process changes
gavinandresen authored
278 isEmpty(BDB_LIB_SUFFIX) {
279 macx:BDB_LIB_SUFFIX = -4.8
280 }
281
99cec89 @laanwj make qmake build system more configurable (as suggested by lukejr)
laanwj authored
282 isEmpty(BDB_INCLUDE_PATH) {
283 macx:BDB_INCLUDE_PATH = /opt/local/include/db48
284 }
285
286 isEmpty(BOOST_LIB_PATH) {
287 macx:BOOST_LIB_PATH = /opt/local/lib
288 }
289
290 isEmpty(BOOST_INCLUDE_PATH) {
291 macx:BOOST_INCLUDE_PATH = /opt/local/include
292 }
293
f18a119 @TheBlueMatt Implement "Start on window system startup" on Win32 + Linux.
TheBlueMatt authored
294 windows:LIBS += -lws2_32 -lshlwapi
6853e62 @gavinandresen Fix build on windows and mac
gavinandresen authored
295 windows:DEFINES += WIN32
9b490f7 @laanwj put Q_OBJECT everywhere it should be (removes warnings when running l…
laanwj authored
296 windows:RC_FILE = src/qt/res/bitcoin-qt.rc
297
f18a119 @TheBlueMatt Implement "Start on window system startup" on Win32 + Linux.
TheBlueMatt authored
298 !windows:!mac {
299 DEFINES += LINUX
30dfc64 @laanwj Link -lrt library on Linux
laanwj authored
300 LIBS += -lrt
f18a119 @TheBlueMatt Implement "Start on window system startup" on Win32 + Linux.
TheBlueMatt authored
301 }
302
527137e @p2k Improved Mac experience; QDoubleSpinBox for BitcoinAmountField
p2k authored
303 macx:HEADERS += src/qt/macdockiconhandler.h
304 macx:OBJECTIVE_SOURCES += src/qt/macdockiconhandler.mm
305 macx:LIBS += -framework Foundation -framework ApplicationServices -framework AppKit
c4de918 @gavinandresen Tweak handling of boost filesystem versions
gavinandresen authored
306 macx:DEFINES += MAC_OSX MSG_NOSIGNAL=0
2c1fd3c @p2k Some Mac OS X specific things
p2k authored
307 macx:ICON = src/qt/res/icons/bitcoin.icns
b50ac8f @gavinandresen Mac OSX release process changes
gavinandresen authored
308 macx:TARGET = "Bitcoin-Qt"
99cec89 @laanwj make qmake build system more configurable (as suggested by lukejr)
laanwj authored
309
310 # Set libraries and includes at end, to use platform-defined defaults if not overridden
0b5d6f1 @TheBlueMatt Add QR Code support to Win32 Gitian build.
TheBlueMatt authored
311 INCLUDEPATH += $$BOOST_INCLUDE_PATH $$BDB_INCLUDE_PATH $$OPENSSL_INCLUDE_PATH $$QRENCODE_INCLUDE_PATH
312 LIBS += $$join(BOOST_LIB_PATH,,-L,) $$join(BDB_LIB_PATH,,-L,) $$join(OPENSSL_LIB_PATH,,-L,) $$join(QRENCODE_LIB_PATH,,-L,)
07e2882 @laanwj qmake build system improvements
laanwj authored
313 LIBS += -lssl -lcrypto -ldb_cxx$$BDB_LIB_SUFFIX
3f9144d @TheBlueMatt Move -lgdi32 after -lcrypto (fixes #681).
TheBlueMatt authored
314 # -lgdi32 has to happen after -lcrypto (see #681)
315 windows:LIBS += -lgdi32
0e569e4 @TheBlueMatt Add option to specify a different suffix for boost_thread.
TheBlueMatt authored
316 LIBS += -lboost_system$$BOOST_LIB_SUFFIX -lboost_filesystem$$BOOST_LIB_SUFFIX -lboost_program_options$$BOOST_LIB_SUFFIX -lboost_thread$$BOOST_THREAD_LIB_SUFFIX
07e2882 @laanwj qmake build system improvements
laanwj authored
317
a5f07cb @gavinandresen Static link on Linux. And better document release process on OSX.
gavinandresen authored
318 contains(RELEASE, 1) {
319 !windows:!macx {
320 # Linux: turn dynamic linking back on for c/c++ runtime libraries
321 LIBS += -Wl,-Bdynamic
322 }
323 }
324
07e2882 @laanwj qmake build system improvements
laanwj authored
325 system($$QMAKE_LRELEASE -silent $$_PRO_FILE_)
Something went wrong with that request. Please try again.