2014-07-07 19:08:30 +02:00
|
|
|
TEMPLATE = app
|
|
|
|
|
|
|
|
QT += qml quick widgets
|
|
|
|
|
2016-05-17 15:03:59 +02:00
|
|
|
WALLET_ROOT=$$PWD/bitmonero
|
|
|
|
|
2016-03-08 10:08:24 +01:00
|
|
|
CONFIG += c++11
|
2016-02-23 16:59:26 +01:00
|
|
|
|
2016-06-03 16:30:19 +02:00
|
|
|
INCLUDEPATH += $$WALLET_ROOT/include \
|
|
|
|
$$PWD/src/libwalletqt
|
2016-05-17 15:03:59 +02:00
|
|
|
|
|
|
|
|
2016-01-25 19:36:33 +01:00
|
|
|
HEADERS += \
|
|
|
|
filter.h \
|
2016-02-03 16:37:10 +01:00
|
|
|
clipboardAdapter.h \
|
2016-02-23 16:59:26 +01:00
|
|
|
oscursor.h \
|
2016-06-03 16:30:19 +02:00
|
|
|
src/libwalletqt/WalletManager.h \
|
2016-06-08 12:53:24 +02:00
|
|
|
src/libwalletqt/Wallet.h \
|
|
|
|
src/libwalletqt/PendingTransaction.h \
|
|
|
|
src/libwalletqt/TransactionHistory.h \
|
2016-06-10 15:41:13 +02:00
|
|
|
src/libwalletqt/TransactionInfo.h \
|
|
|
|
oshelper.h
|
2016-01-25 19:36:33 +01:00
|
|
|
|
|
|
|
|
2014-07-07 19:08:30 +02:00
|
|
|
SOURCES += main.cpp \
|
2014-07-16 14:40:09 +02:00
|
|
|
filter.cpp \
|
2016-02-03 16:37:10 +01:00
|
|
|
clipboardAdapter.cpp \
|
2016-02-23 16:59:26 +01:00
|
|
|
oscursor.cpp \
|
2016-06-03 16:30:19 +02:00
|
|
|
src/libwalletqt/WalletManager.cpp \
|
2016-06-08 12:53:24 +02:00
|
|
|
src/libwalletqt/Wallet.cpp \
|
|
|
|
src/libwalletqt/PendingTransaction.cpp \
|
|
|
|
src/libwalletqt/TransactionHistory.cpp \
|
2016-06-10 15:41:13 +02:00
|
|
|
src/libwalletqt/TransactionInfo.cpp \
|
|
|
|
oshelper.cpp
|
2014-07-07 19:08:30 +02:00
|
|
|
|
2016-01-29 20:01:52 +01:00
|
|
|
lupdate_only {
|
|
|
|
SOURCES = *.qml \
|
|
|
|
components/*.qml \
|
|
|
|
pages/*.qml \
|
|
|
|
wizard/*.qml
|
|
|
|
}
|
|
|
|
|
2016-05-27 10:00:26 +02:00
|
|
|
LIBS += -L$$WALLET_ROOT/lib \
|
|
|
|
-lwallet_merged \
|
2016-07-04 17:17:26 +02:00
|
|
|
-lwallet_merged2
|
|
|
|
|
|
|
|
win32 {
|
|
|
|
#QMAKE_LFLAGS += -static
|
|
|
|
LIBS+= \
|
|
|
|
-Wl,-Bstatic \
|
|
|
|
-lboost_serialization-mt \
|
|
|
|
-lboost_thread-mt \
|
|
|
|
-lboost_system-mt \
|
|
|
|
-lboost_date_time-mt \
|
|
|
|
-lboost_filesystem-mt \
|
|
|
|
-lboost_regex-mt \
|
|
|
|
-lboost_chrono-mt \
|
|
|
|
-lboost_program_options-mt \
|
|
|
|
-lssl \
|
|
|
|
-lcrypto \
|
|
|
|
-Wl,-Bdynamic \
|
|
|
|
-lws2_32 \
|
|
|
|
-lwsock32 \
|
|
|
|
-lIphlpapi \
|
|
|
|
-lgdi32
|
|
|
|
}
|
|
|
|
|
|
|
|
unix {
|
|
|
|
LIBS+= \
|
2016-07-13 09:30:12 +02:00
|
|
|
-Wl,-Bstatic \
|
2016-05-27 10:00:26 +02:00
|
|
|
-lboost_serialization \
|
|
|
|
-lboost_thread \
|
|
|
|
-lboost_system \
|
|
|
|
-lboost_date_time \
|
|
|
|
-lboost_filesystem \
|
2016-07-04 17:17:26 +02:00
|
|
|
-lboost_regex \
|
|
|
|
-lboost_chrono \
|
2016-07-13 09:30:12 +02:00
|
|
|
-lboost_program_options \
|
|
|
|
-lssl \
|
|
|
|
-lcrypto \
|
|
|
|
-Wl,-Bdynamic \
|
|
|
|
-ldl
|
2016-07-04 17:17:26 +02:00
|
|
|
}
|
2016-05-27 10:00:26 +02:00
|
|
|
|
|
|
|
|
2016-05-17 15:03:59 +02:00
|
|
|
|
2016-01-29 20:01:52 +01:00
|
|
|
# translations files;
|
|
|
|
TRANSLATIONS = monero-core_en.ts \ # English (could be untranslated)
|
|
|
|
monero-core_de.ts # Deutsch
|
|
|
|
|
|
|
|
|
|
|
|
# extra make targets for lupdate and lrelease invocation
|
2016-02-06 13:58:55 +01:00
|
|
|
# use "make lupdate" to update *.ts files and "make lrelease" to generate *.qm files
|
2016-01-29 20:01:52 +01:00
|
|
|
lupdate.commands = lupdate $$_PRO_FILE_
|
2016-02-06 13:49:31 +01:00
|
|
|
lupdate.depends = $$SOURCES $$HEADERS
|
2016-01-29 20:01:52 +01:00
|
|
|
lrelease.commands = lrelease $$_PRO_FILE_
|
|
|
|
lrelease.depends = lupdate
|
|
|
|
translate.commands = $(COPY) *.qm ${DESTDIR}
|
|
|
|
translate.depends = lrelease
|
|
|
|
|
|
|
|
QMAKE_EXTRA_TARGETS += lupdate lrelease
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-01-25 19:36:33 +01:00
|
|
|
CONFIG(release, debug|release) {
|
|
|
|
DESTDIR=release
|
|
|
|
}
|
|
|
|
|
|
|
|
CONFIG(debug, debug|release) {
|
|
|
|
DESTDIR=debug
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2014-07-07 19:08:30 +02:00
|
|
|
RESOURCES += qml.qrc
|
|
|
|
|
|
|
|
# Additional import path used to resolve QML modules in Qt Creator's code model
|
|
|
|
QML_IMPORT_PATH =
|
|
|
|
|
|
|
|
# Default rules for deployment.
|
|
|
|
include(deployment.pri)
|
|
|
|
|
2016-02-06 17:19:54 +01:00
|
|
|
|
2016-02-06 13:58:55 +01:00
|
|
|
|
|
|
|
|
|
|
|
OTHER_FILES += \
|
2016-02-06 13:49:31 +01:00
|
|
|
.gitignore \
|
2016-02-06 13:58:55 +01:00
|
|
|
monero-core_de.ts \
|
|
|
|
monero-core_en.ts
|
|
|
|
|
2016-02-23 16:59:26 +01:00
|
|
|
DISTFILES += \
|
|
|
|
notes.txt
|