-
Notifications
You must be signed in to change notification settings - Fork 3
/
TongsuoToolbox_v01.pro
72 lines (58 loc) · 1.65 KB
/
TongsuoToolbox_v01.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
QT += core gui
QT += network
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
CONFIG += c++17
# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
SOURCES += \
home.cpp \
main.cpp \
mainwindow.cpp \
randnum.cpp \
sm2cert.cpp \
sm2encrypt.cpp \
sm2key.cpp \
sm2signverify.cpp \
sm3hash.cpp \
sm4encrypt.cpp \
tlcpclient.cpp \
tserror.cpp
HEADERS += \
home.h \
mainwindow.h \
randnum.h \
sm2cert.h \
sm2encrypt.h \
sm2key.h \
sm2signverify.h \
sm3hash.h \
sm4encrypt.h \
tlcpclient.h \
tserror.h
# Default rules for deployment.
target.path = $$(PREFIX)
!isEmpty(target.path): INSTALLS += target
win32: LIBS += -ladvapi32 -lcrypt32 -lgdi32 -luser32 -lws2_32 -L$$(TONGSUO_HOME)/lib -llibcrypto
else:unix: LIBS += -L$$(TONGSUO_HOME)/lib64 -lcrypto
win32: LIBS += -ladvapi32 -lcrypt32 -lgdi32 -luser32 -lws2_32 -L$$(TONGSUO_HOME)/lib -llibssl
else:unix: LIBS += -L$$(TONGSUO_HOME)/lib64 -lssl
INCLUDEPATH += $$(TONGSUO_HOME)/include
DEPENDPATH += $$(TONGSUO_HOME)/include
win32-g++: PRE_TARGETDEPS += $$(TONGSUO_HOME)/lib/libcrypto.lib.a
else:win32:!win32-g++: PRE_TARGETDEPS += $$(TONGSUO_HOME)/lib/libcrypto.lib
else:unix: PRE_TARGETDEPS += $$(TONGSUO_HOME)/lib64/libcrypto.a
FORMS += \
home.ui \
randnum.ui \
sm2cert.ui \
sm2encrypt.ui \
sm2key.ui \
sm2signverify.ui \
sm3hash.ui \
sm4encrypt.ui \
tlcpclient.ui
RESOURCES += \
certs.qrc \
images.qrc
DISTFILES +=