forked from huxingwu1/CTPTrader
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CTPTrader01.pro
141 lines (123 loc) · 3.5 KB
/
CTPTrader01.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
#-------------------------------------------------
#
# Project created by QtCreator 2019-01-05T21:46:12
#
#-------------------------------------------------
QT += core gui
QT += network
QT += sql
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = CTPTrader01
TEMPLATE = app
# The following define makes your compiler emit warnings if you use
# any feature of Qt which as 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
# You can also make your code fail to compile if you use deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
SOURCES += main.cpp\
mainwindow.cpp \
ui/baseview.cpp \
ui/accountinfo.cpp \
ui/hangqinginfo.cpp \
ui/weituoinfo.cpp \
ui/chicanginfo.cpp \
ui/tradelog.cpp \
ui/tradeboardinfo.cpp \
eventengine.cpp \
dataengine.cpp \
ctpmdapi.cpp \
login.cpp \
ctptdapi.cpp \
ui/historytradeinfo.cpp \
mainengine.cpp \
ctaengine.cpp \
techindicator.cpp \
ctastrategybase.cpp \
strategyatrrsi.cpp \
myemail.cpp \
searchinstrument.cpp \
ui/instrumentinfo.cpp \
smtp.cpp \
mydatabase.cpp \
ui/strategymonitor.cpp \
login_otheraccount.cpp \
datafromlocal.cpp
HEADERS += mainwindow.h \
ui/baseview.h \
ui/accountinfo.h \
ui/hangqinginfo.h \
ui/weituoinfo.h \
ui/chicanginfo.h \
ui/tradelog.h \
ui/tradeboardinfo.h \
eventbase.h \
callback.h \
cppqueue.h \
eventengine.h \
publicstruct.h \
positionbuffer.h \
ctpApi/ThostFtdcMdApi.h \
ctpApi/ThostFtdcTraderApi.h \
ctpApi/ThostFtdcUserApiDataType.h \
ctpApi/ThostFtdcUserApiStruct.h \
dataengine.h \
ctpmdapi.h \
login.h \
ctptdapi.h \
ctpcommand.h \
ui/historytradeinfo.h \
mainengine.h \
ctaengine.h \
ctabase.h \
techindicator.h \
talib/include/ta_abstract.h \
talib/include/ta_common.h \
talib/include/ta_defs.h \
talib/include/ta_func.h \
talib/include/ta_libc.h \
ctastrategybase.h \
strategyatrrsi.h \
myemail.h \
searchinstrument.h \
ui/instrumentinfo.h \
smtp.h \
mydatabase.h \
ui/strategymonitor.h \
login_otheraccount.h \
datafromlocal.h
FORMS += mainwindow.ui \
login.ui \
myemail.ui \
searchinstrument.ui \
login_otheraccount.ui \
datafromlocal.ui
RESOURCES += \
res.qrc
DISTFILES += \
ctpApi/thostmduserapi.lib \
ctpApi/thosttraderapi.lib \
ctpApi/thostmduserapi.dll \
ctpApi/thosttraderapi.dll \
ctpApi/error.xml \
ctpApi/error.dtd \
ctpApi/md5.txt \
icon/stylesheet.qss \
talib/lib/ta_abstract_cdr.lib \
talib/lib/ta_common_cdr.lib \
talib/lib/ta_func_cdr.lib \
talib/lib/ta_libc_cdr.lib
win32: LIBS += -L$$PWD/ctpApi/ -lthostmduserapi
INCLUDEPATH += $$PWD/ctpApi
DEPENDPATH += $$PWD/ctpApi
win32: LIBS += -L$$PWD/ctpApi/ -lthosttraderapi
INCLUDEPATH += $$PWD/ctpApi
DEPENDPATH += $$PWD/ctpApi
win32: LIBS += -L$$PWD/talib/lib/ -lta_libc_cdr
INCLUDEPATH += $$PWD/talib/include
DEPENDPATH += $$PWD/talib/include
win32:!win32-g++: PRE_TARGETDEPS += $$PWD/talib/lib/ta_libc_cdr.lib
else:win32-g++: PRE_TARGETDEPS += $$PWD/talib/lib/libta_libc_cdr.a