2016-09-29 07:57:47 +02:00
|
|
|
# Copyright (c) 2013-2016 The Bitcoin Core developers
|
2018-01-12 16:11:18 +01:00
|
|
|
# Copyright (c) 2014-2018 The Dash Core developers
|
2016-09-29 07:57:47 +02:00
|
|
|
# Distributed under the MIT software license, see the accompanying
|
|
|
|
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
|
|
|
|
2015-04-03 00:51:08 +02:00
|
|
|
bin_PROGRAMS += qt/dash-qt
|
2018-04-18 13:49:57 +02:00
|
|
|
EXTRA_LIBRARIES += qt/libdashqt.a
|
2014-05-28 19:38:41 +02:00
|
|
|
|
2015-04-03 00:51:08 +02:00
|
|
|
# dash qt core #
|
2014-05-28 19:38:41 +02:00
|
|
|
QT_TS = \
|
Translations 201811 (#2249)
* update en source
* remove pt_BR
it's no longer present on Transifex
* Update existing translations
NOTE: there are some mismatches in zh_CN
dash_zh_CN.ts: Mismatch between 'Start &all' and '启动全部(%A)'
dash_zh_CN.ts: Mismatch between 'Open the %1 debug log file from the current data directory. This can take a few seconds for large log files.' and '打开当前目录中的调试日志文件。日志文件大的话可能要等上几秒钟。'
dash_zh_CN.ts: Mismatch between 'Too many %f denominations, removing.' and '太多面额化资金,正在移除。'
dash_zh_CN.ts: Mismatch between 'Initialization sanity check failed. %s is shutting down.' and '初始化完整性检查失败。% 即将关闭。'
* Add ar, ko, th
NOTE: there are 2 mismatches in ar
dash_ar.ts: Mismatch between '(of %1 GB needed)' and '(على 1% جيغابايت محتاجة)'
dash_ar.ts: Mismatch between 'Output debugging information (default: %u, supplying <category> is optional)' and 'معلومات تصحيح الخرج <category>ا(ختياري)'
* update bg, it, ja, ko, nl, pl, th
* fix ru
* add tr
* fix
2018-11-07 08:39:06 +01:00
|
|
|
qt/locale/dash_ar.ts \
|
2015-04-03 00:51:08 +02:00
|
|
|
qt/locale/dash_bg.ts \
|
|
|
|
qt/locale/dash_de.ts \
|
2015-08-29 08:15:41 +02:00
|
|
|
qt/locale/dash_en.ts \
|
2015-04-03 00:51:08 +02:00
|
|
|
qt/locale/dash_es.ts \
|
|
|
|
qt/locale/dash_fi.ts \
|
|
|
|
qt/locale/dash_fr.ts \
|
|
|
|
qt/locale/dash_it.ts \
|
2015-09-28 05:16:23 +02:00
|
|
|
qt/locale/dash_ja.ts \
|
Translations 201811 (#2249)
* update en source
* remove pt_BR
it's no longer present on Transifex
* Update existing translations
NOTE: there are some mismatches in zh_CN
dash_zh_CN.ts: Mismatch between 'Start &all' and '启动全部(%A)'
dash_zh_CN.ts: Mismatch between 'Open the %1 debug log file from the current data directory. This can take a few seconds for large log files.' and '打开当前目录中的调试日志文件。日志文件大的话可能要等上几秒钟。'
dash_zh_CN.ts: Mismatch between 'Too many %f denominations, removing.' and '太多面额化资金,正在移除。'
dash_zh_CN.ts: Mismatch between 'Initialization sanity check failed. %s is shutting down.' and '初始化完整性检查失败。% 即将关闭。'
* Add ar, ko, th
NOTE: there are 2 mismatches in ar
dash_ar.ts: Mismatch between '(of %1 GB needed)' and '(على 1% جيغابايت محتاجة)'
dash_ar.ts: Mismatch between 'Output debugging information (default: %u, supplying <category> is optional)' and 'معلومات تصحيح الخرج <category>ا(ختياري)'
* update bg, it, ja, ko, nl, pl, th
* fix ru
* add tr
* fix
2018-11-07 08:39:06 +01:00
|
|
|
qt/locale/dash_ko.ts \
|
2018-04-30 00:10:20 +02:00
|
|
|
qt/locale/dash_nl.ts \
|
2015-04-03 00:51:08 +02:00
|
|
|
qt/locale/dash_pl.ts \
|
|
|
|
qt/locale/dash_pt.ts \
|
2019-11-11 09:24:45 +01:00
|
|
|
qt/locale/dash_ro.ts \
|
2015-04-03 00:51:08 +02:00
|
|
|
qt/locale/dash_ru.ts \
|
2015-09-02 10:20:18 +02:00
|
|
|
qt/locale/dash_sk.ts \
|
Translations 201811 (#2249)
* update en source
* remove pt_BR
it's no longer present on Transifex
* Update existing translations
NOTE: there are some mismatches in zh_CN
dash_zh_CN.ts: Mismatch between 'Start &all' and '启动全部(%A)'
dash_zh_CN.ts: Mismatch between 'Open the %1 debug log file from the current data directory. This can take a few seconds for large log files.' and '打开当前目录中的调试日志文件。日志文件大的话可能要等上几秒钟。'
dash_zh_CN.ts: Mismatch between 'Too many %f denominations, removing.' and '太多面额化资金,正在移除。'
dash_zh_CN.ts: Mismatch between 'Initialization sanity check failed. %s is shutting down.' and '初始化完整性检查失败。% 即将关闭。'
* Add ar, ko, th
NOTE: there are 2 mismatches in ar
dash_ar.ts: Mismatch between '(of %1 GB needed)' and '(على 1% جيغابايت محتاجة)'
dash_ar.ts: Mismatch between 'Output debugging information (default: %u, supplying <category> is optional)' and 'معلومات تصحيح الخرج <category>ا(ختياري)'
* update bg, it, ja, ko, nl, pl, th
* fix ru
* add tr
* fix
2018-11-07 08:39:06 +01:00
|
|
|
qt/locale/dash_th.ts \
|
|
|
|
qt/locale/dash_tr.ts \
|
2015-04-03 00:51:08 +02:00
|
|
|
qt/locale/dash_vi.ts \
|
|
|
|
qt/locale/dash_zh_CN.ts \
|
2015-08-15 15:17:14 +02:00
|
|
|
qt/locale/dash_zh_TW.ts
|
2014-05-28 19:38:41 +02:00
|
|
|
|
|
|
|
QT_FORMS_UI = \
|
|
|
|
qt/forms/addressbookpage.ui \
|
|
|
|
qt/forms/askpassphrasedialog.ui \
|
|
|
|
qt/forms/coincontroldialog.ui \
|
|
|
|
qt/forms/editaddressdialog.ui \
|
|
|
|
qt/forms/helpmessagedialog.ui \
|
|
|
|
qt/forms/intro.ui \
|
2017-09-09 09:04:02 +02:00
|
|
|
qt/forms/modaloverlay.ui \
|
2016-05-11 13:09:31 +02:00
|
|
|
qt/forms/masternodelist.ui \
|
2018-03-08 13:17:34 +01:00
|
|
|
qt/forms/qrdialog.ui \
|
2014-05-28 19:38:41 +02:00
|
|
|
qt/forms/openuridialog.ui \
|
|
|
|
qt/forms/optionsdialog.ui \
|
|
|
|
qt/forms/overviewpage.ui \
|
|
|
|
qt/forms/receivecoinsdialog.ui \
|
|
|
|
qt/forms/receiverequestdialog.ui \
|
2015-08-18 19:24:10 +02:00
|
|
|
qt/forms/debugwindow.ui \
|
2014-05-28 19:38:41 +02:00
|
|
|
qt/forms/sendcoinsdialog.ui \
|
|
|
|
qt/forms/sendcoinsentry.ui \
|
|
|
|
qt/forms/signverifymessagedialog.ui \
|
|
|
|
qt/forms/transactiondescdialog.ui
|
|
|
|
|
|
|
|
QT_MOC_CPP = \
|
|
|
|
qt/moc_addressbookpage.cpp \
|
|
|
|
qt/moc_addresstablemodel.cpp \
|
|
|
|
qt/moc_askpassphrasedialog.cpp \
|
2015-06-20 20:27:03 +02:00
|
|
|
qt/moc_bantablemodel.cpp \
|
2014-05-28 19:38:41 +02:00
|
|
|
qt/moc_bitcoinaddressvalidator.cpp \
|
|
|
|
qt/moc_bitcoinamountfield.cpp \
|
|
|
|
qt/moc_bitcoingui.cpp \
|
|
|
|
qt/moc_bitcoinunits.cpp \
|
2017-04-02 11:58:19 +02:00
|
|
|
qt/moc_callback.cpp \
|
2014-05-28 19:38:41 +02:00
|
|
|
qt/moc_clientmodel.cpp \
|
|
|
|
qt/moc_coincontroldialog.cpp \
|
|
|
|
qt/moc_coincontroltreewidget.cpp \
|
|
|
|
qt/moc_csvmodelwriter.cpp \
|
|
|
|
qt/moc_editaddressdialog.cpp \
|
|
|
|
qt/moc_guiutil.cpp \
|
|
|
|
qt/moc_intro.cpp \
|
|
|
|
qt/moc_macdockiconhandler.cpp \
|
|
|
|
qt/moc_macnotificationhandler.cpp \
|
2017-09-09 09:04:02 +02:00
|
|
|
qt/moc_modaloverlay.cpp \
|
2016-05-11 13:09:31 +02:00
|
|
|
qt/moc_masternodelist.cpp \
|
2014-05-28 19:38:41 +02:00
|
|
|
qt/moc_notificator.cpp \
|
|
|
|
qt/moc_openuridialog.cpp \
|
|
|
|
qt/moc_optionsdialog.cpp \
|
|
|
|
qt/moc_optionsmodel.cpp \
|
|
|
|
qt/moc_overviewpage.cpp \
|
|
|
|
qt/moc_peertablemodel.cpp \
|
|
|
|
qt/moc_paymentserver.cpp \
|
2018-03-08 13:17:34 +01:00
|
|
|
qt/moc_qrdialog.cpp \
|
2014-05-28 19:38:41 +02:00
|
|
|
qt/moc_qvalidatedlineedit.cpp \
|
|
|
|
qt/moc_qvaluecombobox.cpp \
|
|
|
|
qt/moc_receivecoinsdialog.cpp \
|
|
|
|
qt/moc_receiverequestdialog.cpp \
|
|
|
|
qt/moc_recentrequeststablemodel.cpp \
|
|
|
|
qt/moc_rpcconsole.cpp \
|
|
|
|
qt/moc_sendcoinsdialog.cpp \
|
|
|
|
qt/moc_sendcoinsentry.cpp \
|
|
|
|
qt/moc_signverifymessagedialog.cpp \
|
|
|
|
qt/moc_splashscreen.cpp \
|
|
|
|
qt/moc_trafficgraphwidget.cpp \
|
|
|
|
qt/moc_transactiondesc.cpp \
|
|
|
|
qt/moc_transactiondescdialog.cpp \
|
|
|
|
qt/moc_transactionfilterproxy.cpp \
|
|
|
|
qt/moc_transactiontablemodel.cpp \
|
|
|
|
qt/moc_transactionview.cpp \
|
|
|
|
qt/moc_utilitydialog.cpp \
|
|
|
|
qt/moc_walletframe.cpp \
|
|
|
|
qt/moc_walletmodel.cpp \
|
|
|
|
qt/moc_walletview.cpp
|
|
|
|
|
|
|
|
BITCOIN_MM = \
|
|
|
|
qt/macdockiconhandler.mm \
|
2019-07-15 13:38:55 +02:00
|
|
|
qt/macnotificationhandler.mm \
|
|
|
|
qt/macos_appnap.mm
|
2014-05-28 19:38:41 +02:00
|
|
|
|
|
|
|
QT_MOC = \
|
2015-04-03 00:51:08 +02:00
|
|
|
qt/dash.moc \
|
2014-07-18 16:31:13 +02:00
|
|
|
qt/bitcoinamountfield.moc \
|
2017-04-02 11:58:19 +02:00
|
|
|
qt/callback.moc \
|
2014-05-28 19:38:41 +02:00
|
|
|
qt/intro.moc \
|
|
|
|
qt/overviewpage.moc \
|
|
|
|
qt/rpcconsole.moc
|
|
|
|
|
2015-04-03 00:51:08 +02:00
|
|
|
QT_QRC_CPP = qt/qrc_dash.cpp
|
|
|
|
QT_QRC = qt/dash.qrc
|
|
|
|
QT_QRC_LOCALE_CPP = qt/qrc_dash_locale.cpp
|
|
|
|
QT_QRC_LOCALE = qt/dash_locale.qrc
|
2014-05-28 19:38:41 +02:00
|
|
|
|
|
|
|
PROTOBUF_CC = qt/paymentrequest.pb.cc
|
|
|
|
PROTOBUF_H = qt/paymentrequest.pb.h
|
|
|
|
PROTOBUF_PROTO = qt/paymentrequest.proto
|
|
|
|
|
|
|
|
BITCOIN_QT_H = \
|
|
|
|
qt/addressbookpage.h \
|
|
|
|
qt/addresstablemodel.h \
|
|
|
|
qt/askpassphrasedialog.h \
|
2015-06-20 20:27:03 +02:00
|
|
|
qt/bantablemodel.h \
|
2014-05-28 19:38:41 +02:00
|
|
|
qt/bitcoinaddressvalidator.h \
|
|
|
|
qt/bitcoinamountfield.h \
|
|
|
|
qt/bitcoingui.h \
|
|
|
|
qt/bitcoinunits.h \
|
2017-04-02 11:58:19 +02:00
|
|
|
qt/callback.h \
|
2014-05-28 19:38:41 +02:00
|
|
|
qt/clientmodel.h \
|
|
|
|
qt/coincontroldialog.h \
|
|
|
|
qt/coincontroltreewidget.h \
|
|
|
|
qt/csvmodelwriter.h \
|
|
|
|
qt/editaddressdialog.h \
|
|
|
|
qt/guiconstants.h \
|
|
|
|
qt/guiutil.h \
|
|
|
|
qt/intro.h \
|
|
|
|
qt/macdockiconhandler.h \
|
|
|
|
qt/macnotificationhandler.h \
|
2019-07-15 13:38:55 +02:00
|
|
|
qt/macos_appnap.h \
|
2017-09-09 09:04:02 +02:00
|
|
|
qt/modaloverlay.h \
|
2016-05-11 13:09:31 +02:00
|
|
|
qt/masternodelist.h \
|
2014-10-09 11:04:49 +02:00
|
|
|
qt/networkstyle.h \
|
2014-05-28 19:38:41 +02:00
|
|
|
qt/notificator.h \
|
|
|
|
qt/openuridialog.h \
|
|
|
|
qt/optionsdialog.h \
|
|
|
|
qt/optionsmodel.h \
|
|
|
|
qt/overviewpage.h \
|
|
|
|
qt/paymentrequestplus.h \
|
|
|
|
qt/paymentserver.h \
|
|
|
|
qt/peertablemodel.h \
|
2015-07-28 15:20:14 +02:00
|
|
|
qt/platformstyle.h \
|
2018-03-08 13:17:34 +01:00
|
|
|
qt/qrdialog.h \
|
2014-05-28 19:38:41 +02:00
|
|
|
qt/qvalidatedlineedit.h \
|
|
|
|
qt/qvaluecombobox.h \
|
|
|
|
qt/receivecoinsdialog.h \
|
|
|
|
qt/receiverequestdialog.h \
|
|
|
|
qt/recentrequeststablemodel.h \
|
|
|
|
qt/rpcconsole.h \
|
|
|
|
qt/sendcoinsdialog.h \
|
|
|
|
qt/sendcoinsentry.h \
|
|
|
|
qt/signverifymessagedialog.h \
|
|
|
|
qt/splashscreen.h \
|
Qt: bug fixes and enhancement to traffic graph widget (#1429)
* clear trafficgraph on clear button click
* set default sample height
set default sample height so after clearing traffic graph have some
scale
* reduce available traffic graph ranges, add optimized graph data storage
reduce available traffic graph ranges to 10
(5m,10m,15m,30m,1h,2h,3h,6h,12h,24h),
store graph data so range change is possible,
data storage contains only necessary data to create graphs for all
supported ranges
eg. for 10m range storage only half of 10m samples - the second half is
calculated from 5m range samples,
encapsulate all traffic graph related data into one class
* code formatting corrections
2017-05-28 15:49:34 +02:00
|
|
|
qt/trafficgraphdata.h \
|
2014-05-28 19:38:41 +02:00
|
|
|
qt/trafficgraphwidget.h \
|
|
|
|
qt/transactiondesc.h \
|
|
|
|
qt/transactiondescdialog.h \
|
|
|
|
qt/transactionfilterproxy.h \
|
|
|
|
qt/transactionrecord.h \
|
|
|
|
qt/transactiontablemodel.h \
|
|
|
|
qt/transactionview.h \
|
|
|
|
qt/utilitydialog.h \
|
|
|
|
qt/walletframe.h \
|
|
|
|
qt/walletmodel.h \
|
|
|
|
qt/walletmodeltransaction.h \
|
|
|
|
qt/walletview.h \
|
|
|
|
qt/winshutdownmonitor.h
|
|
|
|
|
|
|
|
RES_ICONS = \
|
2016-02-24 07:14:08 +01:00
|
|
|
qt/res/icons/bitcoin.ico \
|
2016-07-01 09:52:13 +02:00
|
|
|
qt/res/icons/bitcoin_testnet.ico \
|
2016-02-25 01:57:43 +01:00
|
|
|
qt/res/icons/bitcoin.png \
|
2017-09-07 17:59:00 +02:00
|
|
|
qt/res/icons/chevron.png \
|
2017-09-09 09:04:02 +02:00
|
|
|
qt/res/icons/warning.png \
|
2019-10-10 13:53:00 +02:00
|
|
|
qt/res/icons/add.png \
|
|
|
|
qt/res/icons/address-book.png \
|
|
|
|
qt/res/icons/browse.png \
|
|
|
|
qt/res/icons/clock1.png \
|
|
|
|
qt/res/icons/clock2.png \
|
|
|
|
qt/res/icons/clock3.png \
|
|
|
|
qt/res/icons/clock4.png \
|
|
|
|
qt/res/icons/clock5.png \
|
|
|
|
qt/res/icons/configure.png \
|
|
|
|
qt/res/icons/connect0_16.png \
|
|
|
|
qt/res/icons/connect1_16.png \
|
|
|
|
qt/res/icons/connect2_16.png \
|
|
|
|
qt/res/icons/connect3_16.png \
|
|
|
|
qt/res/icons/connect4_16.png \
|
2019-10-31 18:30:21 +01:00
|
|
|
qt/res/icons/console_remove.png \
|
2019-10-10 13:53:00 +02:00
|
|
|
qt/res/icons/debugwindow.png \
|
|
|
|
qt/res/icons/edit.png \
|
|
|
|
qt/res/icons/editcopy.png \
|
|
|
|
qt/res/icons/editpaste.png \
|
|
|
|
qt/res/icons/export.png \
|
|
|
|
qt/res/icons/eye.png \
|
|
|
|
qt/res/icons/eye_minus.png \
|
|
|
|
qt/res/icons/eye_plus.png \
|
|
|
|
qt/res/icons/filesave.png \
|
|
|
|
qt/res/icons/hd_disabled.png \
|
|
|
|
qt/res/icons/hd_enabled.png \
|
|
|
|
qt/res/icons/key.png \
|
|
|
|
qt/res/icons/lock_closed.png \
|
|
|
|
qt/res/icons/lock_open.png \
|
|
|
|
qt/res/icons/quit.png \
|
|
|
|
qt/res/icons/receive.png \
|
|
|
|
qt/res/icons/remove.png \
|
|
|
|
qt/res/icons/send.png \
|
|
|
|
qt/res/icons/synced.png \
|
|
|
|
qt/res/icons/transaction0.png \
|
|
|
|
qt/res/icons/transaction2.png \
|
|
|
|
qt/res/icons/transaction_conflicted.png \
|
|
|
|
qt/res/icons/tx_inout.png \
|
|
|
|
qt/res/icons/tx_input.png \
|
|
|
|
qt/res/icons/tx_output.png \
|
|
|
|
qt/res/icons/tx_mined.png \
|
2020-02-11 14:49:40 +01:00
|
|
|
qt/res/icons/about.png \
|
2019-10-10 13:53:00 +02:00
|
|
|
qt/res/icons/about_qt.png \
|
|
|
|
qt/res/icons/verify.png \
|
|
|
|
qt/res/icons/fontbigger.png \
|
|
|
|
qt/res/icons/fontsmaller.png \
|
|
|
|
qt/res/icons/transaction_abandoned.png \
|
|
|
|
qt/res/icons/network_disabled.png
|
2014-05-28 19:38:41 +02:00
|
|
|
|
2016-10-13 10:30:31 +02:00
|
|
|
BITCOIN_QT_BASE_CPP = \
|
2015-06-20 20:27:03 +02:00
|
|
|
qt/bantablemodel.cpp \
|
2014-05-28 19:38:41 +02:00
|
|
|
qt/bitcoinaddressvalidator.cpp \
|
|
|
|
qt/bitcoinamountfield.cpp \
|
|
|
|
qt/bitcoingui.cpp \
|
|
|
|
qt/bitcoinunits.cpp \
|
|
|
|
qt/clientmodel.cpp \
|
|
|
|
qt/csvmodelwriter.cpp \
|
|
|
|
qt/guiutil.cpp \
|
|
|
|
qt/intro.cpp \
|
2017-09-09 09:04:02 +02:00
|
|
|
qt/modaloverlay.cpp \
|
2014-10-09 11:04:49 +02:00
|
|
|
qt/networkstyle.cpp \
|
2014-05-28 19:38:41 +02:00
|
|
|
qt/notificator.cpp \
|
|
|
|
qt/optionsdialog.cpp \
|
|
|
|
qt/optionsmodel.cpp \
|
|
|
|
qt/peertablemodel.cpp \
|
2015-07-28 15:20:14 +02:00
|
|
|
qt/platformstyle.cpp \
|
2014-05-28 19:38:41 +02:00
|
|
|
qt/qvalidatedlineedit.cpp \
|
|
|
|
qt/qvaluecombobox.cpp \
|
|
|
|
qt/rpcconsole.cpp \
|
|
|
|
qt/splashscreen.cpp \
|
Qt: bug fixes and enhancement to traffic graph widget (#1429)
* clear trafficgraph on clear button click
* set default sample height
set default sample height so after clearing traffic graph have some
scale
* reduce available traffic graph ranges, add optimized graph data storage
reduce available traffic graph ranges to 10
(5m,10m,15m,30m,1h,2h,3h,6h,12h,24h),
store graph data so range change is possible,
data storage contains only necessary data to create graphs for all
supported ranges
eg. for 10m range storage only half of 10m samples - the second half is
calculated from 5m range samples,
encapsulate all traffic graph related data into one class
* code formatting corrections
2017-05-28 15:49:34 +02:00
|
|
|
qt/trafficgraphdata.cpp \
|
2014-05-28 19:38:41 +02:00
|
|
|
qt/trafficgraphwidget.cpp \
|
2014-12-18 13:34:16 +01:00
|
|
|
qt/utilitydialog.cpp
|
|
|
|
|
2016-10-13 10:30:31 +02:00
|
|
|
BITCOIN_QT_WINDOWS_CPP = qt/winshutdownmonitor.cpp
|
2014-05-28 19:38:41 +02:00
|
|
|
|
2016-10-13 10:30:31 +02:00
|
|
|
BITCOIN_QT_WALLET_CPP = \
|
2014-05-28 19:38:41 +02:00
|
|
|
qt/addressbookpage.cpp \
|
|
|
|
qt/addresstablemodel.cpp \
|
|
|
|
qt/askpassphrasedialog.cpp \
|
|
|
|
qt/coincontroldialog.cpp \
|
|
|
|
qt/coincontroltreewidget.cpp \
|
|
|
|
qt/editaddressdialog.cpp \
|
2016-05-11 13:09:31 +02:00
|
|
|
qt/masternodelist.cpp \
|
2014-05-28 19:38:41 +02:00
|
|
|
qt/openuridialog.cpp \
|
|
|
|
qt/overviewpage.cpp \
|
|
|
|
qt/paymentrequestplus.cpp \
|
|
|
|
qt/paymentserver.cpp \
|
2018-03-08 13:17:34 +01:00
|
|
|
qt/qrdialog.cpp \
|
2014-05-28 19:38:41 +02:00
|
|
|
qt/receivecoinsdialog.cpp \
|
|
|
|
qt/receiverequestdialog.cpp \
|
|
|
|
qt/recentrequeststablemodel.cpp \
|
|
|
|
qt/sendcoinsdialog.cpp \
|
|
|
|
qt/sendcoinsentry.cpp \
|
|
|
|
qt/signverifymessagedialog.cpp \
|
|
|
|
qt/transactiondesc.cpp \
|
|
|
|
qt/transactiondescdialog.cpp \
|
|
|
|
qt/transactionfilterproxy.cpp \
|
|
|
|
qt/transactionrecord.cpp \
|
|
|
|
qt/transactiontablemodel.cpp \
|
|
|
|
qt/transactionview.cpp \
|
|
|
|
qt/walletframe.cpp \
|
|
|
|
qt/walletmodel.cpp \
|
|
|
|
qt/walletmodeltransaction.cpp \
|
|
|
|
qt/walletview.cpp
|
2016-10-13 10:30:31 +02:00
|
|
|
|
|
|
|
BITCOIN_QT_CPP = $(BITCOIN_QT_BASE_CPP)
|
|
|
|
if TARGET_WINDOWS
|
|
|
|
BITCOIN_QT_CPP += $(BITCOIN_QT_WINDOWS_CPP)
|
|
|
|
endif
|
|
|
|
if ENABLE_WALLET
|
|
|
|
BITCOIN_QT_CPP += $(BITCOIN_QT_WALLET_CPP)
|
2014-05-28 19:38:41 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
RES_IMAGES = \
|
2020-06-04 13:43:06 +02:00
|
|
|
qt/res/images/arrow_down_normal.png \
|
|
|
|
qt/res/images/arrow_down_hover.png \
|
|
|
|
qt/res/images/arrow_down_pressed.png \
|
|
|
|
qt/res/images/arrow_left_normal.png \
|
|
|
|
qt/res/images/arrow_left_hover.png \
|
|
|
|
qt/res/images/arrow_left_pressed.png \
|
|
|
|
qt/res/images/arrow_right_normal.png \
|
|
|
|
qt/res/images/arrow_right_hover.png \
|
|
|
|
qt/res/images/arrow_right_pressed.png \
|
|
|
|
qt/res/images/arrow_up_normal.png \
|
|
|
|
qt/res/images/arrow_up_hover.png \
|
|
|
|
qt/res/images/arrow_up_pressed.png \
|
|
|
|
qt/res/images/arrow_light_down_normal.png \
|
|
|
|
qt/res/images/arrow_light_down_hover.png \
|
|
|
|
qt/res/images/arrow_light_left_normal.png \
|
|
|
|
qt/res/images/arrow_light_left_hover.png \
|
|
|
|
qt/res/images/arrow_light_right_normal.png \
|
|
|
|
qt/res/images/arrow_light_right_hover.png \
|
|
|
|
qt/res/images/arrow_light_up_normal.png \
|
|
|
|
qt/res/images/arrow_light_up_hover.png \
|
|
|
|
qt/res/images/checkbox_normal.png \
|
|
|
|
qt/res/images/checkbox_normal_hover.png \
|
|
|
|
qt/res/images/checkbox_normal_pressed.png \
|
|
|
|
qt/res/images/checkbox_normal_disabled.png \
|
|
|
|
qt/res/images/checkbox_checked.png \
|
|
|
|
qt/res/images/checkbox_checked_hover.png \
|
|
|
|
qt/res/images/checkbox_checked_pressed.png \
|
|
|
|
qt/res/images/checkbox_checked_disabled.png \
|
|
|
|
qt/res/images/checkbox_partly_checked.png \
|
|
|
|
qt/res/images/checkbox_partly_checked_hover.png \
|
|
|
|
qt/res/images/checkbox_partly_checked_pressed.png \
|
|
|
|
qt/res/images/checkbox_partly_checked_disabled.png \
|
2019-10-10 13:53:00 +02:00
|
|
|
qt/res/images/dash_logo_horizontal.png \
|
2019-10-31 18:30:21 +01:00
|
|
|
qt/res/images/dash_logo_toolbar.png \
|
2020-04-19 13:05:37 +02:00
|
|
|
qt/res/images/dash_logo_toolbar_blue.png \
|
2020-06-04 13:43:06 +02:00
|
|
|
qt/res/images/radio_normal.png \
|
|
|
|
qt/res/images/radio_normal_hover.png \
|
|
|
|
qt/res/images/radio_normal_pressed.png \
|
|
|
|
qt/res/images/radio_checked.png \
|
|
|
|
qt/res/images/radio_checked_hover.png \
|
|
|
|
qt/res/images/radio_checked_pressed.png \
|
|
|
|
qt/res/images/radio_normal_disabled.png \
|
|
|
|
qt/res/images/radio_checked_disabled.png \
|
|
|
|
qt/res/images/splash.png
|
2015-04-16 00:11:34 +02:00
|
|
|
|
|
|
|
RES_CSS = \
|
2019-11-22 19:13:47 +01:00
|
|
|
qt/res/css/dark.css \
|
2020-06-04 13:43:06 +02:00
|
|
|
qt/res/css/general.css \
|
2017-11-03 14:50:54 +01:00
|
|
|
qt/res/css/light.css \
|
2019-10-31 18:30:57 +01:00
|
|
|
qt/res/css/scrollbars.css \
|
2017-12-01 06:14:39 +01:00
|
|
|
qt/res/css/trad.css
|
2014-05-28 19:38:41 +02:00
|
|
|
|
2017-01-11 13:45:24 +01:00
|
|
|
RES_MOVIES = $(wildcard $(srcdir)/qt/res/movies/spinner-*.png)
|
2014-05-28 19:38:41 +02:00
|
|
|
|
2015-04-03 00:51:08 +02:00
|
|
|
BITCOIN_RC = qt/res/dash-qt-res.rc
|
2014-05-28 19:38:41 +02:00
|
|
|
|
2020-03-19 23:46:56 +01:00
|
|
|
BITCOIN_QT_INCLUDES = -DQT_NO_KEYWORDS
|
2014-06-05 21:24:48 +02:00
|
|
|
|
2018-04-18 13:49:57 +02:00
|
|
|
qt_libdashqt_a_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) $(BITCOIN_QT_INCLUDES) \
|
2014-06-05 21:24:48 +02:00
|
|
|
$(QT_INCLUDES) $(QT_DBUS_INCLUDES) $(PROTOBUF_CFLAGS) $(QR_CFLAGS)
|
2018-04-18 13:49:57 +02:00
|
|
|
qt_libdashqt_a_CXXFLAGS = $(AM_CXXFLAGS) $(QT_PIE_FLAGS)
|
2020-01-16 19:54:09 +01:00
|
|
|
qt_libdashqt_a_OBJCXXFLAGS = $(AM_OBJCXXFLAGS) $(QT_PIE_FLAGS)
|
2014-06-05 21:24:48 +02:00
|
|
|
|
2018-04-18 13:49:57 +02:00
|
|
|
qt_libdashqt_a_SOURCES = $(BITCOIN_QT_CPP) $(BITCOIN_QT_H) $(QT_FORMS_UI) \
|
2015-04-29 19:49:14 +02:00
|
|
|
$(QT_QRC) $(QT_QRC_LOCALE) $(QT_TS) $(PROTOBUF_PROTO) $(RES_ICONS) $(RES_IMAGES) $(RES_CSS) $(RES_MOVIES)
|
2014-05-28 19:38:41 +02:00
|
|
|
|
2018-04-18 13:49:57 +02:00
|
|
|
nodist_qt_libdashqt_a_SOURCES = $(QT_MOC_CPP) $(QT_MOC) $(PROTOBUF_CC) \
|
2014-06-10 21:43:02 +02:00
|
|
|
$(PROTOBUF_H) $(QT_QRC_CPP) $(QT_QRC_LOCALE_CPP)
|
2014-05-28 19:38:41 +02:00
|
|
|
|
|
|
|
# forms/foo.h -> forms/ui_foo.h
|
|
|
|
QT_FORMS_H=$(join $(dir $(QT_FORMS_UI)),$(addprefix ui_, $(notdir $(QT_FORMS_UI:.ui=.h))))
|
|
|
|
|
|
|
|
# Most files will depend on the forms and moc files as includes. Generate them
|
|
|
|
# before anything else.
|
|
|
|
$(QT_MOC): $(QT_FORMS_H)
|
2018-04-18 13:49:57 +02:00
|
|
|
$(qt_libdashqt_a_OBJECTS) $(qt_dash_qt_OBJECTS) : | $(QT_MOC)
|
2014-05-28 19:38:41 +02:00
|
|
|
|
|
|
|
#Generating these with a half-written protobuf header leads to wacky results.
|
|
|
|
#This makes sure it's done.
|
|
|
|
$(QT_MOC): $(PROTOBUF_H)
|
|
|
|
$(QT_MOC_CPP): $(PROTOBUF_H)
|
|
|
|
|
2015-04-03 00:51:08 +02:00
|
|
|
# dash-qt binary #
|
2016-02-02 16:28:56 +01:00
|
|
|
qt_dash_qt_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) $(BITCOIN_QT_INCLUDES) \
|
2014-06-05 21:24:48 +02:00
|
|
|
$(QT_INCLUDES) $(PROTOBUF_CFLAGS) $(QR_CFLAGS)
|
2016-02-02 16:28:56 +01:00
|
|
|
qt_dash_qt_CXXFLAGS = $(AM_CXXFLAGS) $(QT_PIE_FLAGS)
|
2014-06-05 21:24:48 +02:00
|
|
|
|
2015-04-03 00:51:08 +02:00
|
|
|
qt_dash_qt_SOURCES = qt/dash.cpp
|
2014-05-28 19:38:41 +02:00
|
|
|
if TARGET_DARWIN
|
2015-04-03 00:51:08 +02:00
|
|
|
qt_dash_qt_SOURCES += $(BITCOIN_MM)
|
2014-05-28 19:38:41 +02:00
|
|
|
endif
|
|
|
|
if TARGET_WINDOWS
|
2015-04-03 00:51:08 +02:00
|
|
|
qt_dash_qt_SOURCES += $(BITCOIN_RC)
|
2014-05-28 19:38:41 +02:00
|
|
|
endif
|
2018-04-18 13:49:57 +02:00
|
|
|
qt_dash_qt_LDADD = qt/libdashqt.a $(LIBBITCOIN_SERVER)
|
2014-05-28 19:38:41 +02:00
|
|
|
if ENABLE_WALLET
|
2015-04-03 00:51:08 +02:00
|
|
|
qt_dash_qt_LDADD += $(LIBBITCOIN_WALLET)
|
2014-05-28 19:38:41 +02:00
|
|
|
endif
|
2014-11-18 18:06:32 +01:00
|
|
|
if ENABLE_ZMQ
|
2016-02-02 16:28:56 +01:00
|
|
|
qt_dash_qt_LDADD += $(LIBBITCOIN_ZMQ) $(ZMQ_LIBS)
|
2014-11-18 18:06:32 +01:00
|
|
|
endif
|
2017-06-13 19:38:37 +02:00
|
|
|
qt_dash_qt_LDADD += $(LIBBITCOIN_CLI) $(LIBBITCOIN_COMMON) $(LIBBITCOIN_UTIL) $(LIBBITCOIN_CONSENSUS) $(LIBBITCOIN_CRYPTO) $(LIBUNIVALUE) $(LIBLEVELDB) $(LIBLEVELDB_SSE42) $(LIBMEMENV) \
|
2019-02-21 19:37:16 +01:00
|
|
|
$(BACKTRACE_LIB) $(BOOST_LIBS) $(QT_LIBS) $(QT_DBUS_LIBS) $(QR_LIBS) $(PROTOBUF_LIBS) $(BDB_LIBS) $(SSL_LIBS) $(CRYPTO_LIBS) $(MINIUPNPC_LIBS) $(LIBSECP256K1) \
|
2018-10-03 14:53:21 +02:00
|
|
|
$(EVENT_PTHREADS_LIBS) $(EVENT_LIBS) $(BLS_LIBS)
|
2019-02-21 19:37:16 +01:00
|
|
|
qt_dash_qt_LDFLAGS = $(LDFLAGS_WRAP_EXCEPTIONS) $(RELDFLAGS) $(AM_LDFLAGS) $(QT_LDFLAGS) $(LIBTOOL_APP_LDFLAGS)
|
2015-04-03 00:51:08 +02:00
|
|
|
qt_dash_qt_LIBTOOLFLAGS = --tag CXX
|
2014-05-28 19:38:41 +02:00
|
|
|
|
|
|
|
#locale/foo.ts -> locale/foo.qm
|
|
|
|
QT_QM=$(QT_TS:.ts=.qm)
|
|
|
|
|
2014-11-06 16:28:29 +01:00
|
|
|
SECONDARY: $(QT_QM)
|
2014-05-28 19:38:41 +02:00
|
|
|
|
2018-04-18 13:49:57 +02:00
|
|
|
$(srcdir)/qt/dashstrings.cpp: $(libdash_server_a_SOURCES) $(libdash_wallet_a_SOURCES) $(libdash_common_a_SOURCES) $(libdash_zmq_a_SOURCES) $(libdash_consensus_a_SOURCES) $(libdash_util_a_SOURCES)
|
2014-05-28 19:38:41 +02:00
|
|
|
@test -n $(XGETTEXT) || echo "xgettext is required for updating translations"
|
2016-03-29 17:22:38 +02:00
|
|
|
$(AM_V_GEN) cd $(srcdir); XGETTEXT=$(XGETTEXT) PACKAGE_NAME="$(PACKAGE_NAME)" COPYRIGHT_HOLDERS="$(COPYRIGHT_HOLDERS)" COPYRIGHT_HOLDERS_SUBSTITUTION="$(COPYRIGHT_HOLDERS_SUBSTITUTION)" $(PYTHON) ../share/qt/extract_strings_qt.py $^
|
2014-05-28 19:38:41 +02:00
|
|
|
|
2017-01-04 16:06:04 +01:00
|
|
|
translate: $(srcdir)/qt/dashstrings.cpp $(QT_FORMS_UI) $(QT_FORMS_UI) $(BITCOIN_QT_BASE_CPP) qt/dash.cpp $(BITCOIN_QT_WINDOWS_CPP) $(BITCOIN_QT_WALLET_CPP) $(BITCOIN_QT_H) $(BITCOIN_MM)
|
2014-05-28 19:38:41 +02:00
|
|
|
@test -n $(LUPDATE) || echo "lupdate is required for updating translations"
|
2016-06-10 09:58:37 +02:00
|
|
|
$(AM_V_GEN) QT_SELECT=$(QT_SELECT) $(LUPDATE) $^ -locations relative -no-obsolete -ts $(srcdir)/qt/locale/dash_en.ts
|
2014-05-28 19:38:41 +02:00
|
|
|
|
2014-06-10 21:43:02 +02:00
|
|
|
$(QT_QRC_LOCALE_CPP): $(QT_QRC_LOCALE) $(QT_QM)
|
2014-06-05 20:17:50 +02:00
|
|
|
@test -f $(RCC)
|
2016-06-10 09:58:37 +02:00
|
|
|
@cp -f $< $(@D)/temp_$(<F)
|
|
|
|
$(AM_V_GEN) QT_SELECT=$(QT_SELECT) $(RCC) $(RCCFLAGS) -name dash_locale $(@D)/temp_$(<F) | \
|
2014-06-10 21:43:02 +02:00
|
|
|
$(SED) -e '/^\*\*.*Created:/d' -e '/^\*\*.*by:/d' > $@
|
2016-06-10 09:58:37 +02:00
|
|
|
@rm $(@D)/temp_$(<F)
|
2014-06-10 21:43:02 +02:00
|
|
|
|
2015-04-29 19:49:14 +02:00
|
|
|
$(QT_QRC_CPP): $(QT_QRC) $(QT_FORMS_H) $(RES_ICONS) $(RES_IMAGES) $(RES_CSS) $(RES_MOVIES) $(PROTOBUF_H)
|
2014-06-10 21:43:02 +02:00
|
|
|
@test -f $(RCC)
|
2017-12-15 16:21:44 +01:00
|
|
|
$(AM_V_GEN) QT_SELECT=$(QT_SELECT) $(RCC) $(RCCFLAGS) -name dash $< | \
|
2014-06-10 21:43:02 +02:00
|
|
|
$(SED) -e '/^\*\*.*Created:/d' -e '/^\*\*.*by:/d' > $@
|
2014-05-28 19:38:41 +02:00
|
|
|
|
2020-06-26 19:48:20 +02:00
|
|
|
CLEAN_QT = $(nodist_qt_libdashqt_a_SOURCES) $(QT_QM) $(QT_FORMS_H) qt/*.gcda qt/*.gcno qt/temp_dash_locale.qrc qt/res/css/colors/*
|
2014-05-28 19:38:41 +02:00
|
|
|
|
|
|
|
CLEANFILES += $(CLEAN_QT)
|
|
|
|
|
2015-04-03 00:51:08 +02:00
|
|
|
dash_qt_clean: FORCE
|
2018-04-18 13:49:57 +02:00
|
|
|
rm -f $(CLEAN_QT) $(qt_libdashqt_a_OBJECTS) $(qt_dash_qt_OBJECTS) qt/dash-qt$(EXEEXT) $(LIBBITCOINQT)
|
2014-05-28 19:38:41 +02:00
|
|
|
|
2015-04-03 00:51:08 +02:00
|
|
|
dash_qt : qt/dash-qt$(EXEEXT)
|
2014-06-04 23:13:03 +02:00
|
|
|
|
|
|
|
ui_%.h: %.ui
|
2014-06-05 20:17:50 +02:00
|
|
|
@test -f $(UIC)
|
|
|
|
@$(MKDIR_P) $(@D)
|
|
|
|
$(AM_V_GEN) QT_SELECT=$(QT_SELECT) $(UIC) -o $@ $< || (echo "Error creating $@"; false)
|
2014-06-04 23:13:03 +02:00
|
|
|
|
|
|
|
%.moc: %.cpp
|
2016-04-22 09:21:09 +02:00
|
|
|
$(AM_V_GEN) QT_SELECT=$(QT_SELECT) $(MOC) $(DEFAULT_INCLUDES) $(QT_INCLUDES) $(MOC_DEFS) $< | \
|
2014-06-05 20:17:50 +02:00
|
|
|
$(SED) -e '/^\*\*.*Created:/d' -e '/^\*\*.*by:/d' > $@
|
2014-06-04 23:13:03 +02:00
|
|
|
|
|
|
|
moc_%.cpp: %.h
|
2016-04-22 09:21:09 +02:00
|
|
|
$(AM_V_GEN) QT_SELECT=$(QT_SELECT) $(MOC) $(DEFAULT_INCLUDES) $(QT_INCLUDES) $(MOC_DEFS) $< | \
|
2014-06-05 20:17:50 +02:00
|
|
|
$(SED) -e '/^\*\*.*Created:/d' -e '/^\*\*.*by:/d' > $@
|
2014-06-04 23:13:03 +02:00
|
|
|
|
|
|
|
%.qm: %.ts
|
2014-06-05 20:17:50 +02:00
|
|
|
@test -f $(LRELEASE)
|
|
|
|
@$(MKDIR_P) $(@D)
|
|
|
|
$(AM_V_GEN) QT_SELECT=$(QT_SELECT) $(LRELEASE) -silent $< -qm $@
|