forked from RussianMiningCoin/RMCWallet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
StoxumWallet.pro
160 lines (136 loc) · 5 KB
/
StoxumWallet.pro
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
#-------------------------------------------------
#
# Project created by QtCreator 2018-02-19T17:26:33
#
#-------------------------------------------------
QT += core gui websockets
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = StoxumWallet
TEMPLATE = app
# The following define makes your compiler emit warnings if you use
# any feature of Qt which has been marked as deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS
CONFIG += strict_c++
CONFIG -= c++11
CONFIG += c++14
#QMAKE_CXXFLAGS = -std=c++14
BOOST_INCLUDE_PATH=../boost_1_66_0/include
BOOST_LIB_PATH=../boost_1_66_0/lib
BOOST_SUFFIX=
OPENSSL_INCLUDE_PATH=
OPENSSL_LIB_PATH=
unix {
macx {
# Use Homebrew packages for Mac OS X builds
BOOST_INCLUDE_PATH += /usr/local/Cellar/boost/1.66.0/include
BOOST_LIB_PATH = /usr/local/Cellar/boost/1.66.0/lib
BOOST_SUFFIX=-mt
OPENSSL_INCLUDE_PATH += /usr/local/Cellar/openssl/1.0.2o_1/include
OPENSSL_LIB_PATH = /usr/local/Cellar/openssl/1.0.2o_1/lib
}
INCLUDEPATH += ../stoxum-libpp/extras/stoxumd/src
INCLUDEPATH += $$BOOST_INCLUDE_PATH $$OPENSSL_INCLUDE_PATH
LIBS += -L../stoxum-libpp/build/src/unity -lstoxumlibpp
LIBS += $$join(OPENSSL_LIB_PATH,,-L,) -lssl -lcrypto
LIBS += $$join(BOOST_LIB_PATH,,-L,) \
\
-lboost_chrono$$BOOST_SUFFIX \
-lboost_coroutine$$BOOST_SUFFIX \
-lboost_context$$BOOST_SUFFIX \
-lboost_date_time$$BOOST_SUFFIX \
-lboost_filesystem$$BOOST_SUFFIX \
-lboost_program_options$$BOOST_SUFFIX \
-lboost_regex$$BOOST_SUFFIX \
-lboost_system$$BOOST_SUFFIX \
-lboost_thread$$BOOST_SUFFIX \
-lboost_serialization$$BOOST_SUFFIX
linux {
# Linuxism
LIBS += -lrt -ldl
}
}
win32 {
contains(QT_ARCH, i386) {
INCLUDEPATH += C:\MyProjects32\deps\stoxumlibpp-static\include
INCLUDEPATH += C:\MyProjects32\deps\openssl-static\include
INCLUDEPATH += C:\MyProjects32\deps\boost-static\include
LIBS += -LC:\MyProjects32\deps\stoxumlibpp-static\lib -lstoxumlibpp
LIBS += -LC:\MyProjects32\deps\openssl-static\lib -llibeay32 -lssleay32 -llegacy_stdio_definitions -ladvapi32 -lgdi32
LIBS += -LC:\MyProjects32\deps\boost-static\lib \
\
-llibboost_chrono-vc141-mt-s-x32-1_66 \
-llibboost_coroutine-vc141-mt-s-x32-1_66 \
-llibboost_context-vc141-mt-s-x32-1_66 \
-llibboost_date_time-vc141-mt-s-x32-1_66 \
-llibboost_filesystem-vc141-mt-s-x32-1_66 \
-llibboost_program_options-vc141-mt-s-x32-1_66 \
-llibboost_regex-vc141-mt-s-x32-1_66 \
-llibboost_system-vc141-mt-s-x32-1_66 \
-llibboost_thread-vc141-mt-s-x32-1_66 \
-llibboost_serialization-vc141-mt-s-x32-1_66
} else {
INCLUDEPATH += C:\MyProjects\deps\stoxumlibpp-static\include
INCLUDEPATH += C:\MyProjects\deps\openssl-static\include
INCLUDEPATH += C:\MyProjects\deps\boost-static\include
LIBS += -LC:\MyProjects\deps\stoxumlibpp-static\lib -lstoxumlibpp
LIBS += -LC:\MyProjects\deps\openssl-static\lib -llibeay32 -lssleay32 -llegacy_stdio_definitions -ladvapi32 -lgdi32
LIBS += -LC:\MyProjects\deps\boost-static\lib \
\
-llibboost_chrono-vc141-mt-s-x64-1_66 \
-llibboost_coroutine-vc141-mt-s-x64-1_66 \
-llibboost_context-vc141-mt-s-x64-1_66 \
-llibboost_date_time-vc141-mt-s-x64-1_66 \
-llibboost_filesystem-vc141-mt-s-x64-1_66 \
-llibboost_program_options-vc141-mt-s-x64-1_66 \
-llibboost_regex-vc141-mt-s-x64-1_66 \
-llibboost_system-vc141-mt-s-x64-1_66 \
-llibboost_thread-vc141-mt-s-x64-1_66 \
-llibboost_serialization-vc141-mt-s-x64-1_66
}
}
SOURCES += \
walletmain.cpp \
transactionpreview.cpp \
importdialog.cpp \
enterpassword.cpp \
encryption.cpp \
transactionview.cpp \
aboutdialog.cpp \
txtable.cpp \
switchaccount.cpp \
errors.cpp \
proxysettings.cpp \
iniworker.cpp
HEADERS += watchdog.h \
walletmain.h \
doublevalidator.h \
transactionpreview.h \
msgkind.h \
importdialog.h \
enterpassword.h \
encryption.h \
transactionview.h \
aboutdialog.h \
intvalidator.h \
txtable.h \
switchaccount.h \
errors.h \
secure.h \
format.h \
proxysettings.h \
iniworker.h \
money.h
FORMS += walletmain.ui \
transactionpreview.ui \
importdialog.ui \
enterpassword.ui \
transactionview.ui \
aboutdialog.ui \
switchaccount.ui \
proxysettings.ui
macx:ICON = stoxum.icns
win32:RC_ICONS += stoxum.ico
RESOURCES += \
resources.qrc